java.lang.Object
org.jhotdraw8.fxbase.tree.ChildIterator<T>
- Type Parameters:
T- the element type
- All Implemented Interfaces:
Iterator<T>
Iterates over the children of a tree node.
- Author:
- Werner Randelshofer
-
Constructor Summary
ConstructorsConstructorDescriptionChildIterator(int childCount, IntFunction<T> getElementFunction) Creates a new instance. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
ChildIterator
Creates a new instance.- Parameters:
childCount- the number of childrengetElementFunction- returns a child element given an index
-
-
Method Details