|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Predicate2<A,B>
A rich Evaluable2
| Method Summary | |
|---|---|
Predicate2<A,B> |
and(Evaluable2<? super A,? super B> other)
Returns a predicate that performs a short-circuit logical-and between this Predicate2's Evaluable2.eval(Object,Object) and other |
Predicate2<A,B> |
not()
Negates this Predicate |
Predicate2<A,B> |
nullSafe()
Answers a Predicate2 that returns true if both
arguments are null, false if only one of them is
null, or evalutes this predicate, otherwise. |
Predicate2<A,B> |
or(Evaluable2<? super A,? super B> other)
Returns a predicate that, performs a short-circuit logical-or between this Predicate2's Evaluable2.eval(Object,Object) and other |
Predicate<Tuple2<A,B>> |
uncurry()
Uncurries this predicate, by returning a Predicate that takes a single pair, being
its components each of the original predicate parameters |
| Methods inherited from interface net.sf.staccatocommons.defs.Evaluable2 |
|---|
eval |
| Methods inherited from interface net.sf.staccatocommons.defs.Applicable2 |
|---|
apply |
| Methods inherited from interface net.sf.staccatocommons.defs.Applicable |
|---|
apply |
| Method Detail |
|---|
Predicate2<A,B> not()
Predicate
Predicate2 that negates this Predicate2's result.
Predicate2<A,B> or(@NonNull
Evaluable2<? super A,? super B> other)
Predicate2's Evaluable2.eval(Object,Object) and other
other - another Evaluable2. Non null.
Predicate2<A,B> and(@NonNull
Evaluable2<? super A,? super B> other)
Predicate2's Evaluable2.eval(Object,Object) and other
other - another Evaluable2. Non null.
@NullSafe Predicate2<A,B> nullSafe()
Predicate2 that returns true if both
arguments are null, false if only one of them is
null, or evalutes this predicate, otherwise.
nullSafe in interface NullSafeAware<Predicate2<A,B>>Applicable of type A. Non null.Predicate<Tuple2<A,B>> uncurry()
Predicate that takes a single pair, being
its components each of the original predicate parameters
Predicate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||