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

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

public final class PercentEval
extends NumericOperationEval

Implementation of Excel formula token '%'.

Author:
Josh Micich

Constructor Summary
PercentEval(Ptg ptg)
           
 
Method Summary
 Eval evaluate(Eval[] args, 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

PercentEval

public PercentEval(Ptg ptg)
Method Detail

getXlator

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

evaluate

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

getNumberOfOperands

public int getNumberOfOperands()

getType

public int getType()


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