FileDocCategorySizeDatePackage
T.javaAPI DocApache Poi 3.0.11753Sun Mar 11 12:59:30 GMT 2007org.apache.poi.hssf.record.formula.functions

T

public class T extends Object implements Function
author

Fields Summary
Constructors Summary
Methods Summary
public org.apache.poi.hssf.record.formula.eval.Evalevaluate(org.apache.poi.hssf.record.formula.eval.Eval[] operands, int srcCellRow, short srcCellCol)

        ValueEval retval = null;
        switch (operands.length) {
        default:
            retval = ErrorEval.VALUE_INVALID;
            break;
        case 1:
            if (operands[0] instanceof StringEval
             || operands[0] instanceof ErrorEval) {
                retval = (ValueEval) operands[0];
            }
            else if (operands[0] instanceof ErrorEval) {
                retval = StringEval.EMPTY_INSTANCE;
            }
        }
        return retval;