|
JAPI 0.9.0 Yet another Java API API Documentation |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.japi.util.IteratorEnumeration<T>
public class IteratorEnumeration<T>
Enumeration proxy for Iterators. Instances are not reusable.
| Constructor Summary | |
|---|---|
IteratorEnumeration(Iterator<T> iterator)
Create an Enumeration for an Iterator. |
|
| Method Summary | |
|---|---|
boolean |
hasMoreElements()
Tests if this enumeration contains more elements. |
T |
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(Iterator<T> iterator)
iterator - Iterator to create Enumeration for| Method Detail |
|---|
public boolean hasMoreElements()
hasMoreElements in interface Enumeration<T>true if and only if this enumeration object
contains at least one more element to provide;
false otherwise.public T nextElement()
nextElement in interface Enumeration<T>
|
JAPI Yet another Java API API Documentation |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||