public class ReversingListSpliterator<T> extends java.lang.Object implements java.util.Spliterator<T>, ReversableSpliterator
| Constructor and Description |
|---|
ReversingListSpliterator(java.util.List<T> elements,
boolean reverse) |
| Modifier and Type | Method and Description |
|---|---|
int |
characteristics() |
ReversableSpliterator |
copy() |
long |
estimateSize() |
ReversingListSpliterator<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, waitforEachRemaining, getComparator, getExactSizeIfKnown, hasCharacteristicsisReverse, setReversepublic ReversingListSpliterator(java.util.List<T> elements, boolean reverse)
public ReversingListSpliterator<T> invert()
invert in interface ReversableSpliteratorpublic ReversableSpliterator copy()
copy in interface ReversableSpliteratorpublic long estimateSize()
estimateSize in interface java.util.Spliterator<T>public int characteristics()
characteristics in interface java.util.Spliterator<T>public boolean tryAdvance(java.util.function.Consumer<? super T> action)
tryAdvance in interface java.util.Spliterator<T>