public class ReversingListSpliterator<T> extends java.lang.Object implements java.util.Spliterator<T>, ReversableSpliterator<T>
| 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, waitisReverse, setReversecopy, copypublic ReversingListSpliterator(java.util.List<T> elements, boolean reverse)
public ReversingListSpliterator<T> invert()
invert in interface ReversableSpliterator<T>public ReversableSpliterator copy()
copy in interface CopyableSpliterator<T>copy in interface ReversableSpliterator<T>public 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>