0.11.4
ca.uqac.lif.cep.util.Booleans Class Reference

Detailed Description

A container object for Boolean functions.

Author
Sylvain Hallé
Since
0.7

Definition at line 34 of file Booleans.java.

Classes

class  And
 Implementation of the logical conjunction. More...
class  Implies
 Implementation of the logical implication. More...
class  Or
 Implementation of the logical disjunction. More...
class  Not
 Implementation of the logical negation. More...
class  BagAnd
 Implementation of the logical conjunction over a collection. More...
class  BagOr
 Implementation of the logical disjunction over a collection. More...
class  BooleanCast
 Function that attempts to convert an object into a Boolean. More...

Static Public Member Functions

static FunctionTree land (Function f1, Function f2)
static FunctionTree lor (Function f1, Function f2)
static FunctionTree lnot (Function f1)
static boolean parseBoolValue (Object o)
 Attempts to convert an object into a Boolean.

Static Public Attributes

static final transient And and = And.instance
 Static reference to the And function.
static final transient Or or = Or.instance
 Static reference to the Or function.
static final transient Implies implies = Implies.instance
 Static reference to the Implies function.
static final transient Not not = Not.instance
 Static reference to the Not function.
static final transient BagAnd bagAnd = BagAnd.instance
 Static reference to the BagAnd function.
static final transient BagOr bagOr = BagOr.instance
 Static reference to the BagOr function.
static final transient BooleanCast booleanCast = BooleanCast.instance
 Static reference to the BooleanCast function.

Protected Member Functions

 Booleans ()

Constructor & Destructor Documentation

◆ Booleans()

ca.uqac.lif.cep.util.Booleans.Booleans ( )
protected

Definition at line 36 of file Booleans.java.

Member Function Documentation

◆ land()

FunctionTree ca.uqac.lif.cep.util.Booleans.land ( Function f1,
Function f2 )
static

Definition at line 76 of file Booleans.java.

◆ lnot()

FunctionTree ca.uqac.lif.cep.util.Booleans.lnot ( Function f1)
static

Definition at line 86 of file Booleans.java.

◆ lor()

FunctionTree ca.uqac.lif.cep.util.Booleans.lor ( Function f1,
Function f2 )
static

Definition at line 81 of file Booleans.java.

◆ parseBoolValue()

boolean ca.uqac.lif.cep.util.Booleans.parseBoolValue ( Object o)
static

Attempts to convert an object into a Boolean.

Parameters
oThe object
Returns
The Boolean value
Since
0.7

Definition at line 446 of file Booleans.java.

Member Data Documentation

◆ and

final transient And ca.uqac.lif.cep.util.Booleans.and = And.instance
static

Static reference to the And function.

Definition at line 44 of file Booleans.java.

◆ bagAnd

final transient BagAnd ca.uqac.lif.cep.util.Booleans.bagAnd = BagAnd.instance
static

Static reference to the BagAnd function.

Definition at line 64 of file Booleans.java.

◆ bagOr

final transient BagOr ca.uqac.lif.cep.util.Booleans.bagOr = BagOr.instance
static

Static reference to the BagOr function.

Definition at line 69 of file Booleans.java.

◆ booleanCast

final transient BooleanCast ca.uqac.lif.cep.util.Booleans.booleanCast = BooleanCast.instance
static

Static reference to the BooleanCast function.

Definition at line 74 of file Booleans.java.

◆ implies

final transient Implies ca.uqac.lif.cep.util.Booleans.implies = Implies.instance
static

Static reference to the Implies function.

Definition at line 54 of file Booleans.java.

◆ not

final transient Not ca.uqac.lif.cep.util.Booleans.not = Not.instance
static

Static reference to the Not function.

Definition at line 59 of file Booleans.java.

◆ or

final transient Or ca.uqac.lif.cep.util.Booleans.or = Or.instance
static

Static reference to the Or function.

Definition at line 49 of file Booleans.java.


The documentation for this class was generated from the following file:
  • /home/sylvain/Workspaces/beepbeep/core/src/ca/uqac/lif/cep/util/Booleans.java