public class EnumerationIterator<E> extends Object implements Iterator<E>
EnumerationIterator provides an iterator from an
Enumeration.| Constructor and Description |
|---|
EnumerationIterator(Enumeration<E> e) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Returns true if the iteration has more elements.
|
E |
next()
Returns the next element in the iteration.
|
void |
remove()
This method is not supported for enumerations.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic EnumerationIterator(Enumeration<E> e)
public boolean hasNext()
public E next()
Copyright © 2020 SNMP4J.org. All rights reserved.