java.lang.Object
speiger.src.collections.longs.utils.LongSplititerators
Helper class that provides SplitIterators for normal and stream usage
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic Spliterator.OfLongcreateArrayJavaSplititerator(long[] array, int characteristics) Creates A stream compatible split iterator without copying the original array or boxingstatic Spliterator.OfLongcreateArrayJavaSplititerator(long[] array, int size, int characteristics) Creates A stream compatible split iterator without copying the original array or boxingstatic Spliterator.OfLongcreateArrayJavaSplititerator(long[] array, int offset, int size, int characteristics) Creates A stream compatible split iterator without copying the original array or boxingstatic LongSplititeratorcreateArraySplititerator(long[] array, int characteristics) Creates a Type Specific SplitIterator to reduce boxing/unboxingstatic LongSplititeratorcreateArraySplititerator(long[] array, int size, int characteristics) Creates a Type Specific SplitIterator to reduce boxing/unboxingstatic LongSplititeratorcreateArraySplititerator(long[] array, int offset, int size, int characteristics) Creates a Type Specific SplitIterator to reduce boxing/unboxingstatic Spliterator.OfLongcreateJavaSplititerator(LongCollection collection, int characteristics) Creates a stream compatible split iterator without copying it or boxing itstatic Spliterator.OfLongcreateSizedJavaSplititerator(LongIterator iterator, long size, int characteristics) Creates a stream compatible split iterator without copying it or boxing itstatic LongSplititeratorcreateSizedSplititerator(LongIterator iterator, long size, int characteristics) Creates a Type Specific SplitIterator to reduce boxing/unboxingstatic LongSplititeratorcreateSplititerator(LongCollection collection, int characteristics) Creates a Type Specific SplitIterator to reduce boxing/unboxingstatic Spliterator.OfLongcreateUnknownJavaSplititerator(LongIterator iterator, int characteristics) Creates a stream compatible split iterator without copying it or boxing itstatic LongSplititeratorcreateUnknownSplititerator(LongIterator iterator, int characteristics) Creates a Type Specific SplitIterator to reduce boxing/unboxing
-
Konstruktordetails
-
LongSplititerators
public LongSplititerators()
-
-
Methodendetails
-
createArrayJavaSplititerator
Creates A stream compatible split iterator without copying the original array or boxing- Parameter:
array- that should be wrapped into a split iteratorcharacteristics- characteristics properties of this spliterator's source or elements.- Gibt zurück:
- a split iterator of a Stream compatible type
-
createArrayJavaSplititerator
public static Spliterator.OfLong createArrayJavaSplititerator(long[] array, int size, int characteristics) Creates A stream compatible split iterator without copying the original array or boxing- Parameter:
array- that should be wrapped into a split iteratorsize- the maximum index within the arraycharacteristics- characteristics properties of this spliterator's source or elements.- Gibt zurück:
- a split iterator of a Stream compatible type
- Löst aus:
IllegalStateException- if the size is outside of the array size
-
createArrayJavaSplititerator
public static Spliterator.OfLong createArrayJavaSplititerator(long[] array, int offset, int size, int characteristics) Creates A stream compatible split iterator without copying the original array or boxing- Parameter:
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.- Gibt zurück:
- a split iterator of a Stream compatible type
- Löst aus:
IllegalStateException- the offset and size are outside of the arrays range
-
createJavaSplititerator
public static Spliterator.OfLong createJavaSplititerator(LongCollection collection, int characteristics) Creates a stream compatible split iterator without copying it or boxing it- Parameter:
collection- the collection that should be wrapped in a split iteratorcharacteristics- characteristics properties of this spliterator's source or elements.- Gibt zurück:
- a split iterator of a Stream compatible type
-
createUnknownJavaSplititerator
public static Spliterator.OfLong createUnknownJavaSplititerator(LongIterator iterator, int characteristics) Creates a stream compatible split iterator without copying it or boxing it- Parameter:
iterator- the Iterator that should be wrapped in a split iteratorcharacteristics- characteristics properties of this spliterator's source or elements.- Gibt zurück:
- a split iterator of a Stream compatible type
-
createSizedJavaSplititerator
public static Spliterator.OfLong createSizedJavaSplititerator(LongIterator iterator, long size, int characteristics) Creates a stream compatible split iterator without copying it or boxing it- Parameter:
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.- Gibt zurück:
- a split iterator of a Stream compatible type
-
createArraySplititerator
Creates a Type Specific SplitIterator to reduce boxing/unboxing- Parameter:
array- that should be wrapped into a split iteratorcharacteristics- characteristics properties of this spliterator's source or elements.- Gibt zurück:
- a Type Specific SplitIterator
-
createArraySplititerator
public static LongSplititerator createArraySplititerator(long[] array, int size, int characteristics) Creates a Type Specific SplitIterator to reduce boxing/unboxing- Parameter:
array- that should be wrapped into a split iteratorsize- the maximum index within the arraycharacteristics- characteristics properties of this spliterator's source or elements.- Gibt zurück:
- a Type Specific SplitIterator
- Löst aus:
IllegalStateException- if the size is outside of the array size
-
createArraySplititerator
public static LongSplititerator createArraySplititerator(long[] array, int offset, int size, int characteristics) Creates a Type Specific SplitIterator to reduce boxing/unboxing- Parameter:
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.- Gibt zurück:
- a Type Specific SplitIterator
- Löst aus:
IllegalStateException- the offset and size are outside of the arrays range
-
createSplititerator
Creates a Type Specific SplitIterator to reduce boxing/unboxing- Parameter:
collection- the collection that should be wrapped in a split iteratorcharacteristics- characteristics properties of this spliterator's source or elements.- Gibt zurück:
- a Type Specific SplitIterator
-
createUnknownSplititerator
public static LongSplititerator createUnknownSplititerator(LongIterator iterator, int characteristics) Creates a Type Specific SplitIterator to reduce boxing/unboxing- Parameter:
iterator- the Iterator that should be wrapped in a split iteratorcharacteristics- characteristics properties of this spliterator's source or elements.- Gibt zurück:
- a Type Specific SplitIterator
-
createSizedSplititerator
public static LongSplititerator createSizedSplititerator(LongIterator iterator, long size, int characteristics) Creates a Type Specific SplitIterator to reduce boxing/unboxing- Parameter:
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.- Gibt zurück:
- a Type Specific SplitIterator
-