Udostępnij za pośrednictwem


Spliterators.EmptySpliterator Method

Definition

Creates an empty Spliterator

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

Returns

An empty spliterator

Attributes

Remarks

Creates an empty Spliterator

The empty spliterator reports Spliterator#SIZED and Spliterator#SUBSIZED. Calls to java.util.Spliterator#trySplit() always return null.

Java documentation for java.util.Spliterators.emptySpliterator().

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