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