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

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

public class Not
extends LogicalUnary

DOCUMENT ME!

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jscience.mathematics.analysis.expressions.logical.LogicalUnary
CR, operand
 
Constructor Summary
Not(Logical operand)
          Creates a new Not 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.LogicalUnary
contains, getFirstOperand, optimize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Not

public Not(Logical operand)
Creates a new Not object.

Parameters:
operand - 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!