/** * Constructor * * @since 0.1.0 */ public AndPredicateImpl() { setPredicates(new ArrayList<>()); }
/** * Constructor * * @since 0.1.0 */ public AndPredicateImpl() { setPredicates(new ArrayList<>()); }
/** * Constructor which accepts a not null array of {@link QueryPredicate}s. * * @param predicates the {@link QueryPredicate}s to add. * @throws NullPointerException if the given parameter is {@code null}. * @since 1.0.0 */ public AndPredicateImpl(@NotNull QueryPredicate... predicates) { Objects.requireNonNull(predicates); setPredicates(Lists.newArrayList(predicates)); }
/** * Constructor which accepts a not null array of {@link QueryPredicate}s. * * @param predicates the {@link QueryPredicate}s to add. * @throws NullPointerException if the given parameter is {@code null}. * @since 1.0.0 */ public AndPredicateImpl(@NotNull QueryPredicate... predicates) { Objects.requireNonNull(predicates); setPredicates(Lists.newArrayList(predicates)); }