加载中...
The Wayback Machine - https://sup1a9wrlpyh5li9ro.vcoronado.top/web/20090218033516/http://developer.android.com:80/reference/java/util/Enumeration.html
public interface

Enumeration

java.util.Enumeration<E>
Known Indirect Subclasses

Class Overview

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

Summary

Public Methods
abstract boolean hasMoreElements()
Returns if this Enumeration has more elements.
abstract E nextElement()
Returns the next element in this Enumeration.

Public Methods

public abstract boolean hasMoreElements ()

Returns if this Enumeration has more elements.

Returns
  • true if there are more elements, false otherwise
See Also

public abstract E nextElement ()

Returns the next element in this Enumeration.

Returns
  • the next element in this Enumeration
Throws
NoSuchElementException when there are no more elements