|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Predicate | |
|---|---|
| net.sf.staccatocommons.defs.function | |
| net.sf.staccatocommons.defs.predicate | |
| net.sf.staccatocommons.defs.type | |
| Uses of Predicate in net.sf.staccatocommons.defs.function |
|---|
| Methods in net.sf.staccatocommons.defs.function that return Predicate | |
|---|---|
Predicate<A> |
Function.equal(B object)
Returns a predicate that answers if the result of applying this function is equals to the given object. |
Predicate<A> |
Function.notNull()
Returns a predicate that answers if the result of applying this function is not null. |
Predicate<A> |
Function.null_()
Returns a predicate that answers if the result of applying this function is null. |
Predicate<A> |
Function.same(B object)
Returns a predicate that answers if the result of applying this function is the same that the given object. |
Predicate<A> |
Function.then(Predicate<? super B> other)
Predicate composition, like of(Applicable), but with
receptor and argument interchanged. |
| Methods in net.sf.staccatocommons.defs.function with parameters of type Predicate | |
|---|---|
Predicate<A> |
Function.then(Predicate<? super B> other)
Predicate composition, like of(Applicable), but with
receptor and argument interchanged. |
| Uses of Predicate in net.sf.staccatocommons.defs.predicate |
|---|
| Methods in net.sf.staccatocommons.defs.predicate that return Predicate | ||
|---|---|---|
Predicate<A> |
Predicate.and(Evaluable<? super A> other)
Returns a predicate that performs a short-circuit logical-and between this Predicate's Evaluable.eval(Object) and other |
|
Predicate<A> |
Predicate.andNotNull()
Returns a null-safe predicate that, when evaluated, answers false if its argument is null, or evaluates this predicate,
otherwise. |
|
Predicate<A> |
Predicate.not()
Negates this Predicate |
|
|
Predicate.of(Applicable<? super B,? extends A> other)
Composes this predicate with another Applicable, resulting in a new
Predicate that when applied returns
this.eval(other.apply(arg) |
|
Predicate<A> |
Predicate.or(Evaluable<? super A> other)
Returns a predicate that, performs a short-circuit logical-or between this Predicate's Evaluable.eval(Object) and other |
|
Predicate<A> |
Predicate.orNull()
Returns a null-safe predicate that, when evaluated, answers true if its argument is null, or evaluates this predicate,
otherwise. |
|
Predicate<Tuple2<A,B>> |
Predicate2.uncurry()
Uncurries this predicate, by returning a Predicate that takes a single pair, being
its components each of the original predicate parameters |
|
Predicate<A> |
Predicate.withEffectOnFalse(Executable<A> executable)
Adds a a side effect to this predicate, that will be evaluated whenever the predicate evaluation is false |
|
Predicate<A> |
Predicate.withEffectOnTrue(Executable<A> executable)
Adds a side effect to this predicate, that will be evaluated whenever the predicate evaluation is true |
|
| Uses of Predicate in net.sf.staccatocommons.defs.type |
|---|
| Methods in net.sf.staccatocommons.defs.type that return Predicate | |
|---|---|
Predicate<A> |
IntegralType.isEven()
Answers a predicate that returns if its argument is even, as specified by IntegralType.isEven(Object) |
Predicate<A> |
IntegralType.isOdd()
Answers a predicate that returns if its argument is odd, as specified by IntegralType.isOdd(Object) |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||