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

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

public abstract class LogicalUnary
extends java.lang.Object
implements Logical

DOCUMENT ME!

See Also:
Serialized Form

Field Summary
protected static java.lang.String CR
          DOCUMENT ME!
protected  Logical operand
          DOCUMENT ME!
 
Constructor Summary
LogicalUnary(Logical operand)
          Creates a new LogicalUnary object.
 
Method Summary
 boolean contains(Expression e)
          DOCUMENT ME!
 Logical getFirstOperand()
          DOCUMENT ME!
 Logical optimize()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jscience.mathematics.analysis.expressions.logical.Logical
replace, toJava, toString, toXML, truthValue
 

Field Detail

CR

protected static final java.lang.String CR
DOCUMENT ME!


operand

protected Logical operand
DOCUMENT ME!

Constructor Detail

LogicalUnary

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

Parameters:
operand - DOCUMENT ME!
Method Detail

getFirstOperand

public Logical getFirstOperand()
DOCUMENT ME!

Returns:
DOCUMENT ME!

optimize

public Logical optimize()
DOCUMENT ME!

Specified by:
optimize in interface Logical
Returns:
DOCUMENT ME!

contains

public boolean contains(Expression e)
DOCUMENT ME!

Specified by:
contains in interface Logical
Parameters:
e - DOCUMENT ME!
Returns:
DOCUMENT ME!