Spliterator<Long>, Spliterator.OfLong, Spliterator.OfPrimitive<Long,LongConsumer,Spliterator.OfLong>public final class LongSingletonSpliterator extends Object implements Spliterator.OfLong
Spliterator.OfDouble, Spliterator.OfInt, Spliterator.OfLong, Spliterator.OfPrimitive<T extends Object,T_CONS extends Object,T_SPLITR extends Spliterator.OfPrimitive<T,T_CONS,T_SPLITR>>CONCURRENT, DISTINCT, IMMUTABLE, NONNULL, ORDERED, SIZED, SORTED, SUBSIZED| Constructor | Description |
|---|---|
LongSingletonSpliterator(long elem) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
characteristics() |
|
long |
estimateSize() |
|
boolean |
tryAdvance(LongConsumer action) |
|
Spliterator.OfLong |
trySplit() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetComparator, getExactSizeIfKnown, hasCharacteristicsforEachRemaining, forEachRemaining, tryAdvancepublic 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–2019. All rights reserved.