public class EnumerationIterator
extends java.lang.Object
implements java.util.Iterator
| 构造器和说明 |
|---|
EnumerationIterator(java.util.Enumeration enumeration)
Creates a new iteratorwrapper instance for the specified
Enumeration.
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
hasNext()
Check to see if there is another element in the array.
|
java.lang.Object |
next()
Move to next element in the array.
|
void |
remove()
Unimplemented.
|
public EnumerationIterator(java.util.Enumeration enumeration)
enumeration - The Enumeration to wrap.public java.lang.Object next()
next 在接口中 java.util.Iteratorpublic boolean hasNext()
hasNext 在接口中 java.util.Iteratorpublic void remove()
remove 在接口中 java.util.Iterator