|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.util.collect.EnumerationIterator<E>
E
- the type of element produced.public class EnumerationIterator<E>
Adaptor for turning an Enumeration
into an Iterator
.
Method Summary | ||
---|---|---|
static
|
fromEnumeration(java.util.Enumeration<? extends E> enumeration)
|
|
boolean |
hasNext()
|
|
E |
next()
|
|
void |
remove()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static <E> java.util.Iterator<E> fromEnumeration(java.util.Enumeration<? extends E> enumeration)
public boolean hasNext()
hasNext
in interface java.util.Iterator<E>
public E next()
next
in interface java.util.Iterator<E>
public void remove()
remove
in interface java.util.Iterator<E>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |