org.apache.poi.hssf.record.formula.eval
Class UnaryMinusEval

java.lang.Object
  extended by org.apache.poi.hssf.record.formula.eval.NumericOperationEval
      extended by org.apache.poi.hssf.record.formula.eval.UnaryMinusEval
All Implemented Interfaces:
Eval, OperationEval

public class UnaryMinusEval
extends NumericOperationEval

Author:
Amol S. Deshmukh < amolweb at ya hoo dot com >

Constructor Summary
UnaryMinusEval(Ptg ptg)
           
 
Method Summary
 Eval evaluate(Eval[] operands, int srcRow, short srcCol)
           
 int getNumberOfOperands()
           
 int getType()
           
protected  ValueEvalToNumericXlator getXlator()
           
 
Methods inherited from class org.apache.poi.hssf.record.formula.eval.NumericOperationEval
singleOperandEvaluate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnaryMinusEval

public UnaryMinusEval(Ptg ptg)
Method Detail

getXlator

protected ValueEvalToNumericXlator getXlator()
Specified by:
getXlator in class NumericOperationEval

evaluate

public Eval evaluate(Eval[] operands,
                     int srcRow,
                     short srcCol)

getNumberOfOperands

public int getNumberOfOperands()

getType

public int getType()


Copyright 2008 The Apache Software Foundation or its licensors, as applicable.