net.sourceforge.jeval
Class ExpressionOperand

java.lang.Object
  extended by net.sourceforge.jeval.ExpressionOperand

public class ExpressionOperand
extends java.lang.Object

Represents an operand being processed in the expression.


Constructor Summary
ExpressionOperand(java.lang.String value, Operator unaryOperator)
          Create a new ExpressionOperand.
 
Method Summary
 Operator getUnaryOperator()
          Returns the unary operator for this object.
 java.lang.String getValue()
          Returns the value of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionOperand

public ExpressionOperand(java.lang.String value,
                         Operator unaryOperator)
Create a new ExpressionOperand.

Parameters:
value - The value for the new ExpressionOperand.
unaryOperator - The unary operator for this object.
Method Detail

getValue

public java.lang.String getValue()
Returns the value of this object.

Returns:
The value of this object.

getUnaryOperator

public Operator getUnaryOperator()
Returns the unary operator for this object.

Returns:
The unary operator for this object.


Copyright (C) 2002-2007 Robert Breidecker.