1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __java_nio_ByteBuffer__
#define __java_nio_ByteBuffer__
#pragma interface
#include <java/nio/Buffer.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace gcj
{
class RawData;
}
}
namespace java
{
namespace nio
{
class ByteBuffer;
class ByteOrder;
class CharBuffer;
class DoubleBuffer;
class FloatBuffer;
class IntBuffer;
class LongBuffer;
class ShortBuffer;
}
}
}
class java::nio::ByteBuffer : public ::java::nio::Buffer
{
public: // actually package-private
ByteBuffer(jint, jint, jint, jint, ::gnu::gcj::RawData *, JArray< jbyte > *, jint);
public:
static ::java::nio::ByteBuffer * allocateDirect(jint);
static ::java::nio::ByteBuffer * allocate(jint);
static ::java::nio::ByteBuffer * wrap(JArray< jbyte > *, jint, jint);
static ::java::nio::ByteBuffer * wrap(JArray< jbyte > *);
virtual ::java::nio::ByteBuffer * get(JArray< jbyte > *, jint, jint);
virtual ::java::nio::ByteBuffer * get(JArray< jbyte > *);
virtual ::java::nio::ByteBuffer * put(::java::nio::ByteBuffer *);
virtual ::java::nio::ByteBuffer * put(JArray< jbyte > *, jint, jint);
virtual ::java::nio::ByteBuffer * put(JArray< jbyte > *);
virtual jboolean hasArray();
virtual JArray< jbyte > * array();
virtual jint arrayOffset();
virtual jint hashCode();
virtual jboolean equals(::java::lang::Object *);
virtual jint ByteBuffer$compareTo(::java::nio::ByteBuffer *);
virtual ::java::nio::ByteOrder * order();
virtual ::java::nio::ByteBuffer * order(::java::nio::ByteOrder *);
virtual jbyte get() = 0;
virtual ::java::nio::ByteBuffer * put(jbyte) = 0;
virtual jbyte get(jint) = 0;
virtual ::java::nio::ByteBuffer * put(jint, jbyte) = 0;
virtual ::java::nio::ByteBuffer * compact() = 0;
public: // actually package-private
virtual void shiftDown(jint, jint, jint);
public:
virtual jboolean isDirect() = 0;
virtual ::java::nio::ByteBuffer * slice() = 0;
virtual ::java::nio::ByteBuffer * duplicate() = 0;
virtual ::java::nio::ByteBuffer * asReadOnlyBuffer() = 0;
virtual ::java::nio::ShortBuffer * asShortBuffer() = 0;
virtual ::java::nio::CharBuffer * asCharBuffer() = 0;
virtual ::java::nio::IntBuffer * asIntBuffer() = 0;
virtual ::java::nio::LongBuffer * asLongBuffer() = 0;
virtual ::java::nio::FloatBuffer * asFloatBuffer() = 0;
virtual ::java::nio::DoubleBuffer * asDoubleBuffer() = 0;
virtual jchar getChar() = 0;
virtual ::java::nio::ByteBuffer * putChar(jchar) = 0;
virtual jchar getChar(jint) = 0;
virtual ::java::nio::ByteBuffer * putChar(jint, jchar) = 0;
virtual jshort getShort() = 0;
virtual ::java::nio::ByteBuffer * putShort(jshort) = 0;
virtual jshort getShort(jint) = 0;
virtual ::java::nio::ByteBuffer * putShort(jint, jshort) = 0;
virtual jint getInt() = 0;
virtual ::java::nio::ByteBuffer * putInt(jint) = 0;
virtual jint getInt(jint) = 0;
virtual ::java::nio::ByteBuffer * putInt(jint, jint) = 0;
virtual jlong getLong() = 0;
virtual ::java::nio::ByteBuffer * putLong(jlong) = 0;
virtual jlong getLong(jint) = 0;
virtual ::java::nio::ByteBuffer * putLong(jint, jlong) = 0;
virtual jfloat getFloat() = 0;
virtual ::java::nio::ByteBuffer * putFloat(jfloat) = 0;
virtual jfloat getFloat(jint) = 0;
virtual ::java::nio::ByteBuffer * putFloat(jint, jfloat) = 0;
virtual jdouble getDouble() = 0;
virtual ::java::nio::ByteBuffer * putDouble(jdouble) = 0;
virtual jdouble getDouble(jint) = 0;
virtual ::java::nio::ByteBuffer * putDouble(jint, jdouble) = 0;
virtual ::java::lang::String * toString();
virtual jint compareTo(::java::lang::Object *);
public: // actually package-private
::java::nio::ByteOrder * __attribute__((aligned(__alignof__( ::java::nio::Buffer)))) endian;
JArray< jbyte > * backing_buffer;
jint array_offset;
public:
static ::java::lang::Class class$;
};
#endif // __java_nio_ByteBuffer__
|