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

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

public class And
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
And(Logical firstOperand, Logical secondOperand)
          Creates a new And 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

And

public And(Logical firstOperand,
           Logical secondOperand)
Creates a new And 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!