Java.Util.IEnumeration
A legacy iteration interface.

See Also: IEnumeration Members

Syntax

[Android.Runtime.Register("java/util/Enumeration", "", "Java.Util.IEnumerationInvoker")]
public interface IEnumeration : Android.Runtime.IJavaObject, IDisposable

Remarks

A legacy iteration interface.

New code should use Java.Util.IIterator instead. Iterator replaces the enumeration interface and adds a way to remove elements from a collection.

If you have an Enumeration and want a Collection, you can use Collections.list(java.util.Enumeration<T>) to get a List.

If you need an Enumeration for a legacy API and have a Collection, you can use Collections.enumeration(java.util.Collection<T>).

See Also

[Android Documentation]

Requirements

Namespace: Java.Util
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1