@FunctionalInterface
public interface Predicate4<A,B,C,D>
Equal to BiPredicate but with 4 arguments.
toPredicate(Predicate4),
toBiPredicate(Predicate4)| Modifier and Type | Method and Description |
|---|---|
default Predicate4<A,B,C,D> |
and(Predicate4<? super A,? super B,? super C,? super D> other) |
static <A,B,C,D> Predicate4<A,B,C,D> |
not(Predicate4<A,B,C,D> delegate)
Negate specified predicate
|
default Predicate4<A,B,C,D> |
or(Predicate4<? super A,? super B,? super C,? super D> other) |
boolean |
test(A a,
B b,
C c,
D d) |
static <A,B,C,D> java.util.function.BiPredicate<A,Tuple3<B,C,D>> |
toBiPredicate(Predicate4<A,B,C,D> delegate)
Converts specified predicate into a
BiPredicate were all arguments except the first one are represented
as a single Tuple3 instance. |
static <A,B,C,D> java.util.function.Predicate<Tuple4<A,B,C,D>> |
toPredicate(Predicate4<A,B,C,D> delegate)
Converts specified predicate into a
Predicate were all arguments are represented
as a single Tuple4 instance. |
static <A,B,C,D> java.util.function.Predicate<Tuple4<A,B,C,D>> toPredicate(Predicate4<A,B,C,D> delegate)
Predicate were all arguments are represented
as a single Tuple4 instance.static <A,B,C,D> java.util.function.BiPredicate<A,Tuple3<B,C,D>> toBiPredicate(Predicate4<A,B,C,D> delegate)
BiPredicate were all arguments except the first one are represented
as a single Tuple3 instance.default Predicate4<A,B,C,D> and(Predicate4<? super A,? super B,? super C,? super D> other)
default Predicate4<A,B,C,D> or(Predicate4<? super A,? super B,? super C,? super D> other)
static <A,B,C,D> Predicate4<A,B,C,D> not(Predicate4<A,B,C,D> delegate)