|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmoka.lang.Object
moka.util.Enumeration
Class Enumeration
represents an object generates a
series of elements, one at a time. Successive calls to the
nextElement
method return successive elements of the
series.
Field Summary | |
protected Entry |
current
The current element. |
protected Entry |
first
The first element of the enumeration. |
Constructor Summary | |
Enumeration()
|
Method Summary | |
boolean |
hasMoreElements()
Tests if this enumeration contains more elements. |
Object |
nextElement()
Returns the next element of this enumeration if this enumeration object has at least one more element to provide. |
Methods inherited from class moka.lang.Object |
equals, finalize, getClassName, toString |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected Entry first
protected Entry current
Constructor Detail |
public Enumeration()
Method Detail |
public boolean hasMoreElements()
true
if and only if this enumeration object
contains at least one more element to provide;
false
otherwise.public Object nextElement()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |