Spliterators.SpliteratorUnknownSize Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a Spliterator
using a given Iterator
as the source of elements, with no initial size estimate.
[Android.Runtime.Register("spliteratorUnknownSize", "(Ljava/util/Iterator;I)Ljava/util/Spliterator;", "", ApiSince=24)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public static Java.Util.ISpliterator? SpliteratorUnknownSize (Java.Util.IIterator? iterator, Java.Util.SpliteratorCharacteristics characteristics);
[<Android.Runtime.Register("spliteratorUnknownSize", "(Ljava/util/Iterator;I)Ljava/util/Spliterator;", "", ApiSince=24)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
static member SpliteratorUnknownSize : Java.Util.IIterator * Java.Util.SpliteratorCharacteristics -> Java.Util.ISpliterator
- iterator
- IIterator
The iterator for the source
- characteristics
- SpliteratorCharacteristics
Characteristics of this spliterator's source
or elements (SIZED
and SUBSIZED
, if supplied, are
ignored and are not reported.)
A spliterator from an iterator
- Attributes
Creates a Spliterator
using a given Iterator
as the source of elements, with no initial size estimate.
The spliterator is not <em>late-binding</em>, inherits the <em>fail-fast</em> properties of the iterator, and implements trySplit
to permit limited parallelism.
Traversal of elements should be accomplished through the spliterator. The behaviour of splitting and traversal is undefined if the iterator is operated on after the spliterator is returned.
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.