IIterator.Next Method

Definition

Returns the next element in the iteration.

[Android.Runtime.Register("next", "()Ljava/lang/Object;", "GetNextHandler:Java.Util.IIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Lang.Object? Next ();
[<Android.Runtime.Register("next", "()Ljava/lang/Object;", "GetNextHandler:Java.Util.IIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Next : unit -> Java.Lang.Object

Returns

the next element in the iteration

Attributes

Exceptions

if there are no more elements.

Remarks

Returns the next element in the iteration.

Java documentation for java.util.Iterator.next().

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

See also