public class IteratorEnumeration<T> extends Object implements Enumeration<T>
| Constructor and Description |
|---|
IteratorEnumeration(Iterator<? extends 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 © 2014–2021 OSGL (Open Source General Library). All rights reserved.