Revision: 19452
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 24, 2009 07:58 by udayrayala
Initial Code
private boolean buildExpressionWithRestOfTheValues(int item, StringBuffer expression, int expectedTotal, ArrayList restOfValues, String operator) {
StringBuffer newExpression = new StringBuffer();
boolean isPossibleWithRestOfValues = find(restOfValues, expectedTotal, newExpression);
if(isPossibleWithRestOfValues){
expression.append("(").append(newExpression).append(operator).append(item).append(")");
return true;
}
return false;
}
Initial URL
Initial Description
Initial Title
Post after long time
Initial Tags
Initial Language
Java