E - 元素类型public class EnumerationIterator<E> extends Object implements IterableIterator<E>, Serializable
Enumeration对象转Iterator对象| Constructor and Description |
|---|
EnumerationIterator(Enumeration<E> enumeration)
构造
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
Iterator<E> |
iterator() |
E |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorforEachRemainingpublic EnumerationIterator(Enumeration<E> enumeration)
enumeration - Enumeration对象Copyright © 2021. All rights reserved.