home *** CD-ROM | disk | FTP | other *** search
- package java.text;
-
- class Normalizer$DecompIterator {
- private CompactShortArray.Iterator iter = Normalizer.access$300().getIterator();
- private StringBuffer buf = new StringBuffer();
- private int decmpLimit = -1;
- private short nextChar = -1;
-
- Normalizer$DecompIterator(int var1) {
- switch (var1) {
- case 1:
- this.decmpLimit = Normalizer.access$100();
- break;
- case 2:
- this.decmpLimit = Normalizer.access$000();
- }
-
- }
-
- boolean hasNext() {
- label26:
- while(true) {
- if (this.nextChar == -1 && this.iter.hasNext()) {
- char var1 = this.iter.next();
- short var2 = this.iter.shortValue();
- if (var2 >= this.decmpLimit) {
- continue;
- }
-
- this.nextChar = (short)var1;
- this.buf.setLength(0);
-
- while(true) {
- if ((var1 = Normalizer.access$200().charAt(var2++)) == 0) {
- continue label26;
- }
-
- this.buf.append(var1);
- }
- }
-
- return this.nextChar != -1;
- }
- }
-
- char next() {
- if (this.nextChar == -1 && !this.hasNext()) {
- throw new ArrayIndexOutOfBoundsException();
- } else {
- char var1 = (char)this.nextChar;
- this.nextChar = -1;
- return var1;
- }
- }
-
- String decomposition() {
- return this.buf.toString();
- }
- }
-