OSDN Git Service

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