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

Isref

public class Isref extends Object implements Function
author
Amol S. Deshmukh < amolweb at ya hoo dot com >

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)

        Eval retval = BoolEval.FALSE;
        
        switch (operands.length) {
        default:
            retval = ErrorEval.VALUE_INVALID;
            break;
        case 1:
            Eval eval = operands[0];
            if (eval instanceof RefEval || eval instanceof AreaEval) {
                retval = BoolEval.TRUE;
            }
        }
        
        return retval;