CopyOnWriteArrayList.Spliterator Method
Definition
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.
Returns a Spliterator
over the elements in this list.
[Android.Runtime.Register("spliterator", "()Ljava/util/Spliterator;", "GetSpliteratorHandler", ApiSince=26)]
public virtual Java.Util.ISpliterator Spliterator ();
[<Android.Runtime.Register("spliterator", "()Ljava/util/Spliterator;", "GetSpliteratorHandler", ApiSince=26)>]
abstract member Spliterator : unit -> Java.Util.ISpliterator
override this.Spliterator : unit -> Java.Util.ISpliterator
Returns
a Spliterator
over the elements in this list
Implements
- Attributes
Remarks
Returns a Spliterator
over the elements in this list.
The Spliterator
reports Spliterator#IMMUTABLE
, Spliterator#ORDERED
, Spliterator#SIZED
, and Spliterator#SUBSIZED
.
The spliterator provides a snapshot of the state of the list when the spliterator was constructed. No synchronization is needed while operating on the spliterator.
Added in 1.8.
Java documentation for java.util.concurrent.CopyOnWriteArrayList.spliterator()
.
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.