summaryrefslogtreecommitdiff
path: root/libjava/java/nio/ShortBufferImpl.h
blob: a4150a8e9093b9f7bf4128dae73c6a070bdeeef1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_nio_ShortBufferImpl__
#define __java_nio_ShortBufferImpl__

#pragma interface

#include <java/nio/ShortBuffer.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace nio
    {
        class ByteOrder;
        class ShortBuffer;
        class ShortBufferImpl;
    }
  }
}

class java::nio::ShortBufferImpl : public ::java::nio::ShortBuffer
{

public: // actually package-private
  ShortBufferImpl(jint);
  ShortBufferImpl(JArray< jshort > *, jint, jint, jint, jint, jint, jboolean);
public:
  jboolean isReadOnly();
  ::java::nio::ShortBuffer * slice();
  ::java::nio::ShortBuffer * duplicate();
  ::java::nio::ShortBuffer * asReadOnlyBuffer();
  ::java::nio::ShortBuffer * compact();
  jboolean isDirect();
  jshort get();
  ::java::nio::ShortBuffer * put(jshort);
  jshort get(jint);
  ::java::nio::ShortBuffer * put(jint, jshort);
  ::java::nio::ByteOrder * order();
private:
  jboolean __attribute__((aligned(__alignof__( ::java::nio::ShortBuffer)))) readOnly;
public:
  static ::java::lang::Class class$;
};

#endif // __java_nio_ShortBufferImpl__