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