IListIterator.Next 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 the next element in the list and advances the cursor position.
[Android.Runtime.Register("next", "()Ljava/lang/Object;", "GetNextHandler:Java.Util.IListIteratorInvoker, 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.IListIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Next : unit -> Java.Lang.Object
Returns
the next element in the list
Implements
- Attributes
Exceptions
if there are no more elements.
Remarks
Returns the next element in the list and advances the cursor position. This method may be called repeatedly to iterate through the list, or intermixed with calls to #previous
to go back and forth. (Note that alternating calls to next
and previous
will return the same element repeatedly.)
Java documentation for java.util.ListIterator.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.