ValueEval retval; switch (operands.length) { default: retval = ErrorEval.VALUE_INVALID; break; case 0: retval = new NumberEval(Math.random()); } return retval;