spec.benchmarks.serial.data
Class TestExternalizable
java.lang.Object
spec.benchmarks.serial.data.TestExternalizable
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable
public class TestExternalizable
- extends java.lang.Object
- implements java.io.Externalizable
$Id: TestExternalizable.java,v 1.2 2005/09/21 20:40:06 csuconic Exp $
- Author:
- Clebert Suconic
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
TestExternalizable
public TestExternalizable()
TestExternalizable
public TestExternalizable(int test)
createTestInstance
public static TestExternalizable createTestInstance()
throws java.lang.Exception
- Throws:
java.lang.Exception
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
getTest
public int getTest()
setTest
public void setTest(int test)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object