|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.util.collect.IteratorEnumeration<E>
E
- the type of element produced.public class IteratorEnumeration<E>
Adaptor for turning an Iterator
an into Enumeration
.
Method Summary | ||
---|---|---|
static
|
fromIterator(java.util.Iterator<? extends E> iterator)
|
|
boolean |
hasMoreElements()
|
|
E |
nextElement()
|
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.Enumeration<E> fromIterator(java.util.Iterator<? extends E> iterator)
public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration<E>
public E nextElement()
nextElement
in interface java.util.Enumeration<E>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |