public class IteratorEnumeration extends Object implements Enumeration
Iterator to Enumeration Adapter.| Constructor and Description |
|---|
IteratorEnumeration(Iterator iterator) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasMoreElements() |
Object |
nextElement() |
public IteratorEnumeration(Iterator iterator)
public boolean hasMoreElements()
hasMoreElements in interface Enumerationpublic Object nextElement()
nextElement in interface EnumerationCopyright © 2020. All rights reserved.