summaryrefslogtreecommitdiff
path: root/libjava/java/nio/CharBuffer.h
blob: 73b4ba91770331a999cc56f101d2122dfd259d0a (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_nio_CharBuffer__
#define __java_nio_CharBuffer__

#pragma interface

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

extern "Java"
{
  namespace gnu
  {
    namespace gcj
    {
        class RawData;
    }
  }
  namespace java
  {
    namespace nio
    {
        class ByteOrder;
        class CharBuffer;
    }
  }
}

class java::nio::CharBuffer : public ::java::nio::Buffer
{

public: // actually package-private
  CharBuffer(jint, jint, jint, jint, ::gnu::gcj::RawData *, JArray< jchar > *, jint);
public:
  static ::java::nio::CharBuffer * allocate(jint);
  static ::java::nio::CharBuffer * wrap(JArray< jchar > *, jint, jint);
  static ::java::nio::CharBuffer * wrap(::java::lang::CharSequence *);
  static ::java::nio::CharBuffer * wrap(::java::lang::CharSequence *, jint, jint);
  static ::java::nio::CharBuffer * wrap(JArray< jchar > *);
  virtual ::java::nio::CharBuffer * get(JArray< jchar > *, jint, jint);
  virtual jint read(::java::nio::CharBuffer *);
  virtual ::java::nio::CharBuffer * get(JArray< jchar > *);
  virtual ::java::nio::CharBuffer * put(::java::nio::CharBuffer *);
  virtual ::java::nio::CharBuffer * put(JArray< jchar > *, jint, jint);
  virtual ::java::nio::CharBuffer * put(JArray< jchar > *);
  virtual jboolean hasArray();
  virtual JArray< jchar > * array();
  virtual jint arrayOffset();
  virtual jint hashCode();
  virtual jboolean equals(::java::lang::Object *);
  virtual jint CharBuffer$compareTo(::java::nio::CharBuffer *);
  virtual ::java::nio::ByteOrder * order() = 0;
  virtual jchar get() = 0;
  virtual ::java::nio::CharBuffer * put(jchar) = 0;
  virtual jchar get(jint) = 0;
  virtual ::java::nio::CharBuffer * put(jint, jchar) = 0;
  virtual ::java::nio::CharBuffer * compact() = 0;
  virtual jboolean isDirect() = 0;
  virtual ::java::nio::CharBuffer * slice() = 0;
  virtual ::java::nio::CharBuffer * duplicate() = 0;
  virtual ::java::nio::CharBuffer * asReadOnlyBuffer() = 0;
  virtual ::java::lang::String * toString();
  virtual jint length();
  virtual ::java::lang::CharSequence * subSequence(jint, jint) = 0;
  virtual ::java::nio::CharBuffer * put(::java::lang::String *, jint, jint);
  virtual ::java::nio::CharBuffer * put(::java::lang::String *);
  virtual jchar charAt(jint);
  virtual ::java::nio::CharBuffer * CharBuffer$append(jchar);
  virtual ::java::nio::CharBuffer * CharBuffer$append(::java::lang::CharSequence *);
  virtual ::java::nio::CharBuffer * CharBuffer$append(::java::lang::CharSequence *, jint, jint);
  virtual ::java::lang::Appendable * append(::java::lang::CharSequence *, jint, jint);
  virtual ::java::lang::Appendable * append(::java::lang::CharSequence *);
  virtual ::java::lang::Appendable * append(jchar);
  virtual jint compareTo(::java::lang::Object *);
public: // actually package-private
  jint __attribute__((aligned(__alignof__( ::java::nio::Buffer)))) array_offset;
  JArray< jchar > * backing_buffer;
public:
  static ::java::lang::Class class$;
};

#endif // __java_nio_CharBuffer__