Udostępnij za pośrednictwem


Arrays.Spliterator Method

Definition

Overloads

Spliterator(Object[], Int32, Int32)

Returns a Spliterator covering the specified range of the specified array.

Spliterator(Object[])

Returns a Spliterator covering all of the specified array.

Spliterator(Object[], Int32, Int32)

Returns a Spliterator covering the specified range of the specified array.

[Android.Runtime.Register("spliterator", "([Ljava/lang/Object;II)Ljava/util/Spliterator;", "", ApiSince=24)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public static Java.Util.ISpliterator Spliterator (Java.Lang.Object[] array, int startInclusive, int endExclusive);
[<Android.Runtime.Register("spliterator", "([Ljava/lang/Object;II)Ljava/util/Spliterator;", "", ApiSince=24)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
static member Spliterator : Java.Lang.Object[] * int * int -> Java.Util.ISpliterator

Parameters

array
Object[]

the array, assumed to be unmodified during use

startInclusive
Int32

the first index to cover, inclusive

endExclusive
Int32

index immediately past the last index to cover

Returns

a spliterator for the array elements

Attributes

Remarks

Returns a Spliterator covering the specified range of the specified array.

The spliterator reports Spliterator#SIZED, Spliterator#SUBSIZED, Spliterator#ORDERED, and Spliterator#IMMUTABLE.

Added in 1.8.

Java documentation for java.util.Arrays.spliterator(T[], int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Spliterator(Object[])

Returns a Spliterator covering all of the specified array.

[Android.Runtime.Register("spliterator", "([Ljava/lang/Object;)Ljava/util/Spliterator;", "", ApiSince=24)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public static Java.Util.ISpliterator Spliterator (Java.Lang.Object[] array);
[<Android.Runtime.Register("spliterator", "([Ljava/lang/Object;)Ljava/util/Spliterator;", "", ApiSince=24)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
static member Spliterator : Java.Lang.Object[] -> Java.Util.ISpliterator

Parameters

array
Object[]

the array, assumed to be unmodified during use

Returns

a spliterator for the array elements

Attributes

Remarks

Returns a Spliterator covering all of the specified array.

The spliterator reports Spliterator#SIZED, Spliterator#SUBSIZED, Spliterator#ORDERED, and Spliterator#IMMUTABLE.

Added in 1.8.

Java documentation for java.util.Arrays.spliterator(T[]).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to