|
Copyright 2012-02-25 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectch.randelshofer.util.EnumIterator<T>
public class EnumIterator<T>
Wraps an Enumeratin with the Iterator interface.
| Constructor Summary | |
|---|---|
EnumIterator(java.util.Enumeration<T> e)
Creates new EnumIterator |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
|
T |
next()
|
void |
remove()
Throws always UnsupportedOperationException. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EnumIterator(java.util.Enumeration<T> e)
| 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>java.lang.UnsupportedOperationException
|
Copyright 2012-02-25 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||