|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.common.util.iterator.EnumerationIterator
public class EnumerationIterator
Enumerates from an iterated object.
| Constructor Summary | |
|---|---|
EnumerationIterator(java.util.Enumeration enumeration)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
Tests if this enumeration contains more elements. |
java.lang.Object |
next()
Returns the next element of this enumeration if this enumeration object has at least one more element to provide. |
void |
remove()
Removes from the underlying collection the last element returned by the iterator (optional operation). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EnumerationIterator(java.util.Enumeration enumeration)
enumeration - The enumeration to iterate| Method Detail |
|---|
public boolean hasNext()
hasNext in interface java.util.Iteratortrue if and only if this enumeration object
contains at least one more element to provide;
false otherwise.public java.lang.Object next()
next in interface java.util.IteratorNoSuchElementException - if no more elements exist.public void remove()
remove in interface java.util.Iteratorjava.lang.UnsupportedOperationException - The remove operation is not supported by this Iterator.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||