public class TestCons
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
TestCons() |
TestCons(java.lang.Object first) |
TestCons(java.lang.Object first,
java.lang.Object rest) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.Object |
getFirst() |
java.lang.Object |
getRest() |
void |
setFirst(java.lang.Object first) |
void |
setRest(java.lang.Object rest) |
java.lang.String |
toString() |
java.lang.String |
toString(java.util.HashMap map) |
public TestCons()
public TestCons(java.lang.Object first)
public TestCons(java.lang.Object first, java.lang.Object rest)
public java.lang.Object getFirst()
public void setFirst(java.lang.Object first)
public java.lang.Object getRest()
public void setRest(java.lang.Object rest)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(java.util.HashMap map)