public interface WithLogic
| Modifier and Type | Method and Description |
|---|---|
default boolean |
and(boolean... items)
Short circuit evaluated multiarg and
|
default boolean |
or(boolean... items)
Short circuit evaluated multiarg or
|
default <T> Predicate<Predicate<T>> |
or(Collection<T> items)
Gets a predicate of a predicate on the supplied items
|
default <T> Predicate<T> |
or(Predicate<T>... items)
Short circuit evaluated multiarg or
|
default <T> boolean |
or(Predicate<T> predicate,
Collection<T> items)
Applies a predicate of supplied items and or them in short circuit fashion.
|
static <T> boolean |
or(Predicate<T> predicate,
T... items)
Applies a predicate of supplied items and or them in short circuit fashion.
|
default <T> Predicate<Predicate<T>> |
or(T... items)
Gets a predicate of a predicate on the supplied items
|
default <T> Predicate<Predicate<T>> or(Collection<T> items)
T - type of itemsitems - the items to apply an predicate over with an or in short circuit
fashiondefault <T> boolean or(Predicate<T> predicate, Collection<T> items)
T - type of itemspredicate - the predicate to apply to the supplied itemsitems - the items to apply the predicate onstatic <T> boolean or(Predicate<T> predicate, T... items)
T - type of itemspredicate - the predicate to apply to the supplied itemsitems - the items to apply the predicate ondefault boolean and(boolean... items)
items - boolean arguments to anddefault boolean or(boolean... items)
items - boolean arguments to ordefault <T> Predicate<T> or(Predicate<T>... items)
T - type of itemsitems - predicates boolean arguments to orCopyright © 2021. All rights reserved.