Package com.lowagie.text.pdf.hyphenation
Class TernaryTree.Iterator
java.lang.Object
com.lowagie.text.pdf.hyphenation.TernaryTree.Iterator
- All Implemented Interfaces:
Enumeration
- Enclosing class:
TernaryTree
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription(package private) int
current node index(package private) String
current key(package private) StringBuffer
key stack implemented with a StringBuffer(package private) Stack
<TernaryTree.Iterator.Item> Node stack -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Enumeration
asIterator
-
Field Details
-
cur
int curcurrent node index -
curkey
String curkeycurrent key -
ns
Node stack -
ks
StringBuffer kskey stack implemented with a StringBuffer
-
-
Constructor Details
-
Iterator
public Iterator()
-
-
Method Details
-
rewind
public void rewind() -
nextElement
- Specified by:
nextElement
in interfaceEnumeration
-
getValue
public char getValue() -
hasMoreElements
public boolean hasMoreElements()- Specified by:
hasMoreElements
in interfaceEnumeration
-
up
private int up()traverse upwards -
run
private int run()traverse the tree to find next key
-