Class RangeBasedSpliterator.OfShort
java.lang.Object
one.util.streamex.Internals.CloneableSpliterator<Integer, RangeBasedSpliterator.OfShort>
one.util.streamex.RangeBasedSpliterator<Integer, RangeBasedSpliterator.OfShort>
one.util.streamex.RangeBasedSpliterator.OfShort
- All Implemented Interfaces:
Cloneable, Spliterator<Integer>, Spliterator.OfInt, Spliterator.OfPrimitive<Integer, IntConsumer, Spliterator.OfInt>
- Enclosing class:
RangeBasedSpliterator<T, S extends RangeBasedSpliterator<T,?>>
static final class RangeBasedSpliterator.OfShort
extends RangeBasedSpliterator<Integer, RangeBasedSpliterator.OfShort>
implements Spliterator.OfInt
-
Nested Class Summary
Nested classes/interfaces inherited from class RangeBasedSpliterator
RangeBasedSpliterator.AsEntry<T>, RangeBasedSpliterator.OfByte, RangeBasedSpliterator.OfChar, RangeBasedSpliterator.OfFloat, RangeBasedSpliterator.OfShort, RangeBasedSpliterator.OfSubLists<T>, RangeBasedSpliterator.ZipDouble, RangeBasedSpliterator.ZipInt, RangeBasedSpliterator.ZipLong, RangeBasedSpliterator.ZipRef<U,V, T> Nested classes/interfaces inherited from interface Spliterator
Spliterator.OfDouble, Spliterator.OfInt, Spliterator.OfLong, Spliterator.OfPrimitive<T,T_CONS, T_SPLITR> -
Field Summary
FieldsFields inherited from class RangeBasedSpliterator
cur, limitFields inherited from interface Spliterator
CONCURRENT, DISTINCT, IMMUTABLE, NONNULL, ORDERED, SIZED, SORTED, SUBSIZED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidforEachRemaining(IntConsumer action) booleantryAdvance(IntConsumer action) Methods inherited from class RangeBasedSpliterator
characteristics, estimateSize, trySplitMethods inherited from class Internals.CloneableSpliterator
doCloneMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Spliterator
characteristics, estimateSize, getComparator, getExactSizeIfKnown, hasCharacteristicsMethods inherited from interface Spliterator.OfInt
forEachRemaining, tryAdvance, trySplit
-
Field Details
-
array
private final short[] array
-
-
Constructor Details
-
OfShort
public OfShort(int fromInclusive, int toExclusive, short[] array)
-
-
Method Details
-
tryAdvance
- Specified by:
tryAdvancein interfaceSpliterator.OfInt- Specified by:
tryAdvancein interfaceSpliterator.OfPrimitive<Integer, IntConsumer, Spliterator.OfInt>
-
forEachRemaining
- Specified by:
forEachRemainingin interfaceSpliterator.OfInt- Specified by:
forEachRemainingin interfaceSpliterator.OfPrimitive<Integer, IntConsumer, Spliterator.OfInt>
-