public class IteratorAsEnumeration<E> extends Object implements Enumeration<E>
Constructor and Description |
---|
IteratorAsEnumeration(Iterator<E> iterator) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasMoreElements() |
E |
nextElement() |
public boolean hasMoreElements()
hasMoreElements
in interface Enumeration<E>
public E nextElement()
nextElement
in interface Enumeration<E>
Copyright © 2012-2018. All Rights Reserved.