CollationElementIterator.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_text_CollationElementIterator__
  3. #define __java_text_CollationElementIterator__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace java
  10. {
  11. namespace text
  12. {
  13. class CharacterIterator;
  14. class CollationElementIterator;
  15. class RuleBasedCollator;
  16. class RuleBasedCollator$CollationElement;
  17. }
  18. }
  19. }
  20. class java::text::CollationElementIterator : public ::java::lang::Object
  21. {
  22. public: // actually package-private
  23. CollationElementIterator(::java::text::RuleBasedCollator *, ::java::lang::String *);
  24. CollationElementIterator(::java::text::RuleBasedCollator *, ::java::text::CharacterIterator *);
  25. ::java::text::RuleBasedCollator$CollationElement * nextBlock();
  26. ::java::text::RuleBasedCollator$CollationElement * previousBlock();
  27. public:
  28. jint next();
  29. jint previous();
  30. static jint primaryOrder(jint);
  31. void reset();
  32. static jshort secondaryOrder(jint);
  33. static jshort tertiaryOrder(jint);
  34. void setText(::java::lang::String *);
  35. void setText(::java::text::CharacterIterator *);
  36. jint getOffset();
  37. void setOffset(jint);
  38. jint getMaxExpansion(jint);
  39. static const jint NULLORDER = -1;
  40. public: // actually package-private
  41. ::java::text::RuleBasedCollator * __attribute__((aligned(__alignof__( ::java::lang::Object)))) collator;
  42. ::java::text::CharacterIterator * text;
  43. jint index;
  44. jint textIndex;
  45. private:
  46. JArray< ::java::text::RuleBasedCollator$CollationElement * > * textDecomposition;
  47. JArray< jint > * textIndexes;
  48. public:
  49. static ::java::lang::Class class$;
  50. };
  51. #endif // __java_text_CollationElementIterator__