FileDocCategorySizeDatePackage
Enumeration.javaAPI DocAndroid 1.5 API1735Wed May 06 22:41:04 BST 2009java.util

Enumeration

public interface Enumeration
An Enumeration is used to sequence over a collection of objects.

Preferably an Iterator should be used. Iterator replaces the Enumeration interface and adds a way to remove elements from a collection.

see
Hashtable
see
Properties
see
Vector
since
Android 1.0

Fields Summary
Constructors Summary
Methods Summary
public booleanhasMoreElements()
Returns whether this {@code Enumeration} has more elements.

return
{@code true} if there are more elements, {@code false} otherwise.
see
#nextElement
since
Android 1.0

public EnextElement()
Returns the next element in this {@code Enumeration}.

return
the next element..
throws
NoSuchElementException if there are no more elements.
see
#hasMoreElements
since
Android 1.0