dip.process
Class Tristate

java.lang.Object
  extended bydip.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.


Field Summary
static Tristate FAILURE
           
static Tristate FALSE
           
static Tristate MAYBE
           
static Tristate NO
           
static Tristate SUCCESS
           
static Tristate TRUE
           
static Tristate UNCERTAIN
           
static Tristate YES
           
 
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
 

Field Detail

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
Method Detail

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.