Uses of Interface
org.apache.tapestry5.func.Flow
Packages that use Flow
Package
Description
Light-weight functional programming for Flows of values
-
Uses of Flow in org.apache.tapestry5.func
Methods in org.apache.tapestry5.func that return FlowModifier and TypeMethodDescriptionFlow.append
(V... values) Appends any number of type compatible values to the end of this Flow.Returns a new Flow with the other Flow's elements appended to this Flow's.ZippedFlow.firsts()
Returns a flow of the first values of the tuples of the zipped flow.static <T> Flow<T>
Creates a lazy Flow from theIterator
obtained from the iterable.static <T> Flow<T>
F.flow
(Collection<T> values) Extracts the values from the collection to form aFlow
.static <T> Flow<T>
Creates a lazy Flow from theIterator
.static <T> Flow<T>
F.flow
(T... values) Creates a new Flow from the values.Flow.interleave
(Flow<T>... otherFlows) "Stripes" together a group of flows.static <T> Flow<T>
Creates an infinite lazy flow from an initial value and a function to map from the current value to the next value.static <T> Flow<T>
F.lazy
(LazyFunction<T> function) Creates aFlow
from a lazy function.<X> Flow<X>
Maps a Flow into a new Flow with different type values.<X,
Y> Flow<Y> Combines two Flows using a two-parameter Mapper.<X> Flow<X>
Given aMapper
that maps a T to aFlow<X>
, this method will lazily concatenate all the output flows into a singleFlow<X>
.F.range
(int lower, int upper) Creates a lazy Flow that returns integers in the given range.ZippedFlow.seconds()
Returns a flow of the second values of the tuples of the zipped flow.F.series
(int start, int delta) Creates an infinite series of numbers.Flow.sort()
Sorts this Flow, forming a new Flow.Methods in org.apache.tapestry5.func that return types with arguments of type FlowModifier and TypeMethodDescriptionZippedFlow.unzip()
A ZippedFlow is a Flow of Tuples; this inverts that, splitting each Tuple into a Flow of elements, then assembling the result as a Tuple of two values.ZippedFlow.unzip()
A ZippedFlow is a Flow of Tuples; this inverts that, splitting each Tuple into a Flow of elements, then assembling the result as a Tuple of two values.Methods in org.apache.tapestry5.func with parameters of type FlowModifier and TypeMethodDescriptionReturns a new Flow with the other Flow's elements appended to this Flow's.Flow.interleave
(Flow<T>... otherFlows) "Stripes" together a group of flows.<X,
Y> Flow<Y> Combines two Flows using a two-parameter Mapper.<X> ZippedFlow<T,
X> Zips this Flow together with another flow to form a Flow ofTuple
s.Method parameters in org.apache.tapestry5.func with type arguments of type FlowModifier and TypeMethodDescription<X> Flow<X>
Given aMapper
that maps a T to aFlow<X>
, this method will lazily concatenate all the output flows into a singleFlow<X>
.Constructors in org.apache.tapestry5.func with parameters of type Flow