Uses of Interface
org.apache.tapestry5.func.Predicate

Packages that use Predicate
org.apache.tapestry5.dom A Document Object Model, a tree of nodes representing elements, attributes and text within a document. 
org.apache.tapestry5.func Light-weight functional programming for Flows of values 
org.apache.tapestry5.internal.transform [INTERNAL USE ONLY] component class transformation implementation classes; API subject to change. 
org.apache.tapestry5.ioc.internal.util [INTERNAL USE ONLY] utility classes for Tapestry IOC services; API subject to change 
org.apache.tapestry5.services Core services 
 

Uses of Predicate in org.apache.tapestry5.dom
 

Methods in org.apache.tapestry5.dom with parameters of type Predicate
 Element Element.getElement(Predicate<Element> predicate)
          Tries to find an element under this element (including itself) accepted by the given predicate.
 

Uses of Predicate in org.apache.tapestry5.func
 

Methods in org.apache.tapestry5.func that return Predicate
static
<T> Predicate<T>
F.and(Predicate<? super T>... delegates)
          Combines any number of delegates as a logical and operation.
static Predicate<String> F.endsWith(String suffix)
          A Predicate factory for matching String elements with a given suffix.
static Predicate<String> F.endsWithIgnoringCase(String suffix)
          As with F.endsWith(String) but ignores case.
static
<T extends Comparable<T>>
Predicate<T>
F.eq(T value)
          A Predicate factory for comparison of a Comparable element from a flow against a fixed value.
static
<T> Predicate<T>
F.eql(T value)
          A Predicate factory for equality of an element from a flow against a specified value.
static
<T extends Comparable<T>>
Predicate<T>
F.gt(T value)
          A Predicate factory for comparison of a Comparable against a fixed value; true if the flow element is greater than the provided value.
static
<T extends Comparable<T>>
Predicate<T>
F.gteq(T value)
          A Predicate factory for comparison of a Comparable against a fixed value; true if the flow element is greater than or equal to the value.
static
<T> Predicate<T>
F.isNull()
          A Predicate factory; returns true if the value from the Flow is null.
static
<T extends Comparable<T>>
Predicate<T>
F.lt(T value)
          A Predicate factory for comparison of a Comparable against a fixed value; true if the element is less than the value.
static
<T extends Comparable<T>>
Predicate<T>
F.lteq(T value)
          A Predicate factory for comparison of a Comprable element against a fixed value; true if the element is less than or equal to the value.
static
<T extends Comparable<T>>
Predicate<T>
F.neq(T value)
          A Predicate factory for comparison of a Comparable element against a fixed value.
static
<T> Predicate<T>
F.not(Predicate<? super T> delegate)
          Inverts a predicate.
static
<T> Predicate<T>
F.notNull()
          A Predicate factory; returns true if the value from the Flow is not null.
static
<T> Predicate<T>
F.or(Predicate<? super T>... delegates)
          Combines any number of delegates as a logical or operation.
static Predicate<String> F.startsWith(String prefix)
          A Predicate factory for matching String elements with a given prefix.
static Predicate<String> F.startsWithIgnoringCase(String prefix)
          As F.startsWith(String), but ignores case.
static
<S> Predicate<S>
F.toPredicate(Mapper<S,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
static
<T> Predicate<T>
F.and(Predicate<? super T>... delegates)
          Combines any number of delegates as a logical and operation.
 FT FlowOperations.filter(Predicate<? super T> predicate)
          Filters values, keeping only values where the predicate is true, returning a new Flow with just the retained values.
 ZippedFlow<A,B> ZippedFlow.filterOnFirst(Predicate<? super A> predicate)
          Filters the tuples in the zipped flow by applying a predicate to the first value in each tuple.
 ZippedFlow<A,B> ZippedFlow.filterOnSecond(Predicate<? super B> predicate)
          Filters the tuples in the zipped flow by applying a predicate to the second value in each tuple.
static
<T> Predicate<T>
F.not(Predicate<? super T> delegate)
          Inverts a predicate.
static
<T> Predicate<T>
F.or(Predicate<? super T>... delegates)
          Combines any number of delegates as a logical or operation.
 FT FlowOperations.remove(Predicate<? super T> predicate)
          Removes values where the predicate returns true, returning a new Flow with just the remaining values.
 ZippedFlow<A,B> ZippedFlow.removeOnFirst(Predicate<? super A> predicate)
          Removes tuples from the zipped flow by applying a predicate to the first value in each tuple.
 ZippedFlow<A,B> ZippedFlow.removeOnSecond(Predicate<? super B> predicate)
          Removes tuples from the zipped flow by applying a predicate to the second value in each tuple.
static
<S,T> Mapper<S,T>
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
<S,T> Mapper<S,T>
F.select(Predicate<? super S> predicate, Mapper<S,T> ifAccepted, Mapper<S,T> ifRejected)
          A Mapper factory that combines a Predicate with two Mappers; evaluating the predicate selects one of the two mappers.
static
<S,T> Mapper<S,T>
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.
 

Uses of Predicate in org.apache.tapestry5.internal.transform
 

Methods in org.apache.tapestry5.internal.transform with parameters of type Predicate
 List<TransformField> BridgeClassTransformation.matchFields(Predicate<TransformField> predicate)
           
 List<TransformMethod> BridgeClassTransformation.matchMethods(Predicate<TransformMethod> predicate)
           
 

Uses of Predicate in org.apache.tapestry5.ioc.internal.util
 

Methods in org.apache.tapestry5.ioc.internal.util with parameters of type Predicate
static
<T extends Comparable<T>>
List<T>
InternalUtils.matchAndSort(Collection<? extends T> collection, Predicate<T> predicate)
           
 

Uses of Predicate in org.apache.tapestry5.services
 

Methods in org.apache.tapestry5.services with parameters of type Predicate
 List<TransformField> ClassTransformation.matchFields(Predicate<TransformField> predicate)
          Deprecated. Finds all unclaimed fields matched by the provided predicate.
 List<TransformMethod> ClassTransformation.matchMethods(Predicate<TransformMethod> predicate)
          Deprecated. Finds all methods matched by the provided predicate.
 



Copyright © 2003-2012 The Apache Software Foundation.