1 2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- 3 4 #ifndef __java_nio_LongViewBufferImpl__ 5 #define __java_nio_LongViewBufferImpl__ 6 7 #pragma interface 8 9 #include <java/nio/LongBuffer.h> 10 extern "Java" 11 { 12 namespace java 13 { 14 namespace nio 15 { 16 class ByteBuffer; 17 class ByteOrder; 18 class LongBuffer; 19 class LongViewBufferImpl; 20 } 21 } 22 } 23 24 class java::nio::LongViewBufferImpl : public ::java::nio::LongBuffer 25 { 26 27 public: // actually package-private 28 LongViewBufferImpl(::java::nio::ByteBuffer *, jint); 29 public: 30 LongViewBufferImpl(::java::nio::ByteBuffer *, jint, jint, jint, jint, jint, jboolean, ::java::nio::ByteOrder *); 31 jlong get(); 32 jlong get(jint); 33 ::java::nio::LongBuffer * put(jlong); 34 ::java::nio::LongBuffer * put(jint, jlong); 35 ::java::nio::LongBuffer * compact(); 36 ::java::nio::LongBuffer * slice(); 37 public: // actually package-private 38 ::java::nio::LongBuffer * duplicate(jboolean); 39 public: 40 ::java::nio::LongBuffer * duplicate(); 41 ::java::nio::LongBuffer * asReadOnlyBuffer(); 42 jboolean isReadOnly(); 43 jboolean isDirect(); 44 ::java::nio::ByteOrder * order(); 45 private: 46 jint __attribute__((aligned(__alignof__( ::java::nio::LongBuffer)))) offset; 47 ::java::nio::ByteBuffer * bb; 48 jboolean readOnly; 49 ::java::nio::ByteOrder * endian; 50 public: 51 static ::java::lang::Class class$; 52 }; 53 54 #endif // __java_nio_LongViewBufferImpl__ 55