public class IntSplititerators
extends java.lang.Object
| Constructor and Description |
|---|
IntSplititerators() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Spliterator.OfInt |
createArrayJavaSplititerator(int[] array,
int characteristics)
Creates A stream compatible split iterator without copying the original array or boxing
|
static java.util.Spliterator.OfInt |
createArrayJavaSplititerator(int[] array,
int size,
int characteristics)
Creates A stream compatible split iterator without copying the original array or boxing
|
static java.util.Spliterator.OfInt |
createArrayJavaSplititerator(int[] array,
int offset,
int size,
int characteristics)
Creates A stream compatible split iterator without copying the original array or boxing
|
static IntSplititerator |
createArraySplititerator(int[] array,
int characteristics)
Creates a Type Specific SplitIterator to reduce boxing/unboxing
|
static IntSplititerator |
createArraySplititerator(int[] array,
int size,
int characteristics)
Creates a Type Specific SplitIterator to reduce boxing/unboxing
|
static IntSplititerator |
createArraySplititerator(int[] array,
int offset,
int size,
int characteristics)
Creates a Type Specific SplitIterator to reduce boxing/unboxing
|
static java.util.Spliterator.OfInt |
createJavaSplititerator(IntCollection collection,
int characteristics)
Creates a stream compatible split iterator without copying it or boxing it
|
static java.util.Spliterator.OfInt |
createSizedJavaSplititerator(IntIterator iterator,
long size,
int characteristics)
Creates a stream compatible split iterator without copying it or boxing it
|
static IntSplititerator |
createSizedSplititerator(IntIterator iterator,
long size,
int characteristics)
Creates a Type Specific SplitIterator to reduce boxing/unboxing
|
static IntSplititerator |
createSplititerator(IntCollection collection,
int characteristics)
Creates a Type Specific SplitIterator to reduce boxing/unboxing
|
static java.util.Spliterator.OfInt |
createUnknownJavaSplititerator(IntIterator iterator,
int characteristics)
Creates a stream compatible split iterator without copying it or boxing it
|
static IntSplititerator |
createUnknownSplititerator(IntIterator iterator,
int characteristics)
Creates a Type Specific SplitIterator to reduce boxing/unboxing
|
public static java.util.Spliterator.OfInt createArrayJavaSplititerator(int[] array,
int characteristics)
array - that should be wrapped into a split iteratorcharacteristics - characteristics properties of this spliterator's source or elements.public static java.util.Spliterator.OfInt createArrayJavaSplititerator(int[] array,
int size,
int characteristics)
array - that should be wrapped into a split iteratorsize - the maximum index within the arraycharacteristics - characteristics properties of this spliterator's source or elements.java.lang.IllegalStateException - if the size is outside of the array sizepublic static java.util.Spliterator.OfInt createArrayJavaSplititerator(int[] array,
int offset,
int size,
int characteristics)
array - that should be wrapped into a split iteratoroffset - the starting index of the arraysize - the maximum index within the arraycharacteristics - characteristics properties of this spliterator's source or elements.java.lang.IllegalStateException - the offset and size are outside of the arrays rangepublic static java.util.Spliterator.OfInt createJavaSplititerator(IntCollection collection, int characteristics)
collection - the collection that should be wrapped in a split iteratorcharacteristics - characteristics properties of this spliterator's source or elements.public static java.util.Spliterator.OfInt createUnknownJavaSplititerator(IntIterator iterator, int characteristics)
iterator - the Iterator that should be wrapped in a split iteratorcharacteristics - characteristics properties of this spliterator's source or elements.public static java.util.Spliterator.OfInt createSizedJavaSplititerator(IntIterator iterator, long size, int characteristics)
iterator - the collection that should be wrapped in a split iteratorsize - the amount of elements in the iteratorcharacteristics - characteristics properties of this spliterator's source or elements.public static IntSplititerator createArraySplititerator(int[] array, int characteristics)
array - that should be wrapped into a split iteratorcharacteristics - characteristics properties of this spliterator's source or elements.public static IntSplititerator createArraySplititerator(int[] array, int size, int characteristics)
array - that should be wrapped into a split iteratorsize - the maximum index within the arraycharacteristics - characteristics properties of this spliterator's source or elements.java.lang.IllegalStateException - if the size is outside of the array sizepublic static IntSplititerator createArraySplititerator(int[] array, int offset, int size, int characteristics)
array - that should be wrapped into a split iteratoroffset - the starting index of the arraysize - the maximum index within the arraycharacteristics - characteristics properties of this spliterator's source or elements.java.lang.IllegalStateException - the offset and size are outside of the arrays rangepublic static IntSplititerator createSplititerator(IntCollection collection, int characteristics)
collection - the collection that should be wrapped in a split iteratorcharacteristics - characteristics properties of this spliterator's source or elements.public static IntSplititerator createUnknownSplititerator(IntIterator iterator, int characteristics)
iterator - the Iterator that should be wrapped in a split iteratorcharacteristics - characteristics properties of this spliterator's source or elements.public static IntSplititerator createSizedSplititerator(IntIterator iterator, long size, int characteristics)
iterator - the collection that should be wrapped in a split iteratorsize - the amount of elements in the iteratorcharacteristics - characteristics properties of this spliterator's source or elements.