common-util

local.tomas.expr
Class SignChangeTerm

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

public class SignChangeTerm
extends UnaryTerm
implements Expression

This class defines a sign change term within an expression.

Author:
Teubner
See Also:
Serialized Form

Constructor Summary
SignChangeTerm()
          Default constructor.
SignChangeTerm(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

SignChangeTerm

public SignChangeTerm()
Default constructor.


SignChangeTerm

public SignChangeTerm(Expression operand)
Constructor using fields.

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