summaryrefslogtreecommitdiff
path: root/libjava/java/text/CollationElementIterator.h
blob: a3b75de189e24a5e265949fb0d210f61d773e584 (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
// 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 *);
  CollationElementIterator(::java::text::RuleBasedCollator *, ::java::text::CharacterIterator *);
  ::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;
  ::java::text::CharacterIterator * text;
  jint index;
  jint textIndex;
private:
  JArray< ::java::text::RuleBasedCollator$CollationElement * > * text_decomposition;
  JArray< jint > * text_indexes;
public:
  static ::java::lang::Class class$;
};

#endif // __java_text_CollationElementIterator__