2010-10-14 Jeremie Salvucci <jeremie.salvucci@free.fr>
[official-gcc.git] / libjava / java / text / Collator.h
blob075dcb2b1d41101dfc6789f32c91723ce3b33f68
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_text_Collator__
5 #define __java_text_Collator__
7 #pragma interface
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace java
16 namespace text
18 class CollationKey;
19 class Collator;
24 class java::text::Collator : public ::java::lang::Object
27 public: // actually protected
28 Collator();
29 public:
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 *);
46 public:
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;
56 jint strength;
57 public:
58 static ::java::lang::Class class$;
61 #endif // __java_text_Collator__