org.progeeks.cmd
Class ObjectResult
java.lang.Object
org.progeeks.cmd.ObjectResult
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable, Result
public class ObjectResult
- extends java.lang.Object
- implements Result, java.io.Externalizable
Generic result holder object.
- Version:
- $Revision: 1.3 $
- Author:
- Paul Speed
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EMPTY_RESULT
public static final ObjectResult EMPTY_RESULT
ObjectResult
public ObjectResult()
ObjectResult
public ObjectResult(java.lang.Object result)
getValue
public java.lang.Object getValue()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Optimized reading.
- Specified by:
readExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Optimized writing.
- Specified by:
writeExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
Copyright © 2002-2003 Paul Speed. All Rights Reserved.