2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_nio_ShortBufferImpl__
5 #define __java_nio_ShortBufferImpl__
9 #include <java/nio/ShortBuffer.h>
10 #include <gcj/array.h>
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
);
32 jboolean
isReadOnly();
33 ::java::nio::ShortBuffer
* slice();
34 ::java::nio::ShortBuffer
* duplicate();
35 ::java::nio::ShortBuffer
* asReadOnlyBuffer();
36 ::java::nio::ShortBuffer
* compact();
39 ::java::nio::ShortBuffer
* put(jshort
);
41 ::java::nio::ShortBuffer
* put(jint
, jshort
);
42 ::java::nio::ByteOrder
* order();
44 jboolean
__attribute__((aligned(__alignof__( ::java::nio::ShortBuffer
)))) readOnly
;
46 static ::java::lang::Class
class$
;
49 #endif // __java_nio_ShortBufferImpl__