Package | Description |
---|---|
org.apache.tapestry5.func |
Light-weight functional programming for Flows of values
|
Modifier and Type | Method and Description |
---|---|
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.
|
<X,Y> ZippedFlow<X,Y> |
ZippedFlow.mapTuples(Mapper<Tuple<A,B>,Tuple<X,Y>> mapper)
Mapping for zipped flows; a mapper is used to map tuples of this zipped flow into new tuples
with a new type, forming the resulting zipped flow.
|
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 <A,B> ZippedFlow<A,B> |
F.zippedFlow(Map<A,B> map)
Creates a ZippedFlow from the provided map; the order of the tuples in the ZippedFlow is defined
by the iteration order of the map entries.
|
<X> ZippedFlow<T,X> |
Flow.zipWith(Flow<X> otherFlow)
Zips this Flow together with another flow to form a Flow of
Tuple s. |
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.