/** * Creates a copy of this expression node, without copying children. */ public Expression shallowCopy() { return new ASTNotIn(id); }
/** * Creates a copy of this expression node, without copying children. */ @Override public Expression shallowCopy() { return new ASTNotIn(id); }
/** * @since 4.0 * @see ExpressionFactory#notInExp(String, Collection) */ static Expression notInExp(Expression exp, Collection<?> values) { if (values.isEmpty()) { return new ASTTrue(); } if(!(exp instanceof SimpleNode)) { throw new IllegalArgumentException("exp should be instance of SimpleNode"); } return new ASTNotIn((SimpleNode)exp, new ASTList(values)); }
/** * @since 4.0 * @see ExpressionFactory#notInExp(String, Object[]) */ static Expression notInExp(Expression exp, Object... values) { if (values.length == 0) { return new ASTTrue(); } if(!(exp instanceof SimpleNode)) { throw new IllegalArgumentException("exp should be instance of SimpleNode"); } return new ASTNotIn((SimpleNode)exp, new ASTList(values)); }
/** * A convenience shortcut for building NOT_IN expression. Return ASTTrue for * empty collection. * * @since 3.0 */ public static Expression notInDbExp(String pathSpec, Collection<?> values) { if (values.isEmpty()) { return new ASTTrue(); } return new ASTNotIn(new ASTDbPath(pathSpec), new ASTList(values)); }
/** * A convenience shortcut for building NOT_IN expression. */ public static Expression notInExp(String pathSpec, Collection values) { return new ASTNotIn(new ASTObjPath(pathSpec), new ASTList(values)); }
/** * A convenience shortcut for building NOT_IN expression. * * @since 1.0.6 */ public static Expression notInExp(String pathSpec, Object[] values) { return new ASTNotIn(new ASTObjPath(pathSpec), new ASTList(values)); }
/** * A convenience shortcut for building NOT_IN expression. Return ASTTrue for * empty collection. * * @since 3.0 */ public static Expression notInDbExp(String pathSpec, Object... values) { if (values.length == 0) { return new ASTTrue(); } return new ASTNotIn(new ASTDbPath(pathSpec), new ASTList(values)); }
case 15: jj_consume_token(15); ASTNotIn jjtn003 = new ASTNotIn(JJTNOTIN); boolean jjtc003 = true; jjtree.openNodeScope(jjtn003);
case 15: jj_consume_token(15); ASTNotIn jjtn003 = new ASTNotIn(JJTNOTIN); boolean jjtc003 = true; jjtree.openNodeScope(jjtn003);