2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_text_Collator__
5 #define __java_text_Collator__
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
24 class java::text::Collator
: public ::java::lang::Object
27 public: // actually protected
30 virtual jint
compare(::java::lang::String
*, ::java::lang::String
*) = 0;
31 virtual jint
compare(::java::lang::Object
*, ::java::lang::Object
*);
32 virtual jboolean
equals(::java::lang::Object
*);
33 virtual jboolean
equals(::java::lang::String
*, ::java::lang::String
*);
34 virtual ::java::lang::Object
* clone();
35 static JArray
< ::java::util::Locale
* > * getAvailableLocales();
36 virtual ::java::text::CollationKey
* getCollationKey(::java::lang::String
*) = 0;
37 virtual jint
getDecomposition();
38 static ::java::text::Collator
* getInstance();
39 static ::java::text::Collator
* getInstance(::java::util::Locale
*);
40 virtual jint
getStrength();
41 virtual jint
hashCode() = 0;
42 virtual void setDecomposition(jint
);
43 virtual void setStrength(jint
);
44 public: // actually package-private
45 virtual void decomposeCharacter(jchar
, ::java::lang::StringBuffer
*);
47 static const jint PRIMARY
= 0;
48 static const jint SECONDARY
= 1;
49 static const jint TERTIARY
= 2;
50 static const jint IDENTICAL
= 3;
51 static const jint NO_DECOMPOSITION
= 0;
52 static const jint CANONICAL_DECOMPOSITION
= 1;
53 static const jint FULL_DECOMPOSITION
= 2;
54 public: // actually package-private
55 jint
__attribute__((aligned(__alignof__( ::java::lang::Object
)))) decmp
;
58 static ::java::lang::Class
class$
;
61 #endif // __java_text_Collator__