409410411412413414415
return LiteralExpression.newConstant(true, isDeterministic); } if (children.size() == 1) { return children.get(0); } return new OrExpression(children); }
242243244245246247248
public static Expression not(Expression expression) { return new NotExpression(expression); } public static Expression or(Expression... expressions) { return new OrExpression(Arrays.asList(expressions)); }