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