|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Flow | |
---|---|
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 | ||
---|---|---|
|
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
|
F.flow(Collection<T> values)
Extracts the values from the collection to form a Flow . |
|
static
|
F.flow(Iterable<T> iterable)
Creates a lazy Flow from the Iterator obtained from the iterable. |
|
static
|
F.flow(Iterator<T> iterator)
Creates a lazy Flow from the Iterator . |
|
static
|
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
|
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
|
F.lazy(LazyFunction<T> function)
Creates a Flow from a lazy function. |
|
|
Flow.map(Mapper<T,X> mapper)
Maps a Flow into a new Flow with different type values. |
|
|
Flow.map(Mapper2<T,X,Y> mapper,
Flow<? extends X> flow)
Combines two Flows using a two-parameter Mapper. |
|
|
Flow.mapcat(Mapper<T,Flow<X>> mapper)
Given a Mapper that maps a T to a Flow |
|
static Flow<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<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 | |
---|---|
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 | ||
---|---|---|
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. |
|
|
Flow.map(Mapper2<T,X,Y> mapper,
Flow<? extends X> flow)
Combines two Flows using a two-parameter Mapper. |
|
|
Flow.zipWith(Flow<X> otherFlow)
Zips this Flow together with another flow to form a Flow of Tuple s. |
Method parameters in org.apache.tapestry5.func with type arguments of type Flow | ||
---|---|---|
|
Flow.mapcat(Mapper<T,Flow<X>> mapper)
Given a Mapper that maps a T to a Flow |
Constructors in org.apache.tapestry5.func with parameters of type Flow | |
---|---|
LazyZipValue(Flow<A> aFlow,
Flow<B> bFlow)
|
|
LazyZipValue(Flow<A> aFlow,
Flow<B> bFlow)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |