public ValueEval evaluate(ValueEval[] args, OperationEvaluationContext ec) {if (args.length != 1) {return ErrorEval.VALUE_INVALID;}int val;try {val = evaluateArgParity(args[0], ec.getRowIndex(), ec.getColumnIndex());} catch (EvaluationException e) {return e.getErrorEval();}return BoolEval.valueOf(val == _desiredParity);}

public ValueEval evaluate ( ValueEval [ ] args , OperationEvaluationContext ec ) { if ( args . length != 1 ) { return ErrorEval . VALUE_INVALID ; } int val ; try { val = evaluateArgParity ( args [ 0 ] , ec . getRowIndex ( ) , ec . getColumnIndex ( ) ) ; } catch ( EvaluationException e ) { return e . getErrorEval ( ) ; } return BoolEval . valueOf ( val == _desiredParity ) ; }
public ValueEval Evaluate(ValueEval[] args, OperationEvaluationContext ec){if (args.Length != 1){return ErrorEval.VALUE_INVALID;}int val;try{val = EvaluateArgParity(args[0], ec.RowIndex, ec.ColumnIndex);}catch (EvaluationException e){return e.GetErrorEval();}return BoolEval.ValueOf(val == _desiredParity);}
