|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.isi.stella.javalib.StellaIterator
public class StellaIterator
An Iterator for Stella Iterators. Accepts a Stella Iterator and allows access to it using the standard Java Iterator interface.
Field Summary | |
---|---|
protected Iterator |
iter
|
protected boolean |
moreP
|
Constructor Summary | |
---|---|
StellaIterator(Iterator theIter)
Creates a new Java Iterator that will range over the values in the Stella Iterator. |
Method Summary | |
---|---|
boolean |
hasNext()
Tests if more elements are available. |
java.lang.Object |
next()
Returns the next Stella_Object provided by the encapsulated Iterator. |
void |
remove()
Remove is unsupported for StellaIterators. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Iterator iter
protected boolean moreP
Constructor Detail |
---|
public StellaIterator(Iterator theIter)
theIter
- An instance of a Stella Iterator.Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
public void remove()
remove
in interface java.util.Iterator
java.lang.UnsupportedOperationException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |