public class IteratorEnumeration<T> extends Object implements Enumeration<T>
Constructor and Description |
---|
IteratorEnumeration(Iterator<T> iterator) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasMoreElements() |
T |
nextElement() |
public boolean hasMoreElements()
hasMoreElements
in interface Enumeration<T>
public T nextElement()
nextElement
in interface Enumeration<T>
Copyright © 2016 JBoss by Red Hat. All rights reserved.