org.progeeks.cmd
Class BooleanResult
java.lang.Object
org.progeeks.cmd.BooleanResult
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable, Result
public class BooleanResult
- extends java.lang.Object
- implements Result, java.io.Externalizable
Contains the true/false result of a command execution. These
primitive wrappers are nice because they eleminate an extra
object allocation.
- 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 |
BooleanResult
public BooleanResult()
BooleanResult
public BooleanResult(boolean result)
isTrue
public boolean isTrue()
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
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2002-2003 Paul Speed. All Rights Reserved.