|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of Predicate in org.apache.tapestry5.func |
|---|
| Methods in org.apache.tapestry5.func that return Predicate | ||
|---|---|---|
Predicate<T> |
Predicate.and(Predicate<? super T> other)
Combines this Predicate with another compatible Predicate to form a new Predicate, which is returned. |
|
static Predicate<java.lang.Number> |
F.eq(long value)
|
|
static
|
F.eql(T value)
|
|
static Predicate<java.lang.Number> |
F.gt(long value)
|
|
static Predicate<java.lang.Number> |
F.gteq(long value)
|
|
Predicate<T> |
Predicate.invert()
Inverts this Predicate, returning a new Predicate that inverts the value returned from accept(T). |
|
static
|
F.isNull()
|
|
static Predicate<java.lang.Number> |
F.lt(long value)
|
|
static Predicate<java.lang.Number> |
F.lteq(long value)
|
|
static Predicate<java.lang.Number> |
F.neq(long value)
|
|
static
|
F.notNull()
|
|
Predicate<T> |
Predicate.or(Predicate<? super T> other)
Combines this Predicate with another compatible Predicate to form a new Predicate, which is returned. |
|
static
|
F.toPredicate(Mapper<S,java.lang.Boolean> mapper)
Allows a Mapper that maps to boolean to be used as a Predicate. |
|
| Methods in org.apache.tapestry5.func with parameters of type Predicate | ||
|---|---|---|
Predicate<T> |
Predicate.and(Predicate<? super T> other)
Combines this Predicate with another compatible Predicate to form a new Predicate, which is returned. |
|
Flow<T> |
Flow.filter(Predicate<? super T> predicate)
Filters values, keeping only values where the predicate is true, returning a new Flow with just the retained values. |
|
Predicate<T> |
Predicate.or(Predicate<? super T> other)
Combines this Predicate with another compatible Predicate to form a new Predicate, which is returned. |
|
Flow<T> |
Flow.remove(Predicate<? super T> predicate)
Removes values where the predicate returns true, returning a new Flow with just the remaining values. |
|
static
|
F.select(Predicate<? super S> predicate,
Mapper<S,T> ifAccepted)
Override of F.select(Predicate, Mapper, Mapper) where rejected values are replaced with null. |
|
static
|
F.select(Predicate<? super S> predicate,
Mapper<S,T> ifAccepted,
Mapper<S,T> ifRejected)
Mapper factory that combines a Predicate with two Mappers; evaluating the predicate selects one of the
two mappers. |
|
static
|
F.select(Predicate<? super S> predicate,
Mapper<S,T> ifAccepted,
T ifRejectedValue)
Override of F.select(Predicate, Mapper) where rejected values are replaced with a fixed value. |
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||