public class ReversingArraySpliterator<T> extends java.lang.Object implements java.util.Spliterator<T>, ReversableSpliterator
Constructor and Description |
---|
ReversingArraySpliterator() |
Modifier and Type | Method and Description |
---|---|
int |
characteristics() |
ReversableSpliterator |
copy() |
long |
estimateSize() |
ReversingArraySpliterator<T> |
invert() |
boolean |
tryAdvance(java.util.function.Consumer<? super T> action) |
java.util.Spliterator<T> |
trySplit() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, getComparator, getExactSizeIfKnown, hasCharacteristics
isReverse, setReverse
public long estimateSize()
estimateSize
in interface java.util.Spliterator<T>
public int characteristics()
characteristics
in interface java.util.Spliterator<T>
public ReversingArraySpliterator<T> invert()
invert
in interface ReversableSpliterator
public boolean tryAdvance(java.util.function.Consumer<? super T> action)
tryAdvance
in interface java.util.Spliterator<T>
public java.util.Spliterator<T> trySplit()
trySplit
in interface java.util.Spliterator<T>
public ReversableSpliterator copy()
copy
in interface ReversableSpliterator