public final class LongSingletonSpliterator extends Object implements Spliterator.OfLong
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| Constructor and Description |
|---|
LongSingletonSpliterator(long elem) |
| Modifier and Type | Method and Description |
|---|---|
int |
characteristics() |
long |
estimateSize() |
boolean |
tryAdvance(LongConsumer action) |
Spliterator.OfLong |
trySplit() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, forEachRemaining, tryAdvancegetComparator, getExactSizeIfKnown, hasCharacteristicspublic Spliterator.OfLong trySplit()
trySplit in interface Spliterator<Long>trySplit in interface Spliterator.OfLongtrySplit in interface Spliterator.OfPrimitive<Long,LongConsumer,Spliterator.OfLong>public long estimateSize()
estimateSize in interface Spliterator<Long>public int characteristics()
characteristics in interface Spliterator<Long>public boolean tryAdvance(LongConsumer action)
tryAdvance in interface Spliterator.OfLongtryAdvance in interface Spliterator.OfPrimitive<Long,LongConsumer,Spliterator.OfLong>Copyright © 2004–2022. All rights reserved.