com.caucho.hessian.test
Class TestCons

java.lang.Object
  extended by com.caucho.hessian.test.TestCons
All Implemented Interfaces:
java.io.Serializable

public class TestCons
extends java.lang.Object
implements java.io.Serializable

Cons-cell for testing

See Also:
Serialized Form

Constructor Summary
TestCons()
           
TestCons(java.lang.Object first)
           
TestCons(java.lang.Object first, java.lang.Object rest)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestCons

public TestCons()

TestCons

public TestCons(java.lang.Object first)

TestCons

public TestCons(java.lang.Object first,
                java.lang.Object rest)
Method Detail

getFirst

public java.lang.Object getFirst()

setFirst

public void setFirst(java.lang.Object first)

getRest

public java.lang.Object getRest()

setRest

public void setRest(java.lang.Object rest)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toString

public java.lang.String toString(java.util.HashMap map)