|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.common.util.iterator.IteratorEnumeration
public class IteratorEnumeration
Enumerates from an iterated object.
| Constructor Summary | |
|---|---|
IteratorEnumeration(java.util.Iterator iterator)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
hasMoreElements()
Tests if this enumeration contains more elements. |
java.lang.Object |
nextElement()
Returns the next element of this enumeration if this enumeration object has at least one more element to provide. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IteratorEnumeration(java.util.Iterator iterator)
iterator - The iterator to enumerate| Method Detail |
|---|
public boolean hasMoreElements()
hasMoreElements in interface java.util.Enumerationtrue if and only if this enumeration object
contains at least one more element to provide;
false otherwise.public java.lang.Object nextElement()
nextElement in interface java.util.EnumerationNoSuchElementException - if no more elements exist.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||