Class PreorderSpliterator<T>

java.lang.Object
java.util.Spliterators.AbstractSpliterator<T>
org.jhotdraw8.collection.enumerator.AbstractEnumerator<T>
org.jhotdraw8.fxbase.tree.PreorderSpliterator<T>
Type Parameters:
T - the element type
All Implemented Interfaces:
Spliterator<T>, org.jhotdraw8.collection.enumerator.BareEnumerator<T>, org.jhotdraw8.collection.enumerator.Enumerator<T>

public class PreorderSpliterator<T> extends org.jhotdraw8.collection.enumerator.AbstractEnumerator<T>
PreorderSpliterator.
Author:
Werner Randelshofer
  • Constructor Details

    • PreorderSpliterator

      public PreorderSpliterator(Function<T,Iterable<? extends T>> getChildrenFunction, T root)
  • Method Details

    • moveNext

      public boolean moveNext()