E - the type of element produced.public class IteratorEnumeration<E> extends Object implements Enumeration<E>
Iterator an into Enumeration.| Modifier and Type | Method and Description |
|---|---|
static <E> Enumeration<E> |
fromIterable(Iterable<? extends E> iterable) |
static <E> Enumeration<E> |
fromIterator(Iterator<? extends E> iterator) |
boolean |
hasMoreElements() |
E |
nextElement() |
public static <E> Enumeration<E> fromIterator(Iterator<? extends E> iterator)
public static <E> Enumeration<E> fromIterable(Iterable<? extends E> iterable)
public boolean hasMoreElements()
hasMoreElements in interface Enumeration<E>public E nextElement()
nextElement in interface Enumeration<E>Copyright © 2002-2016 Atlassian. All Rights Reserved.