public static class ShortSpliterators.EmptySpliterator extends java.lang.Object implements ShortSpliterator, java.io.Serializable, java.lang.Cloneable
This class may be useful to implement your own in case you subclass a type-specific spliterator.
Modifier and Type | Method and Description |
---|---|
int |
characteristics() |
java.lang.Object |
clone() |
long |
estimateSize() |
void |
forEachRemaining(java.util.function.Consumer<? super java.lang.Short> action)
Deprecated.
|
void |
forEachRemaining(ShortConsumer action) |
boolean |
tryAdvance(java.util.function.Consumer<? super java.lang.Short> action)
Deprecated.
|
boolean |
tryAdvance(ShortConsumer action) |
ShortSpliterator |
trySplit() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getComparator, skip
public boolean tryAdvance(ShortConsumer action)
tryAdvance
in interface java.util.Spliterator.OfPrimitive<java.lang.Short,ShortConsumer,ShortSpliterator>
@Deprecated public boolean tryAdvance(java.util.function.Consumer<? super java.lang.Short> action)
ShortSpliterator
tryAdvance
in interface ShortSpliterator
tryAdvance
in interface java.util.Spliterator<java.lang.Short>
public ShortSpliterator trySplit()
ShortSpliterator
trySplit
in interface ShortSpliterator
trySplit
in interface java.util.Spliterator<java.lang.Short>
trySplit
in interface java.util.Spliterator.OfPrimitive<java.lang.Short,ShortConsumer,ShortSpliterator>
public long estimateSize()
estimateSize
in interface java.util.Spliterator<java.lang.Short>
public int characteristics()
characteristics
in interface java.util.Spliterator<java.lang.Short>
public void forEachRemaining(ShortConsumer action)
forEachRemaining
in interface java.util.Spliterator.OfPrimitive<java.lang.Short,ShortConsumer,ShortSpliterator>
@Deprecated public void forEachRemaining(java.util.function.Consumer<? super java.lang.Short> action)
ShortSpliterator
forEachRemaining
in interface ShortSpliterator
forEachRemaining
in interface java.util.Spliterator<java.lang.Short>
public java.lang.Object clone()
clone
in class java.lang.Object