2013-12-18 Janus Weil <janus@gcc.gnu.org>
[official-gcc.git] / libjava / java / nio / LongBufferImpl.h
blobad28128bd41a894b5f702ec1b5d6cdfc58eea747
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_nio_LongBufferImpl__
5 #define __java_nio_LongBufferImpl__
7 #pragma interface
9 #include <java/nio/LongBuffer.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace java
16 namespace nio
18 class ByteOrder;
19 class LongBuffer;
20 class LongBufferImpl;
25 class java::nio::LongBufferImpl : public ::java::nio::LongBuffer
28 public: // actually package-private
29 LongBufferImpl(jint);
30 LongBufferImpl(JArray< jlong > *, jint, jint, jint, jint, jint, jboolean);
31 public:
32 jboolean isReadOnly();
33 ::java::nio::LongBuffer * slice();
34 ::java::nio::LongBuffer * duplicate();
35 ::java::nio::LongBuffer * asReadOnlyBuffer();
36 ::java::nio::LongBuffer * compact();
37 jboolean isDirect();
38 jlong get();
39 ::java::nio::LongBuffer * put(jlong);
40 jlong get(jint);
41 ::java::nio::LongBuffer * put(jint, jlong);
42 ::java::nio::ByteOrder * order();
43 private:
44 jboolean __attribute__((aligned(__alignof__( ::java::nio::LongBuffer)))) readOnly;
45 public:
46 static ::java::lang::Class class$;
49 #endif // __java_nio_LongBufferImpl__