summaryrefslogtreecommitdiff
path: root/libjava/java/text/Collator.h
blob: 075dcb2b1d41101dfc6789f32c91723ce3b33f68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_text_Collator__
#define __java_text_Collator__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace text
    {
        class CollationKey;
        class Collator;
    }
  }
}

class java::text::Collator : public ::java::lang::Object
{

public: // actually protected
  Collator();
public:
  virtual jint compare(::java::lang::String *, ::java::lang::String *) = 0;
  virtual jint compare(::java::lang::Object *, ::java::lang::Object *);
  virtual jboolean equals(::java::lang::Object *);
  virtual jboolean equals(::java::lang::String *, ::java::lang::String *);
  virtual ::java::lang::Object * clone();
  static JArray< ::java::util::Locale * > * getAvailableLocales();
  virtual ::java::text::CollationKey * getCollationKey(::java::lang::String *) = 0;
  virtual jint getDecomposition();
  static ::java::text::Collator * getInstance();
  static ::java::text::Collator * getInstance(::java::util::Locale *);
  virtual jint getStrength();
  virtual jint hashCode() = 0;
  virtual void setDecomposition(jint);
  virtual void setStrength(jint);
public: // actually package-private
  virtual void decomposeCharacter(jchar, ::java::lang::StringBuffer *);
public:
  static const jint PRIMARY = 0;
  static const jint SECONDARY = 1;
  static const jint TERTIARY = 2;
  static const jint IDENTICAL = 3;
  static const jint NO_DECOMPOSITION = 0;
  static const jint CANONICAL_DECOMPOSITION = 1;
  static const jint FULL_DECOMPOSITION = 2;
public: // actually package-private
  jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) decmp;
  jint strength;
public:
  static ::java::lang::Class class$;
};

#endif // __java_text_Collator__