summaryrefslogtreecommitdiff
path: root/libjava/java/text/RuleBasedCollator.h
diff options
context:
space:
mode:
authorupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
committerupstream source tree <ports@midipix.org>2015-03-15 20:14:05 -0400
commit554fd8c5195424bdbcabf5de30fdc183aba391bd (patch)
tree976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/java/text/RuleBasedCollator.h
downloadcbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2
cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository.
Diffstat (limited to 'libjava/java/text/RuleBasedCollator.h')
-rw-r--r--libjava/java/text/RuleBasedCollator.h70
1 files changed, 70 insertions, 0 deletions
diff --git a/libjava/java/text/RuleBasedCollator.h b/libjava/java/text/RuleBasedCollator.h
new file mode 100644
index 000000000..74b5aa8ea
--- /dev/null
+++ b/libjava/java/text/RuleBasedCollator.h
@@ -0,0 +1,70 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __java_text_RuleBasedCollator__
+#define __java_text_RuleBasedCollator__
+
+#pragma interface
+
+#include <java/text/Collator.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace text
+ {
+ class CharacterIterator;
+ class CollationElementIterator;
+ class CollationKey;
+ class RuleBasedCollator;
+ class RuleBasedCollator$CollationElement;
+ }
+ }
+}
+
+class java::text::RuleBasedCollator : public ::java::text::Collator
+{
+
+public:
+ RuleBasedCollator(::java::lang::String *);
+public: // actually package-private
+ static jint findPrefixLength(::java::lang::String *, ::java::lang::String *);
+private:
+ void mergeRules(jint, ::java::lang::String *, ::java::util::ArrayList *, ::java::util::ArrayList *);
+ jint subParseString(jboolean, ::java::util::ArrayList *, jint, ::java::lang::String *);
+public:
+ virtual ::java::lang::Object * clone();
+private:
+ ::java::util::ArrayList * parseString(::java::lang::String *);
+ void buildCollationVector(::java::util::ArrayList *);
+ void buildPrefixAccess();
+public:
+ virtual jint compare(::java::lang::String *, ::java::lang::String *);
+ virtual jboolean equals(::java::lang::Object *);
+public: // actually package-private
+ virtual ::java::text::RuleBasedCollator$CollationElement * getDefaultElement(jchar);
+ virtual ::java::text::RuleBasedCollator$CollationElement * getDefaultAccentedElement(jchar);
+public:
+ virtual ::java::text::CollationElementIterator * getCollationElementIterator(::java::lang::String *);
+ virtual ::java::text::CollationElementIterator * getCollationElementIterator(::java::text::CharacterIterator *);
+ virtual ::java::text::CollationKey * getCollationKey(::java::lang::String *);
+ virtual ::java::lang::String * getRules();
+ virtual jint hashCode();
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::text::Collator)))) rules;
+ JArray< ::java::text::RuleBasedCollator$CollationElement * > * ce_table;
+public: // actually package-private
+ ::java::util::HashMap * prefix_tree;
+private:
+ jint last_primary_value;
+ jint last_tertiary_value;
+ jboolean inverseAccentComparison;
+public: // actually package-private
+ static ::java::text::RuleBasedCollator$CollationElement * SPECIAL_UNKNOWN_SEQ;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __java_text_RuleBasedCollator__