dip.process
Class Tristate
java.lang.Object
dip.process.Tristate
- public final class Tristate
- extends java.lang.Object
Trinary state object. Immutable.
This class is not serializable; if this is required,
readResolve() must be implemented to preserve the integrity
of referential equality.
Method Summary |
boolean |
equals(boolean value)
Compares a Tristate to a boolean |
static Tristate |
getTristate(boolean value)
Get a Tristate that is equivalent to the boolean |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TRUE
public static final Tristate TRUE
FALSE
public static final Tristate FALSE
UNCERTAIN
public static final Tristate UNCERTAIN
MAYBE
public static final Tristate MAYBE
YES
public static final Tristate YES
NO
public static final Tristate NO
SUCCESS
public static final Tristate SUCCESS
FAILURE
public static final Tristate FAILURE
toString
public java.lang.String toString()
equals
public boolean equals(boolean value)
- Compares a Tristate to a boolean
getTristate
public static Tristate getTristate(boolean value)
- Get a Tristate that is equivalent to the boolean
Copyright 2002-2004 Zachary DelProposto / jDip Development Team. All Rights Reserved.