|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.infomancers.collections.iterators.TreeIterators
public final class TreeIterators
Utility class used to create an iterator which iterates over all the nodes of a tree, either in prefix or postfix mode.
| Nested Class Summary | |
|---|---|
static class |
TreeIterators.Type
|
| Constructor Summary | |
|---|---|
TreeIterators()
|
|
| Method Summary | |
|---|---|
static java.lang.Iterable<java.lang.Object> |
postfixIterator(TreeAdapter tree)
|
static java.lang.Iterable<java.lang.Object> |
prefixIterator(TreeAdapter tree)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TreeIterators()
| Method Detail |
|---|
public static java.lang.Iterable<java.lang.Object> postfixIterator(TreeAdapter tree)
public static java.lang.Iterable<java.lang.Object> prefixIterator(TreeAdapter tree)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||