|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstresstests.datasets.AList<T>
stresstests.datasets.ConsList<T>
public class ConsList<T>
Nonempty list of T class ConsList 20 November 2007
Field Summary | |
---|---|
T |
first
the first item in the list |
AList<T> |
rest
the rest of the list |
Constructor Summary | |
---|---|
ConsList(T s,
AList<T> r)
The full constructor |
Method Summary | |
---|---|
static void |
main(java.lang.String[] argv)
Self Test |
java.lang.String |
toString()
Print all member data values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public T first
public AList<T> rest
Constructor Detail |
---|
public ConsList(T s, AList<T> r)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public static void main(java.lang.String[] argv)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |