IIterator IIterator Interface

Definition

An iterator over a sequence of objects, such as a collection.

[Android.Runtime.Register("java/util/Iterator", "", "Java.Util.IIteratorInvoker", ApiSince=1)]
[Java.Interop.JavaTypeParameters(new System.String[] { "E" })]
public interface IIterator : Android.Runtime.IJavaObject, IDisposable
type IIterator = interface
    interface IJavaObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

Android platform documentation

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.

Properties

Handle Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)
HasNext HasNext

Returns true if there is at least one more element, false otherwise.

Methods

Next() Next()

Returns the next object and advances the iterator.

Remove() Remove()

Removes the last object returned by next from the collection.

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Applies to