Uses of Interface
org.apache.tapestry5.func.Flow
-
Packages that use Flow Package Description org.apache.tapestry5.func Light-weight functional programming for Flows of values -
-
Uses of Flow in org.apache.tapestry5.func
Methods in org.apache.tapestry5.func that return Flow Modifier and Type Method Description <V extends T>
Flow<T>Flow. append(V... values)
Appends any number of type compatible values to the end of this Flow.Flow<T>
Flow. concat(Flow<? extends T> other)
Returns a new Flow with the other Flow's elements appended to this Flow's.Flow<A>
ZippedFlow. firsts()
Returns a flow of the first values of the tuples of the zipped flow.static <T> Flow<T>
F. flow(java.lang.Iterable<T> iterable)
Creates a lazy Flow from theIterator
obtained from the iterable.static <T> Flow<T>
F. flow(java.util.Collection<T> values)
Extracts the values from the collection to form aFlow
.static <T> Flow<T>
F. flow(java.util.Iterator<T> iterator)
Creates a lazy Flow from theIterator
.static <T> Flow<T>
F. flow(T... values)
Creates a new Flow from the values.Flow<T>
Flow. interleave(Flow<T>... otherFlows)
"Stripes" together a group of flows.static <T> Flow<T>
F. iterate(T initial, Mapper<T,T> function)
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>
Flow. map(Mapper<T,X> mapper)
Maps a Flow into a new Flow with different type values.<X,Y>
Flow<Y>Flow. map(Mapper2<T,X,Y> mapper, Flow<? extends X> flow)
Combines two Flows using a two-parameter Mapper.<X> Flow<X>
Flow. mapcat(Mapper<T,Flow<X>> mapper)
Given aMapper
that maps a T to aFlow<X>
, this method will lazily concatenate all the output flows into a singleFlow<X>
.static Flow<java.lang.Integer>
F. range(int lower, int upper)
Creates a lazy Flow that returns integers in the given range.Flow<B>
ZippedFlow. seconds()
Returns a flow of the second values of the tuples of the zipped flow.static Flow<java.lang.Integer>
F. series(int start, int delta)
Creates an infinite series of numbers.Flow<T>
Flow. sort()
Sorts this Flow, forming a new Flow.Methods in org.apache.tapestry5.func that return types with arguments of type Flow Modifier and Type Method Description Tuple<Flow<A>,Flow<B>>
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.Tuple<Flow<A>,Flow<B>>
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 Flow Modifier and Type Method Description Flow<T>
Flow. concat(Flow<? extends T> other)
Returns a new Flow with the other Flow's elements appended to this Flow's.Flow<T>
Flow. interleave(Flow<T>... otherFlows)
"Stripes" together a group of flows.<X,Y>
Flow<Y>Flow. map(Mapper2<T,X,Y> mapper, Flow<? extends X> flow)
Combines two Flows using a two-parameter Mapper.<X> ZippedFlow<T,X>
Flow. zipWith(Flow<X> otherFlow)
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 Flow Modifier and Type Method Description <X> Flow<X>
Flow. mapcat(Mapper<T,Flow<X>> mapper)
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 Constructor Description LazyZipValue(Flow<A> aFlow, Flow<B> bFlow)
-