2007-01-09 20:58:05 +01:00
|
|
|
|
|
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
|
|
|
|
|
|
|
#ifndef __java_text_CollationElementIterator__
|
|
|
|
#define __java_text_CollationElementIterator__
|
|
|
|
|
|
|
|
#pragma interface
|
|
|
|
|
|
|
|
#include <java/lang/Object.h>
|
|
|
|
#include <gcj/array.h>
|
|
|
|
|
|
|
|
extern "Java"
|
|
|
|
{
|
|
|
|
namespace java
|
|
|
|
{
|
|
|
|
namespace text
|
|
|
|
{
|
|
|
|
class CharacterIterator;
|
|
|
|
class CollationElementIterator;
|
|
|
|
class RuleBasedCollator;
|
|
|
|
class RuleBasedCollator$CollationElement;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class java::text::CollationElementIterator : public ::java::lang::Object
|
|
|
|
{
|
|
|
|
|
|
|
|
public: // actually package-private
|
|
|
|
CollationElementIterator(::java::text::RuleBasedCollator *, ::java::lang::String *);
|
2008-06-28 15:29:13 +02:00
|
|
|
CollationElementIterator(::java::text::RuleBasedCollator *, ::java::text::CharacterIterator *);
|
2007-01-09 20:58:05 +01:00
|
|
|
::java::text::RuleBasedCollator$CollationElement * nextBlock();
|
|
|
|
::java::text::RuleBasedCollator$CollationElement * previousBlock();
|
|
|
|
public:
|
|
|
|
jint next();
|
|
|
|
jint previous();
|
|
|
|
static jint primaryOrder(jint);
|
|
|
|
void reset();
|
|
|
|
static jshort secondaryOrder(jint);
|
|
|
|
static jshort tertiaryOrder(jint);
|
|
|
|
void setText(::java::lang::String *);
|
|
|
|
void setText(::java::text::CharacterIterator *);
|
|
|
|
jint getOffset();
|
|
|
|
void setOffset(jint);
|
|
|
|
jint getMaxExpansion(jint);
|
|
|
|
static const jint NULLORDER = -1;
|
|
|
|
public: // actually package-private
|
|
|
|
::java::text::RuleBasedCollator * __attribute__((aligned(__alignof__( ::java::lang::Object)))) collator;
|
2008-06-28 15:29:13 +02:00
|
|
|
::java::text::CharacterIterator * text;
|
2007-01-09 20:58:05 +01:00
|
|
|
jint index;
|
|
|
|
jint textIndex;
|
|
|
|
private:
|
2012-12-19 18:03:15 +01:00
|
|
|
JArray< ::java::text::RuleBasedCollator$CollationElement * > * textDecomposition;
|
|
|
|
JArray< jint > * textIndexes;
|
2007-01-09 20:58:05 +01:00
|
|
|
public:
|
|
|
|
static ::java::lang::Class class$;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __java_text_CollationElementIterator__
|