Spliterator<Integer>
, Spliterator.OfInt
, Spliterator.OfPrimitive<Integer,IntConsumer,Spliterator.OfInt>
public final class IntSingletonSpliterator extends Object implements Spliterator.OfInt
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 |
---|---|
IntSingletonSpliterator(int elem) |
Modifier and Type | Method | Description |
---|---|---|
int |
characteristics() |
|
long |
estimateSize() |
|
boolean |
tryAdvance(IntConsumer action) |
|
Spliterator.OfInt |
trySplit() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getComparator, getExactSizeIfKnown, hasCharacteristics
forEachRemaining, forEachRemaining, tryAdvance
public Spliterator.OfInt trySplit()
trySplit
in interface Spliterator<Integer>
trySplit
in interface Spliterator.OfInt
trySplit
in interface Spliterator.OfPrimitive<Integer,IntConsumer,Spliterator.OfInt>
public long estimateSize()
estimateSize
in interface Spliterator<Integer>
public int characteristics()
characteristics
in interface Spliterator<Integer>
public boolean tryAdvance(IntConsumer action)
tryAdvance
in interface Spliterator.OfInt
tryAdvance
in interface Spliterator.OfPrimitive<Integer,IntConsumer,Spliterator.OfInt>
Copyright © 2004–2019. All rights reserved.