Class Logical

java.lang.Object
  |
  +--Logical
All Implemented Interfaces:
FILisable, java.io.Serializable

public class Logical
extends java.lang.Object
implements java.io.Serializable, FILisable

The class `Logical' represents logical literals (i.e. TRUE, FALSE or UNKNOWN) in FIL.

See Also:
Serialized Form

Field Summary
static Logical FALSE
           
static Logical TRUE
           
static Logical UNKNOWN
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Returns true if obj is an instance of Logical, and it contains the same value as this object.
 java.lang.String FILise(boolean HTML)
          Returns a string representing the logical literal in FIL.
 java.lang.String toString()
          Returns a string representation of the Logical object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TRUE

public static final Logical TRUE

FALSE

public static final Logical FALSE

UNKNOWN

public static final Logical UNKNOWN
Method Detail

equals

public boolean equals(java.lang.Object obj)
Returns true if obj is an instance of Logical, and it contains the same value as this object.
Overrides:
equals in class java.lang.Object
Parameters:
obj - The object to be compared with this object.
Returns:
true if the objects are equal, false if they are not.

toString

public java.lang.String toString()
Returns a string representation of the Logical object.
Overrides:
toString in class java.lang.Object
Returns:
A string representation of the Logical object.

FILise

public java.lang.String FILise(boolean HTML)
Returns a string representing the logical literal in FIL.
Specified by:
FILise in interface FILisable
Parameters:
HTML - If true, the FIL will be augmented with HTML tags.
Returns:
A string representing the logical literal in FIL.