IBaseStream.Iterator Method

Definition

Returns an iterator for the elements of this stream.

[Android.Runtime.Register("iterator", "()Ljava/util/Iterator;", "GetIteratorHandler:Java.Util.Streams.IBaseStreamInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)]
public Java.Util.IIterator? Iterator ();
[<Android.Runtime.Register("iterator", "()Ljava/util/Iterator;", "GetIteratorHandler:Java.Util.Streams.IBaseStreamInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]
abstract member Iterator : unit -> Java.Util.IIterator

Returns

the element iterator for this stream

Attributes

Remarks

Returns an iterator for the elements of this stream.

This is a terminal operation.

Java documentation for java.util.stream.BaseStream.iterator().

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