2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_lang_StringBuffer__
5 #define __java_lang_StringBuffer__
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
13 class java::lang::StringBuffer
: public ::java::lang::Object
19 StringBuffer(::java::lang::String
*);
20 StringBuffer(::java::lang::CharSequence
*);
23 void ensureCapacity(jint
);
26 jint
codePointAt(jint
);
27 jint
codePointBefore(jint
);
28 void getChars(jint
, jint
, JArray
< jchar
> *, jint
);
29 void setCharAt(jint
, jchar
);
30 ::java::lang::StringBuffer
* append(::java::lang::Object
*);
31 ::java::lang::StringBuffer
* append(::java::lang::String
*);
32 ::java::lang::StringBuffer
* append(::java::lang::StringBuffer
*);
33 ::java::lang::StringBuffer
* append(::java::lang::CharSequence
*);
34 ::java::lang::StringBuffer
* append(::java::lang::CharSequence
*, jint
, jint
);
35 ::java::lang::StringBuffer
* append(JArray
< jchar
> *);
36 ::java::lang::StringBuffer
* append(JArray
< jchar
> *, jint
, jint
);
37 ::java::lang::StringBuffer
* append(jboolean
);
38 ::java::lang::StringBuffer
* append(jchar
);
39 ::java::lang::StringBuffer
* appendCodePoint(jint
);
40 ::java::lang::StringBuffer
* append(jint
);
41 ::java::lang::StringBuffer
* append(jlong
);
42 ::java::lang::StringBuffer
* append(jfloat
);
43 ::java::lang::StringBuffer
* append(jdouble
);
44 ::java::lang::StringBuffer
* delete$
(jint
, jint
);
45 ::java::lang::StringBuffer
* deleteCharAt(jint
);
46 ::java::lang::StringBuffer
* replace(jint
, jint
, ::java::lang::String
*);
47 ::java::lang::String
* substring(jint
);
48 ::java::lang::CharSequence
* subSequence(jint
, jint
);
49 ::java::lang::String
* substring(jint
, jint
);
50 ::java::lang::StringBuffer
* insert(jint
, JArray
< jchar
> *, jint
, jint
);
51 ::java::lang::StringBuffer
* insert(jint
, ::java::lang::Object
*);
52 ::java::lang::StringBuffer
* insert(jint
, ::java::lang::String
*);
53 ::java::lang::StringBuffer
* insert(jint
, ::java::lang::CharSequence
*);
54 ::java::lang::StringBuffer
* insert(jint
, ::java::lang::CharSequence
*, jint
, jint
);
55 ::java::lang::StringBuffer
* insert(jint
, JArray
< jchar
> *);
56 ::java::lang::StringBuffer
* insert(jint
, jboolean
);
57 ::java::lang::StringBuffer
* insert(jint
, jchar
);
58 ::java::lang::StringBuffer
* insert(jint
, jint
);
59 ::java::lang::StringBuffer
* insert(jint
, jlong
);
60 ::java::lang::StringBuffer
* insert(jint
, jfloat
);
61 ::java::lang::StringBuffer
* insert(jint
, jdouble
);
62 jint
indexOf(::java::lang::String
*);
63 jint
indexOf(::java::lang::String
*, jint
);
64 jint
lastIndexOf(::java::lang::String
*);
65 jint
lastIndexOf(::java::lang::String
*, jint
);
66 ::java::lang::StringBuffer
* reverse();
67 ::java::lang::String
* toString();
69 jint
codePointCount(jint
, jint
);
70 jint
offsetByCodePoints(jint
, jint
);
72 void ensureCapacity_unsynchronized(jint
);
73 jboolean
regionMatches(jint
, ::java::lang::String
*);
74 static const jlong serialVersionUID
= 3388685877147921107LL;
75 public: // actually package-private
76 jint
__attribute__((aligned(__alignof__( ::java::lang::Object
)))) count
;
77 JArray
< jchar
> * value
;
80 static const jint DEFAULT_CAPACITY
= 16;
82 static ::java::lang::Class
class$
;
85 #endif // __java_lang_StringBuffer__