Package org.core.vector
Class RangeVectorSpliterator
java.lang.Object
org.core.vector.RangeVectorSpliterator
- All Implemented Interfaces:
Spliterator<Vector3<Integer>>
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.Spliterator
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>>
-
Field Summary
Fields inherited from interface java.util.Spliterator
CONCURRENT, DISTINCT, IMMUTABLE, NONNULL, ORDERED, SIZED, SORTED, SUBSIZED
-
Constructor Summary
ConstructorDescriptionRangeVectorSpliterator(@NotNull Bounds<Integer> bounds)
RangeVectorSpliterator(@NotNull Vector3<Integer> min, @NotNull Vector3<Integer> max)
-
Method Summary
Modifier and TypeMethodDescriptionint
long
boolean
tryAdvance(Consumer<? super Vector3<Integer>> consumer)
trySplit()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Spliterator
forEachRemaining, getComparator, getExactSizeIfKnown, hasCharacteristics
-
Constructor Details
-
RangeVectorSpliterator
-
RangeVectorSpliterator
-
-
Method Details
-
tryAdvance
- Specified by:
tryAdvance
in interfaceSpliterator<Vector3<Integer>>
-
trySplit
- Specified by:
trySplit
in interfaceSpliterator<Vector3<Integer>>
-
estimateSize
public long estimateSize()- Specified by:
estimateSize
in interfaceSpliterator<Vector3<Integer>>
-
characteristics
public int characteristics()- Specified by:
characteristics
in interfaceSpliterator<Vector3<Integer>>
-