@Override public BooleanBuilder not() { if (predicate != null) { predicate = predicate.not(); } return this; }
/** * Create the insertion of this and the negation of the given predicate * * @param right * @return */ public BooleanBuilder andNot(Predicate right) { return and(right.not()); }
/** * Create the union of this and the negation of the given predicate * * @param right * @return */ public BooleanBuilder orNot(Predicate right) { return or(right.not()); }