KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jrobin > core > jrrd > Constants


1 /*
2  * Copyright (C) 2001 Ciaran Treanor <ciaran@codeloop.com>
3  *
4  * Distributable under GPL license.
5  * See terms of license at gnu.org.
6  *
7  * $Id: Constants.java,v 1.1 2004/07/22 09:34:10 saxon64 Exp $
8  */

9 package org.jrobin.core.jrrd;
10
11 interface Constants {
12
13     int DS_NAM_SIZE = 20;
14     int DST_SIZE = 20;
15     int CF_NAM_SIZE = 20;
16     int LAST_DS_LEN = 30;
17     static String JavaDoc COOKIE = "RRD";
18     static String JavaDoc VERSION = "0001";
19     double FLOAT_COOKIE = 8.642135E130;
20     static byte[] FLOAT_COOKIE_BIG_ENDIAN = {0x5B, 0x1F, 0x2B, 0x43,
21                                              (byte) 0xC7, (byte) 0xC0, 0x25,
22                                              0x2F};
23     static byte[] FLOAT_COOKIE_LITTLE_ENDIAN = {0x2F, 0x25, (byte) 0xC0,
24                                                 (byte) 0xC7, 0x43, 0x2B, 0x1F,
25                                                 0x5B};
26 }
27
Popular Tags