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

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

public final class PercentEval
extends java.lang.Object
implements OperationEval

Implementation of Excel formula token '%'.

Author:
Josh Micich

Field Summary
static OperationEval instance
           
 
Method Summary
 Eval evaluate(Eval[] args, int srcRow, short srcCol)
           
 int getNumberOfOperands()
           
 int getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static final OperationEval instance
Method Detail

evaluate

public Eval evaluate(Eval[] args,
                     int srcRow,
                     short srcCol)
Specified by:
evaluate in interface OperationEval

getNumberOfOperands

public int getNumberOfOperands()
Specified by:
getNumberOfOperands in interface OperationEval

getType

public final int getType()
Specified by:
getType in interface OperationEval


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