Package com.aowagie.text.pdf.hyphenation
Class TernaryTree.Iterator
- java.lang.Object
-
- com.aowagie.text.pdf.hyphenation.TernaryTree.Iterator
-
- All Implemented Interfaces:
java.util.Enumeration
- Enclosing class:
- TernaryTree
private class TernaryTree.Iterator extends java.lang.Object implements java.util.Enumeration
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private class
TernaryTree.Iterator.Item
-
Constructor Summary
Constructors Constructor Description Iterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description char
getValue()
boolean
hasMoreElements()
java.lang.Object
nextElement()
private void
rewind()
private int
run()
traverse the tree to find next keyprivate int
up()
traverse upwards
-
-
-
Method Detail
-
rewind
private void rewind()
-
nextElement
public java.lang.Object nextElement()
- Specified by:
nextElement
in interfacejava.util.Enumeration
-
getValue
public char getValue()
-
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interfacejava.util.Enumeration
-
up
private int up()
traverse upwards
-
run
private int run()
traverse the tree to find next key
-
-