public class IteratorAsSpliterator<T> extends Object implements CloseableSpliterator<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
IteratorAsSpliterator.Builder<T> |
Spliterator.OfDouble, Spliterator.OfInt, Spliterator.OfLong, Spliterator.OfPrimitive<T,T_CONS,T_SPLITR extends Spliterator.OfPrimitive<T,T_CONS,T_SPLITR>>CONCURRENT, DISTINCT, IMMUTABLE, NONNULL, ORDERED, SIZED, SORTED, SUBSIZED| Modifier and Type | Method and Description |
|---|---|
int |
characteristics() |
void |
close() |
long |
estimateSize() |
void |
forEachRemaining(Consumer<? super T> action) |
Comparator<? super T> |
getComparator() |
boolean |
tryAdvance(Consumer<? super T> action) |
Spliterator<T> |
trySplit() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExactSizeIfKnown, hasCharacteristicspublic Spliterator<T> trySplit()
trySplit in interface Spliterator<T>public void forEachRemaining(Consumer<? super T> action)
forEachRemaining in interface Spliterator<T>public boolean tryAdvance(Consumer<? super T> action)
tryAdvance in interface Spliterator<T>public long estimateSize()
estimateSize in interface Spliterator<T>public int characteristics()
characteristics in interface Spliterator<T>public Comparator<? super T> getComparator()
getComparator in interface Spliterator<T>public void close()
close in interface AutoCloseableclose in interface CloseableSpliterator<T>Copyright © 2025 JBoss, a division of Red Hat. All rights reserved.