public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1) {I_MatchPredicate mp = createCriteriaPredicate(arg1, srcRowIndex, srcColumnIndex);if(mp == null) {return NumberEval.ZERO;}double result = countMatchingCellsInArea(arg0, mp);return new NumberEval(result);}
public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1){IMatchPredicate mp = CreateCriteriaPredicate(arg1, srcRowIndex, srcColumnIndex);if (mp == null){return NumberEval.ZERO;}double result = CountMatchingCellsInArea(arg0, mp);return new NumberEval(result);}