T
- The type the enumerator will returnpublic class IteratorEnumeration<T> extends Object implements Enumeration<T>
Constructor and Description |
---|
IteratorEnumeration(Iterator<T> it) |
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 © 2019 Communote team. All rights reserved.