Uses of Class
org.apache.tapestry5.func.Tuple
Packages that use Tuple
Package
Description
Light-weight functional programming for Flows of values
-
Uses of Tuple in org.apache.tapestry5.func
Methods in org.apache.tapestry5.func that return TupleModifier and TypeMethodDescriptionstatic <X,
Y> Tuple<X, Y> Tuple.create
(X first, Y second) LazyZipValue.get()
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 that return types with arguments of type TupleModifier and TypeMethodDescriptionstatic <A extends Comparable<A>,
B>
Comparator<Tuple<A,B>> F.orderByFirst()
Creates a Comparator for the Tuples of aZippedFlow
that sorts the Tuple elements based on the first value in the Tuple.static <A,
B extends Comparable<B>>
Comparator<Tuple<A,B>> F.orderBySecond()
Creates a Comparator for the Tuples of aZippedFlow
that sorts the Tuple elements based on the first value in the Tuple.Method parameters in org.apache.tapestry5.func with type arguments of type TupleModifier and TypeMethodDescription<X,
Y> ZippedFlow<X, Y> Mapping for zipped flows; a mapper is used to map tuples of this zipped flow into new tuples with a new type, forming the resulting zipped flow.<X,
Y> ZippedFlow<X, Y> Mapping for zipped flows; a mapper is used to map tuples of this zipped flow into new tuples with a new type, forming the resulting zipped flow.