1 |
/* Copyright (C) 2000, 2002 Free Software Foundation |
/* Copyright (C) 2000, 2002, 2005 Free Software Foundation |
2 |
|
|
3 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
4 |
|
|
46 |
public abstract class DataBuffer |
public abstract class DataBuffer |
47 |
{ |
{ |
48 |
/** |
/** |
49 |
* A constant representng a data type that uses <code>byte</code> primitives |
* A constant representing a data type that uses <code>byte</code> primitives |
50 |
* as the storage unit. |
* as the storage unit. |
51 |
*/ |
*/ |
52 |
public static final int TYPE_BYTE = 0; |
public static final int TYPE_BYTE = 0; |
53 |
|
|
54 |
/** |
/** |
55 |
* A constant representng a data type that uses <code>short</code> |
* A constant representing a data type that uses <code>short</code> |
56 |
* primitives as the storage unit. |
* primitives as the storage unit. |
57 |
*/ |
*/ |
58 |
public static final int TYPE_USHORT = 1; |
public static final int TYPE_USHORT = 1; |
59 |
|
|
60 |
/** |
/** |
61 |
* A constant representng a data type that uses <code>short</code> |
* A constant representing a data type that uses <code>short</code> |
62 |
* primitives as the storage unit. |
* primitives as the storage unit. |
63 |
*/ |
*/ |
64 |
public static final int TYPE_SHORT = 2; |
public static final int TYPE_SHORT = 2; |
65 |
|
|
66 |
/** |
/** |
67 |
* A constant representng a data type that uses <code>int</code> |
* A constant representing a data type that uses <code>int</code> |
68 |
* primitives as the storage unit. |
* primitives as the storage unit. |
69 |
*/ |
*/ |
70 |
public static final int TYPE_INT = 3; |
public static final int TYPE_INT = 3; |
71 |
|
|
72 |
/** |
/** |
73 |
* A constant representng a data type that uses <code>float</code> |
* A constant representing a data type that uses <code>float</code> |
74 |
* primitives as the storage unit. |
* primitives as the storage unit. |
75 |
*/ |
*/ |
76 |
public static final int TYPE_FLOAT = 4; |
public static final int TYPE_FLOAT = 4; |
77 |
|
|
78 |
/** |
/** |
79 |
* A constant representng a data type that uses <code>double</code> |
* A constant representing a data type that uses <code>double</code> |
80 |
* primitives as the storage unit. |
* primitives as the storage unit. |
81 |
*/ |
*/ |
82 |
public static final int TYPE_DOUBLE = 5; |
public static final int TYPE_DOUBLE = 5; |
83 |
|
|
84 |
/** |
/** |
85 |
* A constant representng an undefined data type. |
* A constant representing an undefined data type. |
86 |
*/ |
*/ |
87 |
public static final int TYPE_UNDEFINED = 32; |
public static final int TYPE_UNDEFINED = 32; |
88 |
|
|