|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--SSF.OS.BGP4.Util.RadixTreeIterator
An iterator which traverses the nodes of a RadixTree. For each node which contains (non-null) data, it executes a user-supplied function.
| Field Summary | |
java.lang.Object |
result
A data object used to contain any results left during iteration. |
| Constructor Summary | |
RadixTreeIterator(RadixTree t,
RadixTreeIteratorAction a)
Constructs an iterator with a given tree and action. |
|
| Method Summary | |
void |
iterate()
Iterates over the radix tree, executing the given method on each node. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public java.lang.Object result
| Constructor Detail |
public RadixTreeIterator(RadixTree t,
RadixTreeIteratorAction a)
t - The radix tree to iterate over.a - A class containing the action to execute at each node.| Method Detail |
public final void iterate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||