summaryrefslogtreecommitdiff
path: root/libjava/java/nio/CharBufferImpl.h
blob: 4cbf50ec305552dc32d603193530709a0d1b9db2 (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
50
51
52
53
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_nio_CharBufferImpl__
#define __java_nio_CharBufferImpl__

#pragma interface

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

extern "Java"
{
  namespace java
  {
    namespace nio
    {
        class ByteOrder;
        class CharBuffer;
        class CharBufferImpl;
    }
  }
}

class java::nio::CharBufferImpl : public ::java::nio::CharBuffer
{

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

#endif // __java_nio_CharBufferImpl__