public class IteratorEnumeration<E> extends Object implements Enumeration<E>
Enumeration
wrapping an Iterator
.Constructor and Description |
---|
IteratorEnumeration(Iterator<E> iterator)
Initiate.
|
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 © 2005–2016. All rights reserved.