common-util

local.tomas.expr
Class NegationTerm

java.lang.Object
  extended by local.tomas.expr.UnaryTerm
      extended by local.tomas.expr.NegationTerm
All Implemented Interfaces:
Serializable, Expression

public class NegationTerm
extends UnaryTerm
implements Expression

This class defines a negation term within an expression.

Author:
Teubner
See Also:
Serialized Form

Constructor Summary
NegationTerm()
          Default constructor.
NegationTerm(Expression operand)
          Constructor using fields.
 
Method Summary
<E,F> E
greet(ExpressionWalker<E,F> visitor, F arg)
          Handle visit of ExpressionWalker.
 
Methods inherited from class local.tomas.expr.UnaryTerm
equals, getOperand, hashCode, setOperand
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NegationTerm

public NegationTerm()
Default constructor.


NegationTerm

public NegationTerm(Expression operand)
Constructor using fields.

Parameters:
operand -
Method Detail

greet

public <E,F> E greet(ExpressionWalker<E,F> visitor,
                     F arg)
        throws ExpressionException
Description copied from interface: Expression
Handle visit of ExpressionWalker.

Specified by:
greet in interface Expression
Parameters:
visitor - the ExpressionWalker visiting this object
arg - implementation dependent argument
Returns:
implementation dependent result
Throws:
ExpressionException

common-util

Copyright © 2005-2007 Tomas Teubner. All Rights Reserved.