1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_nio_CharBuffer__
|
5 |
|
|
#define __java_nio_CharBuffer__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/nio/Buffer.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace gnu
|
15 |
|
|
{
|
16 |
|
|
namespace gcj
|
17 |
|
|
{
|
18 |
|
|
class RawData;
|
19 |
|
|
}
|
20 |
|
|
}
|
21 |
|
|
namespace java
|
22 |
|
|
{
|
23 |
|
|
namespace nio
|
24 |
|
|
{
|
25 |
|
|
class ByteOrder;
|
26 |
|
|
class CharBuffer;
|
27 |
|
|
}
|
28 |
|
|
}
|
29 |
|
|
}
|
30 |
|
|
|
31 |
|
|
class java::nio::CharBuffer : public ::java::nio::Buffer
|
32 |
|
|
{
|
33 |
|
|
|
34 |
|
|
public: // actually package-private
|
35 |
|
|
CharBuffer(jint, jint, jint, jint, ::gnu::gcj::RawData *, JArray< jchar > *, jint);
|
36 |
|
|
public:
|
37 |
|
|
static ::java::nio::CharBuffer * allocate(jint);
|
38 |
|
|
static ::java::nio::CharBuffer * wrap(JArray< jchar > *, jint, jint);
|
39 |
|
|
static ::java::nio::CharBuffer * wrap(::java::lang::CharSequence *);
|
40 |
|
|
static ::java::nio::CharBuffer * wrap(::java::lang::CharSequence *, jint, jint);
|
41 |
|
|
static ::java::nio::CharBuffer * wrap(JArray< jchar > *);
|
42 |
|
|
virtual ::java::nio::CharBuffer * get(JArray< jchar > *, jint, jint);
|
43 |
|
|
virtual jint read(::java::nio::CharBuffer *);
|
44 |
|
|
virtual ::java::nio::CharBuffer * get(JArray< jchar > *);
|
45 |
|
|
virtual ::java::nio::CharBuffer * put(::java::nio::CharBuffer *);
|
46 |
|
|
virtual ::java::nio::CharBuffer * put(JArray< jchar > *, jint, jint);
|
47 |
|
|
virtual ::java::nio::CharBuffer * put(JArray< jchar > *);
|
48 |
|
|
virtual jboolean hasArray();
|
49 |
|
|
virtual JArray< jchar > * array();
|
50 |
|
|
virtual jint arrayOffset();
|
51 |
|
|
virtual jint hashCode();
|
52 |
|
|
virtual jboolean equals(::java::lang::Object *);
|
53 |
|
|
virtual jint CharBuffer$compareTo(::java::nio::CharBuffer *);
|
54 |
|
|
virtual ::java::nio::ByteOrder * order() = 0;
|
55 |
|
|
virtual jchar get() = 0;
|
56 |
|
|
virtual ::java::nio::CharBuffer * put(jchar) = 0;
|
57 |
|
|
virtual jchar get(jint) = 0;
|
58 |
|
|
virtual ::java::nio::CharBuffer * put(jint, jchar) = 0;
|
59 |
|
|
virtual ::java::nio::CharBuffer * compact() = 0;
|
60 |
|
|
virtual jboolean isDirect() = 0;
|
61 |
|
|
virtual ::java::nio::CharBuffer * slice() = 0;
|
62 |
|
|
virtual ::java::nio::CharBuffer * duplicate() = 0;
|
63 |
|
|
virtual ::java::nio::CharBuffer * asReadOnlyBuffer() = 0;
|
64 |
|
|
virtual ::java::lang::String * toString();
|
65 |
|
|
virtual jint length();
|
66 |
|
|
virtual ::java::lang::CharSequence * subSequence(jint, jint) = 0;
|
67 |
|
|
virtual ::java::nio::CharBuffer * put(::java::lang::String *, jint, jint);
|
68 |
|
|
virtual ::java::nio::CharBuffer * put(::java::lang::String *);
|
69 |
|
|
virtual jchar charAt(jint);
|
70 |
|
|
virtual ::java::nio::CharBuffer * CharBuffer$append(jchar);
|
71 |
|
|
virtual ::java::nio::CharBuffer * CharBuffer$append(::java::lang::CharSequence *);
|
72 |
|
|
virtual ::java::nio::CharBuffer * CharBuffer$append(::java::lang::CharSequence *, jint, jint);
|
73 |
|
|
virtual ::java::lang::Appendable * append(::java::lang::CharSequence *, jint, jint);
|
74 |
|
|
virtual ::java::lang::Appendable * append(::java::lang::CharSequence *);
|
75 |
|
|
virtual ::java::lang::Appendable * append(jchar);
|
76 |
|
|
virtual jint compareTo(::java::lang::Object *);
|
77 |
|
|
public: // actually package-private
|
78 |
|
|
jint __attribute__((aligned(__alignof__( ::java::nio::Buffer)))) array_offset;
|
79 |
|
|
JArray< jchar > * backing_buffer;
|
80 |
|
|
public:
|
81 |
|
|
static ::java::lang::Class class$;
|
82 |
|
|
};
|
83 |
|
|
|
84 |
|
|
#endif // __java_nio_CharBuffer__
|