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

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

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

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

Constructor Summary
ConcatEval(ConcatPtg ptg)
           
 
Method Summary
 Eval evaluate(Eval[] args, int srcRow, short srcCol)
           
 int getNumberOfOperands()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConcatEval

public ConcatEval(ConcatPtg ptg)
Method Detail

evaluate

public Eval evaluate(Eval[] args,
                     int srcRow,
                     short srcCol)
Specified by:
evaluate in interface OperationEval
Parameters:
args - the evaluated operation arguments. Elements of this array typically implement ValueEval. Empty values are represented with BlankEval or MissingArgEval, never null.
srcRow - row index of the cell containing the formula under evaluation
srcCol - column index of the cell containing the formula under evaluation
Returns:
The evaluated result, possibly an ErrorEval, never null.

getNumberOfOperands

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


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