|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.isi.stella.javalib.StellaEnumeration
public class StellaEnumeration
An Enumeration for Stella Iterators. Accepts a Stella Iterator and allows access to it using the standard java.util.Enumeration interface.
| Field Summary | |
|---|---|
protected Iterator |
iter
|
protected boolean |
moreP
|
| Constructor Summary | |
|---|---|
StellaEnumeration(Iterator theIter)
Creates a new Enumeration that will range over the values in the Stella Iterator. |
|
| Method Summary | |
|---|---|
boolean |
hasMoreElements()
Tests if more elements are available. |
java.lang.Object |
nextElement()
Returns the next Stella_Object provided by the encapsulated Iterator. |
| 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 StellaEnumeration(Iterator theIter)
theIter - An instance of a Stella Iterator.| Method Detail |
|---|
public boolean hasMoreElements()
hasMoreElements in interface java.util.Enumerationpublic java.lang.Object nextElement()
nextElement in interface java.util.Enumeration
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||