|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectanl.aida.util.EnumIter<T>
public class EnumIter<T>
Wraps an enumeration in the Iterable interface.
Field Summary | |
---|---|
private java.util.Enumeration |
enumeration
|
Constructor Summary | |
---|---|
EnumIter(java.util.Enumeration enumeration)
|
Method Summary | |
---|---|
boolean |
hasNext()
|
java.util.Iterator<T> |
iterator()
|
T |
next()
|
void |
remove()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.Enumeration enumeration
Constructor Detail |
---|
public EnumIter(java.util.Enumeration enumeration)
Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator<T>
public T next()
next
in interface java.util.Iterator<T>
public void remove()
remove
in interface java.util.Iterator<T>
public java.util.Iterator<T> iterator()
iterator
in interface java.lang.Iterable<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |