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 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.concat(Flow<? extends T> other)
    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>
    F.flow(Iterable<T> iterable)
    Creates a lazy Flow from the Iterator obtained from the iterable.
    static <T> Flow<T>
    F.flow(Collection<T> values)
    Extracts the values from the collection to form a Flow.
    static <T> Flow<T>
    F.flow(Iterator<T> iterator)
    Creates a lazy Flow from the Iterator.
    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>
    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 a Flow 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 a Mapper that maps a T to a Flow<X>, this method will lazily concatenate all the output flows into a single Flow<X>.
    static Flow<Integer>
    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.
    static Flow<Integer>
    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 Flow
    Modifier and Type
    Method
    Description
    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.
    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.concat(Flow<? extends T> other)
    Returns 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>
    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 of Tuples.
    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 a Mapper that maps a T to a Flow<X>, this method will lazily concatenate all the output flows into a single Flow<X>.
    Constructors in org.apache.tapestry5.func with parameters of type Flow
    Modifier
    Constructor
    Description
     
    LazyZipValue(Flow<A> aFlow, Flow<B> bFlow)