Daily bump.
[official-gcc.git] / libjava / java / nio / ShortViewBufferImpl.h
blob179cc32c564f5503263c897cbe18ca4a3a404af1
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_nio_ShortViewBufferImpl__
5 #define __java_nio_ShortViewBufferImpl__
7 #pragma interface
9 #include <java/nio/ShortBuffer.h>
10 extern "Java"
12 namespace java
14 namespace nio
16 class ByteBuffer;
17 class ByteOrder;
18 class ShortBuffer;
19 class ShortViewBufferImpl;
24 class java::nio::ShortViewBufferImpl : public ::java::nio::ShortBuffer
27 public: // actually package-private
28 ShortViewBufferImpl(::java::nio::ByteBuffer *, jint);
29 public:
30 ShortViewBufferImpl(::java::nio::ByteBuffer *, jint, jint, jint, jint, jint, jboolean, ::java::nio::ByteOrder *);
31 jshort get();
32 jshort get(jint);
33 ::java::nio::ShortBuffer * put(jshort);
34 ::java::nio::ShortBuffer * put(jint, jshort);
35 ::java::nio::ShortBuffer * compact();
36 ::java::nio::ShortBuffer * slice();
37 public: // actually package-private
38 ::java::nio::ShortBuffer * duplicate(jboolean);
39 public:
40 ::java::nio::ShortBuffer * duplicate();
41 ::java::nio::ShortBuffer * asReadOnlyBuffer();
42 jboolean isReadOnly();
43 jboolean isDirect();
44 ::java::nio::ByteOrder * order();
45 private:
46 jint __attribute__((aligned(__alignof__( ::java::nio::ShortBuffer)))) offset;
47 ::java::nio::ByteBuffer * bb;
48 jboolean readOnly;
49 ::java::nio::ByteOrder * endian;
50 public:
51 static ::java::lang::Class class$;
54 #endif // __java_nio_ShortViewBufferImpl__