org.jscience.mathematics.analysis.expressions.logical
Class Or

java.lang.Object
  extended by org.jscience.mathematics.analysis.expressions.logical.LogicalBinary
      extended by org.jscience.mathematics.analysis.expressions.logical.Or
All Implemented Interfaces:
java.io.Serializable, Logical

public class Or
extends LogicalBinary

DOCUMENT ME!

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jscience.mathematics.analysis.expressions.logical.LogicalBinary
CR, firstOperand, secondOperand
 
Constructor Summary
Or(Logical firstOperand, Logical secondOperand)
          Creates a new Or object.
 
Method Summary
 Logical replace(Expression a, Expression b)
          DOCUMENT ME!
 java.lang.String toJava()
          DOCUMENT ME!
 java.lang.String toString()
          DOCUMENT ME!
 java.lang.String toXML()
          DOCUMENT ME!
 boolean truthValue()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.mathematics.analysis.expressions.logical.LogicalBinary
contains, getFirstOperand, getSecondOperand, optimize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Or

public Or(Logical firstOperand,
          Logical secondOperand)
Creates a new Or object.

Parameters:
firstOperand - DOCUMENT ME!
secondOperand - DOCUMENT ME!
Method Detail

truthValue

public boolean truthValue()
DOCUMENT ME!

Returns:
DOCUMENT ME!

replace

public Logical replace(Expression a,
                       Expression b)
DOCUMENT ME!

Parameters:
a - DOCUMENT ME!
b - DOCUMENT ME!
Returns:
DOCUMENT ME!

toString

public java.lang.String toString()
DOCUMENT ME!

Specified by:
toString in interface Logical
Overrides:
toString in class java.lang.Object
Returns:
DOCUMENT ME!

toJava

public java.lang.String toJava()
DOCUMENT ME!

Returns:
DOCUMENT ME!

toXML

public java.lang.String toXML()
DOCUMENT ME!

Returns:
DOCUMENT ME!