T - the type of object this condition accepts.public class AllOf<T> extends Join<T>
true if all of the joined conditions are satisfied.Condition.StatusPREFIX_DELIMITER, SUFFIX_DELIMITER| Modifier and Type | Method and Description |
|---|---|
static <T> Condition<T> |
allOf(Condition<? super T>... conditions)
Creates a new
|
static <T> Condition<T> |
allOf(Iterable<? extends Condition<? super T>> conditions)
Creates a new
|
String |
descriptionPrefix()
method used to prefix the subclass join description, ex: "all of"
|
boolean |
matches(T value)
Verifies that the given value satisfies this condition.
|
conditionDescriptionWithStatus, conditions, descriptiondescribedAs, status, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitas, as, as, describedAs@SafeVarargs public static <T> Condition<T> allOf(Condition<? super T>... conditions)
AllOfT - the type of object the given condition accept.conditions - the conditions to evaluate.AllOf.NullPointerException - if the given array is null.NullPointerException - if any of the elements in the given array is null.public static <T> Condition<T> allOf(Iterable<? extends Condition<? super T>> conditions)
AllOfT - the type of object the given condition accept.conditions - the conditions to evaluate.AllOf.NullPointerException - if the given iterable is null.NullPointerException - if any of the elements in the given iterable is null.public boolean matches(T value)
public String descriptionPrefix()
JoindescriptionPrefix in class Join<T>Copyright © 2025. All rights reserved.