OSDN Git Service

2007-03-05 Mark Wielaard <mark@klomp.org>
[pf3gnuchains/gcc-fork.git] / libjava / java / lang / Character.h
1
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
4 #ifndef __java_lang_Character__
5 #define __java_lang_Character__
6
7 #pragma interface
8
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
11
12
13 class java::lang::Character : public ::java::lang::Object
14 {
15
16   static jchar readChar(jchar);
17   static jchar readCodePoint(jint);
18 public:
19   Character(jchar);
20   jchar charValue();
21   jint hashCode();
22   jboolean equals(::java::lang::Object *);
23   ::java::lang::String * toString();
24   static ::java::lang::String * toString(jchar);
25   static jboolean isLowerCase(jchar);
26   static jboolean isLowerCase(jint);
27   static jboolean isUpperCase(jchar);
28   static jboolean isUpperCase(jint);
29   static jboolean isTitleCase(jchar);
30   static jboolean isTitleCase(jint);
31   static jboolean isDigit(jchar);
32   static jboolean isDigit(jint);
33   static jboolean isDefined(jchar);
34   static jboolean isDefined(jint);
35   static jboolean isLetter(jchar);
36   static jboolean isLetter(jint);
37   static jint offsetByCodePoints(::java::lang::CharSequence *, jint, jint);
38   static jint offsetByCodePoints(JArray< jchar > *, jint, jint, jint, jint);
39   static jint codePointCount(::java::lang::CharSequence *, jint, jint);
40   static jint codePointCount(JArray< jchar > *, jint, jint);
41   static jboolean isLetterOrDigit(jchar);
42   static jboolean isLetterOrDigit(jint);
43   static jboolean isJavaLetter(jchar);
44   static jboolean isJavaIdentifierStart(jint);
45   static jboolean isJavaLetterOrDigit(jchar);
46   static jboolean isJavaIdentifierStart(jchar);
47   static jboolean isJavaIdentifierPart(jchar);
48   static jboolean isJavaIdentifierPart(jint);
49   static jboolean isUnicodeIdentifierStart(jchar);
50   static jboolean isUnicodeIdentifierStart(jint);
51   static jboolean isUnicodeIdentifierPart(jchar);
52   static jboolean isUnicodeIdentifierPart(jint);
53   static jboolean isIdentifierIgnorable(jchar);
54   static jboolean isIdentifierIgnorable(jint);
55   static jchar toLowerCase(jchar);
56   static jint toLowerCase(jint);
57   static jchar toUpperCase(jchar);
58   static jint toUpperCase(jint);
59   static jchar toTitleCase(jchar);
60   static jint toTitleCase(jint);
61   static jint digit(jchar, jint);
62   static jint digit(jint, jint);
63   static jint getNumericValue(jchar);
64   static jint getNumericValue(jint);
65   static jboolean isSpace(jchar);
66   static jboolean isSpaceChar(jchar);
67   static jboolean isSpaceChar(jint);
68   static jboolean isWhitespace(jchar);
69   static jboolean isWhitespace(jint);
70   static jboolean isISOControl(jchar);
71   static jboolean isISOControl(jint);
72   static jint getType(jchar);
73   static jint getType(jint);
74   static jchar forDigit(jint, jint);
75   static jbyte getDirectionality(jchar);
76   static jbyte getDirectionality(jint);
77   static jboolean isMirrored(jchar);
78   static jboolean isMirrored(jint);
79   jint target$compareTo(::java::lang::Character *);
80   static ::java::lang::Character * valueOf(jchar);
81   static jchar reverseBytes(jchar);
82   static JArray< jchar > * toChars(jint);
83   static jint toChars(jint, JArray< jchar > *, jint);
84   static jint charCount(jint);
85   static jboolean isSupplementaryCodePoint(jint);
86   static jboolean isValidCodePoint(jint);
87   static jboolean isHighSurrogate(jchar);
88   static jboolean isLowSurrogate(jchar);
89   static jboolean isSurrogatePair(jchar, jchar);
90   static jint toCodePoint(jchar, jchar);
91   static jint codePointAt(::java::lang::CharSequence *, jint);
92   static jint codePointAt(JArray< jchar > *, jint);
93   static jint codePointAt(JArray< jchar > *, jint, jint);
94   static jint codePointBefore(JArray< jchar > *, jint);
95   static jint codePointBefore(JArray< jchar > *, jint, jint);
96   static jint codePointBefore(::java::lang::CharSequence *, jint);
97   jint compareTo(::java::lang::Object *);
98 private:
99   jchar __attribute__((aligned(__alignof__( ::java::lang::Object)))) value;
100   static const jlong serialVersionUID = 3786198910865385080LL;
101 public:
102   static const jint MIN_RADIX = 2;
103   static const jint MAX_RADIX = 36;
104   static const jchar MIN_VALUE = 0;
105   static const jchar MAX_VALUE = 65535;
106   static const jint MIN_CODE_POINT = 0;
107   static const jint MAX_CODE_POINT = 1114111;
108   static const jchar MIN_HIGH_SURROGATE = 55296;
109   static const jchar MAX_HIGH_SURROGATE = 56319;
110   static const jchar MIN_LOW_SURROGATE = 56320;
111   static const jchar MAX_LOW_SURROGATE = 57343;
112   static const jchar MIN_SURROGATE = 55296;
113   static const jchar MAX_SURROGATE = 57343;
114   static const jint MIN_SUPPLEMENTARY_CODE_POINT = 65536;
115   static ::java::lang::Class * TYPE;
116   static const jint SIZE = 16;
117 private:
118   static const jint MAX_CACHE = 127;
119   static JArray< ::java::lang::Character * > * charCache;
120 public:
121   static const jbyte UPPERCASE_LETTER = 1;
122   static const jbyte LOWERCASE_LETTER = 2;
123   static const jbyte TITLECASE_LETTER = 3;
124   static const jbyte NON_SPACING_MARK = 6;
125   static const jbyte COMBINING_SPACING_MARK = 8;
126   static const jbyte ENCLOSING_MARK = 7;
127   static const jbyte DECIMAL_DIGIT_NUMBER = 9;
128   static const jbyte LETTER_NUMBER = 10;
129   static const jbyte OTHER_NUMBER = 11;
130   static const jbyte SPACE_SEPARATOR = 12;
131   static const jbyte LINE_SEPARATOR = 13;
132   static const jbyte PARAGRAPH_SEPARATOR = 14;
133   static const jbyte CONTROL = 15;
134   static const jbyte FORMAT = 16;
135   static const jbyte SURROGATE = 19;
136   static const jbyte PRIVATE_USE = 18;
137   static const jbyte UNASSIGNED = 0;
138   static const jbyte MODIFIER_LETTER = 4;
139   static const jbyte OTHER_LETTER = 5;
140   static const jbyte CONNECTOR_PUNCTUATION = 23;
141   static const jbyte DASH_PUNCTUATION = 20;
142   static const jbyte START_PUNCTUATION = 21;
143   static const jbyte END_PUNCTUATION = 22;
144   static const jbyte INITIAL_QUOTE_PUNCTUATION = 29;
145   static const jbyte FINAL_QUOTE_PUNCTUATION = 30;
146   static const jbyte OTHER_PUNCTUATION = 24;
147   static const jbyte MATH_SYMBOL = 25;
148   static const jbyte CURRENCY_SYMBOL = 26;
149   static const jbyte MODIFIER_SYMBOL = 27;
150   static const jbyte OTHER_SYMBOL = 28;
151   static const jbyte DIRECTIONALITY_UNDEFINED = -1;
152   static const jbyte DIRECTIONALITY_LEFT_TO_RIGHT = 0;
153   static const jbyte DIRECTIONALITY_RIGHT_TO_LEFT = 1;
154   static const jbyte DIRECTIONALITY_RIGHT_TO_LEFT_ARABIC = 2;
155   static const jbyte DIRECTIONALITY_EUROPEAN_NUMBER = 3;
156   static const jbyte DIRECTIONALITY_EUROPEAN_NUMBER_SEPARATOR = 4;
157   static const jbyte DIRECTIONALITY_EUROPEAN_NUMBER_TERMINATOR = 5;
158   static const jbyte DIRECTIONALITY_ARABIC_NUMBER = 6;
159   static const jbyte DIRECTIONALITY_COMMON_NUMBER_SEPARATOR = 7;
160   static const jbyte DIRECTIONALITY_NONSPACING_MARK = 8;
161   static const jbyte DIRECTIONALITY_BOUNDARY_NEUTRAL = 9;
162   static const jbyte DIRECTIONALITY_PARAGRAPH_SEPARATOR = 10;
163   static const jbyte DIRECTIONALITY_SEGMENT_SEPARATOR = 11;
164   static const jbyte DIRECTIONALITY_WHITESPACE = 12;
165   static const jbyte DIRECTIONALITY_OTHER_NEUTRALS = 13;
166   static const jbyte DIRECTIONALITY_LEFT_TO_RIGHT_EMBEDDING = 14;
167   static const jbyte DIRECTIONALITY_LEFT_TO_RIGHT_OVERRIDE = 15;
168   static const jbyte DIRECTIONALITY_RIGHT_TO_LEFT_EMBEDDING = 16;
169   static const jbyte DIRECTIONALITY_RIGHT_TO_LEFT_OVERRIDE = 17;
170   static const jbyte DIRECTIONALITY_POP_DIRECTIONAL_FORMAT = 18;
171 private:
172   static const jint TYPE_MASK = 31;
173   static const jint NO_BREAK_MASK = 32;
174   static const jint MIRROR_MASK = 64;
175 public:
176   static ::java::lang::Class class$;
177 };
178
179 #endif // __java_lang_Character__