// 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>

extern "Java"
{
  namespace java
  {
    namespace text
    {
      class CollationElementIterator;
      class RuleBasedCollator;
    }
  }
}

class java::text::CollationElementIterator : public ::java::lang::Object
{
public: // actually package-private
  CollationElementIterator (::java::text::RuleBasedCollator *, ::java::lang::String *);
public:
  jint next ();
  static jint primaryOrder (jint);
  void reset ();
  static jshort secondaryOrder (jint);
  static jshort tertiaryOrder (jint);
  void setText (::java::lang::String *);
  jint getOffset () { return textIndex; }
  static const jint NULLORDER = -1L;
public: // actually package-private
  ::java::text::RuleBasedCollator * __attribute__((aligned(__alignof__( ::java::lang::Object )))) collator;
  ::java::lang::String *text;
  jint textIndex;
  jboolean lookahead_set;
  jint lookahead;
public:

  static ::java::lang::Class class$;
};

#endif /* __java_text_CollationElementIterator__ */
