libjava/ChangeLog:
[official-gcc.git] / libjava / java / nio / LongBuffer.h
blob622f2419c2f069877612fcbb156877aa2b092acf
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_nio_LongBuffer__
5 #define __java_nio_LongBuffer__
7 #pragma interface
9 #include <java/nio/Buffer.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace gnu
16 namespace gcj
18 class RawData;
21 namespace java
23 namespace nio
25 class ByteOrder;
26 class LongBuffer;
31 class java::nio::LongBuffer : public ::java::nio::Buffer
34 public: // actually package-private
35 LongBuffer(jint, jint, jint, jint, ::gnu::gcj::RawData *, JArray< jlong > *, jint);
36 public:
37 static ::java::nio::LongBuffer * allocate(jint);
38 static ::java::nio::LongBuffer * wrap(JArray< jlong > *, jint, jint);
39 static ::java::nio::LongBuffer * wrap(JArray< jlong > *);
40 virtual ::java::nio::LongBuffer * get(JArray< jlong > *, jint, jint);
41 virtual ::java::nio::LongBuffer * get(JArray< jlong > *);
42 virtual ::java::nio::LongBuffer * put(::java::nio::LongBuffer *);
43 virtual ::java::nio::LongBuffer * put(JArray< jlong > *, jint, jint);
44 virtual ::java::nio::LongBuffer * put(JArray< jlong > *);
45 virtual jboolean hasArray();
46 virtual JArray< jlong > * array();
47 virtual jint arrayOffset();
48 virtual jint hashCode();
49 virtual jboolean equals(::java::lang::Object *);
50 virtual jint LongBuffer$compareTo(::java::nio::LongBuffer *);
51 virtual ::java::nio::ByteOrder * order() = 0;
52 virtual jlong get() = 0;
53 virtual ::java::nio::LongBuffer * put(jlong) = 0;
54 virtual jlong get(jint) = 0;
55 virtual ::java::nio::LongBuffer * put(jint, jlong) = 0;
56 virtual ::java::nio::LongBuffer * compact() = 0;
57 virtual jboolean isDirect() = 0;
58 virtual ::java::nio::LongBuffer * slice() = 0;
59 virtual ::java::nio::LongBuffer * duplicate() = 0;
60 virtual ::java::nio::LongBuffer * asReadOnlyBuffer() = 0;
61 virtual jint compareTo(::java::lang::Object *);
62 public: // actually package-private
63 jint __attribute__((aligned(__alignof__( ::java::nio::Buffer)))) array_offset;
64 JArray< jlong > * backing_buffer;
65 public:
66 static ::java::lang::Class class$;
69 #endif // __java_nio_LongBuffer__