Retro68/gcc/libjava/java/text/Collator.h

62 lines
1.8 KiB
C
Raw Normal View History

2012-03-27 23:13:14 +00:00
// 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__