IListIterator.NextIndex 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 index of the element that would be returned by a
subsequent call to #next
.
[Android.Runtime.Register("nextIndex", "()I", "GetNextIndexHandler:Java.Util.IListIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public int NextIndex ();
[<Android.Runtime.Register("nextIndex", "()I", "GetNextIndexHandler:Java.Util.IListIteratorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member NextIndex : unit -> int
Returns
the index of the element that would be returned by a
subsequent call to next
, or list size if the list
iterator is at the end of the list
- Attributes
Exceptions
if there are no more elements.
Remarks
Returns the index of the element that would be returned by a subsequent call to #next
. (Returns list size if the list iterator is at the end of the list.)
Java documentation for java.util.ListIterator.nextIndex()
.
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.