|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.isi.stella.javalib.ConsEnumeration
public class ConsEnumeration
An Enumeration for Stells Conses. This class allows iteration over a Stella Cons using the java.util.Enumeration interface.
| Field Summary | |
|---|---|
protected Cons |
cons
|
| Constructor Summary | |
|---|---|
ConsEnumeration(Cons theCons)
Creates a new Enumeration that will range over the values in the Stella Cons. |
|
| Method Summary | |
|---|---|
boolean |
hasMoreElements()
Tests if more elements are available. |
java.lang.Object |
nextElement()
Returns the next Stella_Object contained in the Cons. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Cons cons
| Constructor Detail |
|---|
public ConsEnumeration(Cons theCons)
theCons - An instance of a Stella Cons.| 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 | ||||||||