Class TreeSpliterator.Depth<T>
java.lang.Object
one.util.streamex.Internals.CloneableSpliterator<Map.Entry<Integer,T>, TreeSpliterator<T, Map.Entry<Integer,T>>>
one.util.streamex.TreeSpliterator<T, Map.Entry<Integer,T>>
one.util.streamex.TreeSpliterator.Depth<T>
- All Implemented Interfaces:
AutoCloseable, Cloneable, Runnable, Consumer<T>, Spliterator<Map.Entry<Integer,T>>
- Enclosing class:
TreeSpliterator<T,U>
-
Nested Class Summary
Nested classes/interfaces inherited from class TreeSpliterator
TreeSpliterator.Acceptor<T>, TreeSpliterator.Depth<T>, TreeSpliterator.DepthAcceptor<T>, TreeSpliterator.Plain<T>Nested classes/interfaces inherited from interface Spliterator
Spliterator.OfDouble, Spliterator.OfInt, Spliterator.OfLong, Spliterator.OfPrimitive<T,T_CONS, T_SPLITR> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final BiFunction<Integer, T, Stream<T>> Fields inherited from class TreeSpliterator
cur, size, spliteratorsFields inherited from interface Spliterator
CONCURRENT, DISTINCT, IMMUTABLE, NONNULL, ORDERED, SIZED, SORTED, SUBSIZED -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class TreeSpliterator
accept, advance, append, characteristics, close, estimateSize, run, trySplitMethods inherited from class Internals.CloneableSpliterator
doCloneMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Spliterator
getComparator, getExactSizeIfKnown, hasCharacteristics
-
Field Details
-
mapper
-
initialDepth
private final int initialDepth
-
-
Constructor Details
-
Depth
-
-
Method Details
-
tryAdvance
-
forEachRemaining
-
getStart
-
getStartElement
- Specified by:
getStartElementin classTreeSpliterator<T, Map.Entry<Integer,T>>
-