|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjwutil.collections.UnmodifiableIterator
jwutil.collections.EnumerationIterator
public class EnumerationIterator
An EnumerationIterator converts an Enumeration
into an Iterator.
| Constructor Summary | |
|---|---|
EnumerationIterator(java.util.Enumeration e)
Creates a EnumerationIterator. |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
Returns true if the iteration has more elements. |
java.lang.Object |
next()
Returns the next element in the iteration. |
| Methods inherited from class jwutil.collections.UnmodifiableIterator |
|---|
remove |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Iterator |
|---|
remove |
| Constructor Detail |
|---|
public EnumerationIterator(java.util.Enumeration e)
EnumerationIterator.
| Method Detail |
|---|
public boolean hasNext()
UnmodifiableIteratortrue if the iteration has more elements.
hasNext in interface java.util.IteratorhasNext in class UnmodifiableIteratortrue if the iterator has more elements.public java.lang.Object next()
UnmodifiableIterator
next in interface java.util.Iteratornext in class UnmodifiableIterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||