logic
Class LogicalOr
java.lang.Object
logic.Formula
logic.LogicalOr
public class LogicalOr
- extends Formula
Logical Or
Represents the logical operator OR. Typically returns the union of
two expressions result.
Copyright(c) 2005 Université Laval, LSFM research group.
- Version:
- 1.0
- Author:
- Nicolas Richard
Field Summary |
static java.lang.String |
TYPE
A constant repersenting the logical operator OR |
Constructor Summary |
LogicalOr(Formula subFormula1,
Formula subFormula2)
Default constructor using the base class constructor. |
Method Summary |
java.lang.String |
getType()
Returns the type of the logical operator OR |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TYPE
public static final java.lang.String TYPE
- A constant repersenting the logical operator OR
LogicalOr
public LogicalOr(Formula subFormula1,
Formula subFormula2)
- Default constructor using the base class constructor.
- Parameters:
subFormula1
- the first expressionsubFormula2
- the second expression
getType
public java.lang.String getType()
- Returns the type of the logical operator OR
- Specified by:
getType
in class Formula
- Returns:
- a string representing the logical operator OR.