org.jpop.util
Class Bool

java.lang.Object
  extended byorg.jpop.util.Bool

public final class Bool
extends java.lang.Object

Provides boolean operations in objects of this or Boolean type

Author:
dsm

Field Summary
static Bool FALSE
          Bool representation of false
static Bool TRUE
          Bool representation of true
 
Constructor Summary
Bool(boolean value)
          Constructor for the Bool object
Bool(java.lang.String value)
          Constructor for the Bool object
 
Method Summary
 boolean and(Bool b)
          Performs a logic and operation on the object with b (Same as this && b)
static boolean and(Bool a, Bool b)
          Performs a logic and operation on a and b (Same as a && b)
static boolean and(Bool a, boolean b)
          Performs a logic and operation on a and b (Same as a && b)
static boolean and(Bool a, java.lang.Boolean b)
          Performs a logic and operation on a and b (Same as a && b)
 boolean and(boolean b)
          Performs a logic and operation on the object with b (Same as this && b)
 boolean and(java.lang.Boolean b)
          Performs a logic and operation on the object with b (Same as this && b)
static boolean and(boolean a, Bool b)
          Performs a logic and operation on a and b (Same as a && b)
static boolean and(java.lang.Boolean a, Bool b)
          Performs a logic and operation on a and b (Same as a && b)
static boolean and(boolean a, boolean b)
          Performs a logic and operation on a and b (Same as a && b)
static boolean and(boolean a, java.lang.Boolean b)
          Performs a logic and operation on a and b (Same as a && b)
static boolean and(java.lang.Boolean a, boolean b)
          Performs a logic and operation on a and b (Same as a && b)
static boolean and(java.lang.Boolean a, java.lang.Boolean b)
          Performs a logic and operation on a and b (Same as a && b)
 boolean booleanValue()
          Gets the value of the object
 boolean equals(boolean b)
          checks a boolean against the value of the object
 boolean equals(java.lang.Object obj)
          Returns true if and only if the argument is not null and is a Boolean or Bool object that represents the same boolean value as this object.
static boolean getBoolean(java.lang.String name)
          Acts in the same way as Boolean.getBoolean().
 int hashCode()
          Returns a hash code for this Boolean object.
 boolean implies(Bool b)
          Performs an implies ( --> ) operation on the object and b
static boolean implies(Bool a, Bool b)
          Performs an implies ( --> ) operation on a and b
static boolean implies(Bool a, boolean b)
          Performs an implies ( --> ) operation on a and b
static boolean implies(Bool a, java.lang.Boolean b)
          Performs an implies ( --> ) operation on a and b
 boolean implies(boolean b)
          Performs an implies ( --> ) operation on the object and b
 boolean implies(java.lang.Boolean b)
          Performs an implies ( --> ) operation on the object and b
static boolean implies(boolean a, Bool b)
          Performs an implies ( --> ) operation on a and b
static boolean implies(java.lang.Boolean a, Bool b)
          Performs an implies ( --> ) operation on a and b
static boolean implies(boolean a, boolean b)
          Performs an implies ( --> ) operation on a and b
static boolean implies(boolean a, java.lang.Boolean b)
          Performs an implies ( --> ) operation on a and b
static boolean implies(java.lang.Boolean a, boolean b)
          Performs an implies ( --> ) operation on a and b
static boolean implies(java.lang.Boolean a, java.lang.Boolean b)
          Performs an implies ( --> ) operation on a and b
static void main(java.lang.String[] args)
          The main program for the Bool class (Just for testing)
 boolean nand(Bool b)
          Performs a nand operation on the object and b
static boolean nand(Bool a, Bool b)
          Performs a nand operation on a and b
static boolean nand(Bool a, boolean b)
          Performs a nand operation on a and b
static boolean nand(Bool a, java.lang.Boolean b)
          Performs a nand operation on a and b
 boolean nand(boolean b)
          Performs a nand operation on the object and b
 boolean nand(java.lang.Boolean b)
          Performs a nand operation on the object and b
static boolean nand(boolean a, Bool b)
          Performs a nand operation on a and b
static boolean nand(java.lang.Boolean a, Bool b)
          Performs a nand operation on a and b
static boolean nand(boolean a, boolean b)
          Performs a nand operation on a and b
static boolean nand(boolean a, java.lang.Boolean b)
          Performs a nand operation on a and b
static boolean nand(java.lang.Boolean a, boolean b)
          Performs a nand operation on a and b
static boolean nand(java.lang.Boolean a, java.lang.Boolean b)
          Performs a nand operation on a and b
 boolean nor(Bool b)
          Performs a nor operation on the object and b
static boolean nor(Bool a, Bool b)
          Performs a nor operation on a and b
static boolean nor(Bool a, boolean b)
          Performs a nor operation on a and b
static boolean nor(Bool a, java.lang.Boolean b)
          Performs a nor operation on a and b
 boolean nor(boolean b)
          Performs a nor operation on the object and b
 boolean nor(java.lang.Boolean b)
          Performs a nor operation on the object and b
static boolean nor(boolean a, Bool b)
          Performs a nor operation on a and b
static boolean nor(java.lang.Boolean a, Bool b)
          Performs a nor operation on a and b
static boolean nor(boolean a, boolean b)
          Performs a nor operation on a and b
static boolean nor(boolean a, java.lang.Boolean b)
          Performs a nor operation on a and b
static boolean nor(java.lang.Boolean a, boolean b)
          Performs a nor operation on a and b
static boolean nor(java.lang.Boolean a, java.lang.Boolean b)
          Performs a nor operation on a and b
 boolean not()
          Perform a logic not operation (same as !this)
static boolean not(Bool b)
          Perform a logic not operation on b (same as !b)
static boolean not(boolean b)
          Perform a logic not operation on b (same as !b)
static boolean not(java.lang.Boolean b)
          Perform a logic not operation on b (same as !b)
 boolean or(Bool b)
          Performs a logic or operation on the object with b (Same as this || b)
static boolean or(Bool a, Bool b)
          Performs a logic or operation on a and b (Same as a || b)
static boolean or(Bool a, boolean b)
          Performs a logic or operation on a and b (Same as a || b)
static boolean or(Bool a, java.lang.Boolean b)
          Performs a logic or operation on a and b (Same as a || b)
 boolean or(boolean b)
          Performs a logic or operation on the object with b (Same as this || b)
 boolean or(java.lang.Boolean b)
          Performs a logic or operation on the object with b (Same as this || b)
static boolean or(boolean a, Bool b)
          Performs a logic or operation on a and b (Same as a || b)
static boolean or(java.lang.Boolean a, Bool b)
          Performs a logic or operation on a and b (Same as a || b)
static boolean or(boolean a, boolean b)
          Performs a logic or operation on a and b (Same as a || b)
static boolean or(boolean a, java.lang.Boolean b)
          Performs a logic or operation on a and b (Same as a || b)
static boolean or(java.lang.Boolean a, boolean b)
          Performs a logic or operation on a and b (Same as a || b)
static boolean or(java.lang.Boolean a, java.lang.Boolean b)
          Performs a logic or operation on a and b (Same as a || b)
 java.lang.String toString()
          Makes a String description of the object
static java.lang.String toString(boolean b)
          Makes a String representation of the logic value of b
static Bool valueOf(boolean b)
          Makes a Bool with the value of the boolean b
static Bool valueOf(java.lang.String s)
          Makes a Bool with the value of the string s
 boolean xor(Bool b)
          Performs an eXclusive or operation on the object and b
static boolean xor(Bool a, Bool b)
          Performs an eXclusive or operation on a and b
static boolean xor(Bool a, boolean b)
          Performs an eXclusive or operation on a and b
static boolean xor(Bool a, java.lang.Boolean b)
          Performs an eXclusive or operation on a and b
 boolean xor(boolean b)
          Performs an eXclusive or operation on the object and b
 boolean xor(java.lang.Boolean b)
          Performs an eXclusive or operation on the object and b
static boolean xor(boolean a, Bool b)
          Performs an eXclusive or operation on a and b
static boolean xor(java.lang.Boolean a, Bool b)
          Performs an eXclusive or operation on a and b
static boolean xor(boolean a, boolean b)
          Performs an eXclusive or operation on a and b
static boolean xor(boolean a, java.lang.Boolean b)
          Performs an eXclusive or operation on a and b
static boolean xor(java.lang.Boolean a, boolean b)
          Performs an eXclusive or operation on a and b
static boolean xor(java.lang.Boolean a, java.lang.Boolean b)
          Performs an eXclusive or operation on a and b
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TRUE

public static final Bool TRUE
Bool representation of true


FALSE

public static final Bool FALSE
Bool representation of false

Constructor Detail

Bool

public Bool(boolean value)
Constructor for the Bool object

Parameters:
value - The logic value of the object

Bool

public Bool(java.lang.String value)
Constructor for the Bool object

Parameters:
value - A case insensitive String representing the logic value of the object, like "true"
Method Detail

getBoolean

public static boolean getBoolean(java.lang.String name)
Acts in the same way as Boolean.getBoolean(). In fact it returns a call to that method

Parameters:
name - the system property name.
Returns:
The boolean value of the system property.

toString

public static java.lang.String toString(boolean b)
Makes a String representation of the logic value of b

Parameters:
b - A boolean for which a String is required
Returns:
Either "true" or "false" depending on the value of b

valueOf

public static Bool valueOf(java.lang.String s)
Makes a Bool with the value of the string s

Parameters:
s - A case insensitive string that signals the value of the Bool ("true" returns true, "dog" returns false.
Returns:
Bool(true) or Bool(false) depending on what the string says

valueOf

public static Bool valueOf(boolean b)
Makes a Bool with the value of the boolean b

Parameters:
b - Description of Parameter
Returns:
Bool(true) or Bool(false) depending on what the boolean says

main

public static void main(java.lang.String[] args)
The main program for the Bool class (Just for testing)

Parameters:
args - The command line arguments

not

public static boolean not(Bool b)
Perform a logic not operation on b (same as !b)

Parameters:
b - The value to apply logical not to
Returns:
The opposite of the value of the parameter

not

public static boolean not(java.lang.Boolean b)
Perform a logic not operation on b (same as !b)

Parameters:
b - The value to apply logical not to
Returns:
The opposite of the value of the parameter

not

public static boolean not(boolean b)
Perform a logic not operation on b (same as !b)

Parameters:
b - The value to apply logical not to
Returns:
The opposite of the value of the parameter

and

public static boolean and(boolean a,
                          boolean b)
Performs a logic and operation on a and b (Same as a && b)

Parameters:
b - The first object to perform the operation with
a - Description of Parameter
Returns:
whether the and operation yields true

and

public static boolean and(boolean a,
                          Bool b)
Performs a logic and operation on a and b (Same as a && b)

Parameters:
b - The first object to perform the operation with
a - Description of Parameter
Returns:
whether the and operation yields true

and

public static boolean and(boolean a,
                          java.lang.Boolean b)
Performs a logic and operation on a and b (Same as a && b)

Parameters:
b - The first object to perform the operation with
a - Description of Parameter
Returns:
whether the and operation yields true

and

public static boolean and(Bool a,
                          boolean b)
Performs a logic and operation on a and b (Same as a && b)

Parameters:
b - The first object to perform the operation with
a - Description of Parameter
Returns:
whether the and operation yields true

and

public static boolean and(Bool a,
                          Bool b)
Performs a logic and operation on a and b (Same as a && b)

Parameters:
b - The first object to perform the operation with
a - Description of Parameter
Returns:
whether the and operation yields true

and

public static boolean and(Bool a,
                          java.lang.Boolean b)
Performs a logic and operation on a and b (Same as a && b)

Parameters:
b - The first object to perform the operation with
a - Description of Parameter
Returns:
whether the and operation yields true

and

public static boolean and(java.lang.Boolean a,
                          boolean b)
Performs a logic and operation on a and b (Same as a && b)

Parameters:
b - The first object to perform the operation with
a - Description of Parameter
Returns:
whether the and operation yields true

and

public static boolean and(java.lang.Boolean a,
                          Bool b)
Performs a logic and operation on a and b (Same as a && b)

Parameters:
b - The first object to perform the operation with
a - Description of Parameter
Returns:
whether the and operation yields true

and

public static boolean and(java.lang.Boolean a,
                          java.lang.Boolean b)
Performs a logic and operation on a and b (Same as a && b)

Parameters:
b - The first object to perform the operation with
a - Description of Parameter
Returns:
whether the and operation yields true

or

public static boolean or(boolean a,
                         boolean b)
Performs a logic or operation on a and b (Same as a || b)

Parameters:
b - The first object to perform the operation with
a - Description of Parameter
Returns:
whether the or operation yields true

or

public static boolean or(boolean a,
                         Bool b)
Performs a logic or operation on a and b (Same as a || b)

Parameters:
b - The first object to perform the operation with
a - Description of Parameter
Returns:
whether the or operation yields true

or

public static boolean or(boolean a,
                         java.lang.Boolean b)
Performs a logic or operation on a and b (Same as a || b)

Parameters:
b - The first object to perform the operation with
a - Description of Parameter
Returns:
whether the or operation yields true

or

public static boolean or(Bool a,
                         boolean b)
Performs a logic or operation on a and b (Same as a || b)

Parameters:
b - The first object to perform the operation with
a - Description of Parameter
Returns:
whether the or operation yields true

or

public static boolean or(Bool a,
                         Bool b)
Performs a logic or operation on a and b (Same as a || b)

Parameters:
b - The first object to perform the operation with
a - Description of Parameter
Returns:
whether the or operation yields true

or

public static boolean or(Bool a,
                         java.lang.Boolean b)
Performs a logic or operation on a and b (Same as a || b)

Parameters:
b - The first object to perform the operation with
a - Description of Parameter
Returns:
whether the or operation yields true

or

public static boolean or(java.lang.Boolean a,
                         boolean b)
Performs a logic or operation on a and b (Same as a || b)

Parameters:
b - The first object to perform the operation with
a - Description of Parameter
Returns:
whether the or operation yields true

or

public static boolean or(java.lang.Boolean a,
                         Bool b)
Performs a logic or operation on a and b (Same as a || b)

Parameters:
b - The first object to perform the operation with
a - Description of Parameter
Returns:
whether the or operation yields true

or

public static boolean or(java.lang.Boolean a,
                         java.lang.Boolean b)
Performs a logic or operation on a and b (Same as a || b)

Parameters:
b - The first object to perform the operation with
a - Description of Parameter
Returns:
whether the or operation yields true

xor

public static boolean xor(boolean a,
                          boolean b)
Performs an eXclusive or operation on a and b

Parameters:
a - A boolean to xor with
b - A boolean to xor with
Returns:
wether the xor operation yields true

xor

public static boolean xor(boolean a,
                          Bool b)
Performs an eXclusive or operation on a and b

Parameters:
a - A boolean to xor with
b - A boolean to xor with
Returns:
wether the xor operation yields true

xor

public static boolean xor(boolean a,
                          java.lang.Boolean b)
Performs an eXclusive or operation on a and b

Parameters:
a - A boolean to xor with
b - A boolean to xor with
Returns:
wether the xor operation yields true

xor

public static boolean xor(Bool a,
                          boolean b)
Performs an eXclusive or operation on a and b

Parameters:
a - A boolean to xor with
b - A boolean to xor with
Returns:
wether the xor operation yields true

xor

public static boolean xor(Bool a,
                          Bool b)
Performs an eXclusive or operation on a and b

Parameters:
a - A boolean to xor with
b - A boolean to xor with
Returns:
wether the xor operation yields true

xor

public static boolean xor(Bool a,
                          java.lang.Boolean b)
Performs an eXclusive or operation on a and b

Parameters:
a - A boolean to xor with
b - A boolean to xor with
Returns:
wether the xor operation yields true

xor

public static boolean xor(java.lang.Boolean a,
                          boolean b)
Performs an eXclusive or operation on a and b

Parameters:
a - A boolean to xor with
b - A boolean to xor with
Returns:
wether the xor operation yields true

xor

public static boolean xor(java.lang.Boolean a,
                          Bool b)
Performs an eXclusive or operation on a and b

Parameters:
a - A boolean to xor with
b - A boolean to xor with
Returns:
wether the xor operation yields true

xor

public static boolean xor(java.lang.Boolean a,
                          java.lang.Boolean b)
Performs an eXclusive or operation on a and b

Parameters:
a - A boolean to xor with
b - A boolean to xor with
Returns:
wether the xor operation yields true

nand

public static boolean nand(boolean a,
                           boolean b)
Performs a nand operation on a and b

Parameters:
a - A boolean to nand with b
b - A boolean to nand with a
Returns:
wether the nand operation yields true

nand

public static boolean nand(boolean a,
                           Bool b)
Performs a nand operation on a and b

Parameters:
a - A boolean to nand with b
b - A boolean to nand with a
Returns:
wether the nand operation yields true

nand

public static boolean nand(boolean a,
                           java.lang.Boolean b)
Performs a nand operation on a and b

Parameters:
a - A boolean to nand with b
b - A boolean to nand with a
Returns:
wether the nand operation yields true

nand

public static boolean nand(Bool a,
                           boolean b)
Performs a nand operation on a and b

Parameters:
a - A boolean to nand with b
b - A boolean to nand with a
Returns:
wether the nand operation yields true

nand

public static boolean nand(Bool a,
                           Bool b)
Performs a nand operation on a and b

Parameters:
a - A boolean to nand with b
b - A boolean to nand with a
Returns:
wether the nand operation yields true

nand

public static boolean nand(Bool a,
                           java.lang.Boolean b)
Performs a nand operation on a and b

Parameters:
a - A boolean to nand with b
b - A boolean to nand with a
Returns:
wether the nand operation yields true

nand

public static boolean nand(java.lang.Boolean a,
                           boolean b)
Performs a nand operation on a and b

Parameters:
a - A boolean to nand with b
b - A boolean to nand with a
Returns:
wether the nand operation yields true

nand

public static boolean nand(java.lang.Boolean a,
                           Bool b)
Performs a nand operation on a and b

Parameters:
a - A boolean to nand with b
b - A boolean to nand with a
Returns:
wether the nand operation yields true

nand

public static boolean nand(java.lang.Boolean a,
                           java.lang.Boolean b)
Performs a nand operation on a and b

Parameters:
a - A boolean to nand with b
b - A boolean to nand with a
Returns:
wether the nand operation yields true

nor

public static boolean nor(boolean a,
                          boolean b)
Performs a nor operation on a and b

Parameters:
a - A boolean to nor with b
b - A boolean to nor with a
Returns:
wether the nor operation yields true

nor

public static boolean nor(boolean a,
                          Bool b)
Performs a nor operation on a and b

Parameters:
a - A boolean to nor with b
b - A boolean to nor with a
Returns:
wether the nor operation yields true

nor

public static boolean nor(boolean a,
                          java.lang.Boolean b)
Performs a nor operation on a and b

Parameters:
a - A boolean to nor with b
b - A boolean to nor with a
Returns:
wether the nor operation yields true

nor

public static boolean nor(Bool a,
                          boolean b)
Performs a nor operation on a and b

Parameters:
a - A boolean to nor with b
b - A boolean to nor with a
Returns:
wether the nor operation yields true

nor

public static boolean nor(Bool a,
                          Bool b)
Performs a nor operation on a and b

Parameters:
a - A boolean to nor with b
b - A boolean to nor with a
Returns:
wether the nor operation yields true

nor

public static boolean nor(Bool a,
                          java.lang.Boolean b)
Performs a nor operation on a and b

Parameters:
a - A boolean to nor with b
b - A boolean to nor with a
Returns:
wether the nor operation yields true

nor

public static boolean nor(java.lang.Boolean a,
                          boolean b)
Performs a nor operation on a and b

Parameters:
a - A boolean to nor with b
b - A boolean to nor with a
Returns:
wether the nor operation yields true

nor

public static boolean nor(java.lang.Boolean a,
                          Bool b)
Performs a nor operation on a and b

Parameters:
a - A boolean to nor with b
b - A boolean to nor with a
Returns:
wether the nor operation yields true

nor

public static boolean nor(java.lang.Boolean a,
                          java.lang.Boolean b)
Performs a nor operation on a and b

Parameters:
a - A boolean to nor with b
b - A boolean to nor with a
Returns:
wether the nor operation yields true

implies

public static boolean implies(boolean a,
                              boolean b)
Performs an implies ( --> ) operation on a and b

Parameters:
a - A boolean to check with b
b - A boolean to check with a
Returns:
wether the implies operation yields true

implies

public static boolean implies(boolean a,
                              Bool b)
Performs an implies ( --> ) operation on a and b

Parameters:
a - A boolean to check with b
b - A boolean to check with a
Returns:
wether the implies operation yields true

implies

public static boolean implies(boolean a,
                              java.lang.Boolean b)
Performs an implies ( --> ) operation on a and b

Parameters:
a - A boolean to check with b
b - A boolean to check with a
Returns:
wether the implies operation yields true

implies

public static boolean implies(Bool a,
                              boolean b)
Performs an implies ( --> ) operation on a and b

Parameters:
a - A boolean to check with b
b - A boolean to check with a
Returns:
wether the implies operation yields true

implies

public static boolean implies(Bool a,
                              Bool b)
Performs an implies ( --> ) operation on a and b

Parameters:
a - A boolean to check with b
b - A boolean to check with a
Returns:
wether the implies operation yields true

implies

public static boolean implies(Bool a,
                              java.lang.Boolean b)
Performs an implies ( --> ) operation on a and b

Parameters:
a - A boolean to check with b
b - A boolean to check with a
Returns:
wether the implies operation yields true

implies

public static boolean implies(java.lang.Boolean a,
                              boolean b)
Performs an implies ( --> ) operation on a and b

Parameters:
a - A boolean to check with b
b - A boolean to check with a
Returns:
wether the implies operation yields true

implies

public static boolean implies(java.lang.Boolean a,
                              Bool b)
Performs an implies ( --> ) operation on a and b

Parameters:
a - A boolean to check with b
b - A boolean to check with a
Returns:
wether the implies operation yields true

implies

public static boolean implies(java.lang.Boolean a,
                              java.lang.Boolean b)
Performs an implies ( --> ) operation on a and b

Parameters:
a - A boolean to check with b
b - A boolean to check with a
Returns:
wether the implies operation yields true

booleanValue

public boolean booleanValue()
Gets the value of the object

Returns:
true or false dependiong on the value of the object

toString

public java.lang.String toString()
Makes a String description of the object

Returns:
"true" or "false" depending on the value of the object

hashCode

public int hashCode()
Returns a hash code for this Boolean object.

Returns:
the integer 1231 if this object represents true; returns the integer 1237 if this object represents false.

equals

public boolean equals(java.lang.Object obj)
Returns true if and only if the argument is not null and is a Boolean or Bool object that represents the same boolean value as this object.

Parameters:
obj - the object to compare with.
Returns:
true if the Bool or Boolean object obj and this represent the same value; false otherwise.

equals

public boolean equals(boolean b)
checks a boolean against the value of the object

Parameters:
b - the boolean to check with
Returns:
true if both the object and b hold the same logic value

or

public boolean or(Bool b)
Performs a logic or operation on the object with b (Same as this || b)

Parameters:
b - The object to perform the operation with
Returns:
whether the or operation yields true

or

public boolean or(java.lang.Boolean b)
Performs a logic or operation on the object with b (Same as this || b)

Parameters:
b - The object to perform the operation with
Returns:
whether the or operation yields true

or

public boolean or(boolean b)
Performs a logic or operation on the object with b (Same as this || b)

Parameters:
b - The object to perform the operation with
Returns:
whether the or operation yields true

and

public boolean and(Bool b)
Performs a logic and operation on the object with b (Same as this && b)

Parameters:
b - The object to perform the operation with
Returns:
whether the and operation yields true

and

public boolean and(java.lang.Boolean b)
Performs a logic and operation on the object with b (Same as this && b)

Parameters:
b - The object to perform the operation with
Returns:
whether the and operation yields true

and

public boolean and(boolean b)
Performs a logic and operation on the object with b (Same as this && b)

Parameters:
b - The object to perform the operation with
Returns:
whether the and operation yields true

not

public boolean not()
Perform a logic not operation (same as !this)

Returns:
The opposite of the value of the object

xor

public boolean xor(boolean b)
Performs an eXclusive or operation on the object and b

Parameters:
b - A boolean to xor with the object
Returns:
wether the xor operation yields true

xor

public boolean xor(java.lang.Boolean b)
Performs an eXclusive or operation on the object and b

Parameters:
b - A boolean to xor with the object
Returns:
wether the xor operation yields true

xor

public boolean xor(Bool b)
Performs an eXclusive or operation on the object and b

Parameters:
b - A boolean to xor with the object
Returns:
wether the xor operation yields true

nand

public boolean nand(boolean b)
Performs a nand operation on the object and b

Parameters:
b - A boolean to nand with the object
Returns:
wether the nand operation yields true

nand

public boolean nand(Bool b)
Performs a nand operation on the object and b

Parameters:
b - A boolean to nand with the object
Returns:
wether the nand operation yields true

nand

public boolean nand(java.lang.Boolean b)
Performs a nand operation on the object and b

Parameters:
b - A boolean to nand with the object
Returns:
wether the nand operation yields true

nor

public boolean nor(boolean b)
Performs a nor operation on the object and b

Parameters:
b - A boolean to nor with the object
Returns:
wether the nor operation yields true

nor

public boolean nor(Bool b)
Performs a nor operation on the object and b

Parameters:
b - A boolean to nor with the object
Returns:
wether the nor operation yields true

nor

public boolean nor(java.lang.Boolean b)
Performs a nor operation on the object and b

Parameters:
b - A boolean to nor with the object
Returns:
wether the nor operation yields true

implies

public boolean implies(boolean b)
Performs an implies ( --> ) operation on the object and b

Parameters:
b - A boolean to check with the object
Returns:
wether the implies operation yields true

implies

public boolean implies(Bool b)
Performs an implies ( --> ) operation on the object and b

Parameters:
b - A boolean to check with the object
Returns:
wether the implies operation yields true

implies

public boolean implies(java.lang.Boolean b)
Performs an implies ( --> ) operation on the object and b

Parameters:
b - A boolean to check with the object
Returns:
wether the implies operation yields true