Uses of Interface
org.apache.tapestry5.func.Flow

Uses of Flow in org.apache.tapestry5.func
 

Methods in org.apache.tapestry5.func that return Flow
<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<T> Flow.concat(java.util.List<? extends T> list)
          Returns a new Flow with the values in the list appended to this Flow.
 Flow<T> Flow.drop(int length)
          Returns a new Flow with the first values omitted.
 Flow<T> Flow.each(Worker<? super T> worker)
          Applies the worker to each value in the Flow, then returns the flow for further behaviors.
 Flow<T> Flow.filter(Predicate<? super T> predicate)
          Filters values, keeping only values where the predicate is true, returning a new Flow with just the retained values.
static
<T> Flow<T>
F.flow(java.util.Collection<T> values)
          Extracts the values from the collection to form a Flow.
static
<T> Flow<T>
F.flow(java.lang.Iterable<T> iterable)
          Creates a lazy Flow from the Iterator obtained from the iterable.
static
<T> Flow<T>
F.flow(T... values)
          Creates a new Flow from the values.
static
<T> Flow<T>
F.iterate(T initial, Mapper<T,T> mapper)
          Creates a lazy, infinte Flow consisting of the initial value, then the result of passing the initial value through the Mapper, and so forth, which each step value passed through the mapper to form the next step 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, this method will lazily concatenate all the output flows into a single Flow.
static Flow<java.lang.Integer> F.range(int lower, int upper)
          Creates a lazy Flow that returns integers in the given range.
 Flow<T> Flow.remove(Predicate<? super T> predicate)
          Removes values where the predicate returns true, returning a new Flow with just the remaining values.
 Flow<T> Flow.rest()
          Returns a new Flow containing all but the first value in this Flow.
 Flow<T> Flow.reverse()
          Returns a new flow with the same elements but in reverse order.
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.
 Flow<T> Flow.sort(java.util.Comparator<? super T> comparator)
          Sorts this Flow using the comparator, forming a new Flow.
 Flow<T> Flow.take(int length)
          Returns a new Flow containing just the first values from this Flow.
 

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.
<X,Y> Flow<Y>
Flow.map(Mapper2<T,X,Y> mapper, Flow<? extends X> flow)
          Combines two Flows using a two-parameter Mapper.
 

Method parameters in org.apache.tapestry5.func with type arguments of type Flow
<X> Flow<X>
Flow.mapcat(Mapper<T,Flow<X>> mapper)
          Given a Mapper that maps a T to a Flow, this method will lazily concatenate all the output flows into a single Flow.
 



Copyright © 2010 Apache Software Foundation. All Rights Reserved.