|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.webmacro.util.PrimitiveArrayIterator
This provides an iterator interface to an array of primitives
| Constructor Summary | |
PrimitiveArrayIterator(java.lang.Object array)
Construct an iterator given an enumeration |
|
| Method Summary | |
boolean |
hasNext()
Return true if we have not yet reached the end of the enumeration |
static void |
main(java.lang.String[] arg)
Test harness |
java.lang.Object |
next()
Advance the iterator and return the next value. |
void |
remove()
Unsupported |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PrimitiveArrayIterator(java.lang.Object array)
| Method Detail |
public final boolean hasNext()
hasNext in interface java.util.Iterator
public final java.lang.Object next()
throws java.util.NoSuchElementException
next in interface java.util.Iteratorjava.util.NoSuchElementException
public final void remove()
throws java.lang.UnsupportedOperationException
remove in interface java.util.Iteratorjava.lang.UnsupportedOperationExceptionpublic static void main(java.lang.String[] arg)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||