| 
 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Mapper | |
|---|---|
| org.apache.tapestry5.func | Light-weight functional programming for Flows of values | 
| org.apache.tapestry5.internal | [INTERNAL USE ONLY] internal support classes; API subject to change. | 
| org.apache.tapestry5.ioc.internal.util | [INTERNAL USE ONLY] utility classes for Tapestry IOC services; API subject to change | 
| Uses of Mapper in org.apache.tapestry5.func | 
|---|
| Methods in org.apache.tapestry5.func that return Mapper | ||
|---|---|---|
| static
 | F.always(T fixedResult)A Mapper factory; the returned Mapper ignores its input value and always returns a predetermined result. | |
| static
 | F.combine(Mapper<A,B> abMapper,
               Mapper<B,C> bcMapper)Combines two mappers into a composite mapping from type A to type C via type B. | |
| static
 | F.identity()A Mapper factory; the Mapper returns the the flow value unchanged. | |
| static
 | F.select(Predicate<? super S> predicate,
             Mapper<S,T> ifAccepted)Override of F.select(Predicate, Mapper, Mapper)where rejected values are replaced
 with null. | |
| static
 | F.select(Predicate<? super S> predicate,
             Mapper<S,T> ifAccepted,
             Mapper<S,T> ifRejected)A Mapper factory that combines a Predicate with two Mappers; evaluating the predicate
 selects one of the two mappers. | |
| static
 | F.select(Predicate<? super S> predicate,
             Mapper<S,T> ifAccepted,
             T ifRejectedValue)Override of F.select(Predicate, Mapper)where rejected values are replaced with a
 fixed value. | |
| static
 | F.stringValueOf()A Mapper factory that gets the string value of the flow value using String.valueOf(Object). | |
| Methods in org.apache.tapestry5.func with parameters of type Mapper | ||
|---|---|---|
| static
 | F.combine(Mapper<A,B> abMapper,
               Mapper<B,C> bcMapper)Combines two mappers into a composite mapping from type A to type C via type B. | |
| static
 | F.combine(Mapper<A,B> abMapper,
               Mapper<B,C> bcMapper)Combines two mappers into a composite mapping from type A to type C via type B. | |
| 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. | |
| 
 | Flow.map(Mapper<T,X> mapper)Maps a Flow into a new Flow with different type values. | |
| 
 | Flow.mapcat(Mapper<T,Flow<X>> mapper)Given a Mapperthat maps a T to a Flow | |
| 
 | ZippedFlow.mapTuples(Mapper<Tuple<A,B>,Tuple<X,Y>> mapper)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. | |
| static
 | F.select(Predicate<? super S> predicate,
             Mapper<S,T> ifAccepted)Override of F.select(Predicate, Mapper, Mapper)where rejected values are replaced
 with null. | |
| static
 | F.select(Predicate<? super S> predicate,
             Mapper<S,T> ifAccepted,
             Mapper<S,T> ifRejected)A Mapper factory that combines a Predicate with two Mappers; evaluating the predicate
 selects one of the two mappers. | |
| static
 | F.select(Predicate<? super S> predicate,
             Mapper<S,T> ifAccepted,
             Mapper<S,T> ifRejected)A Mapper factory that combines a Predicate with two Mappers; evaluating the predicate
 selects one of the two mappers. | |
| static
 | F.select(Predicate<? super S> predicate,
             Mapper<S,T> ifAccepted,
             T ifRejectedValue)Override of F.select(Predicate, Mapper)where rejected values are replaced with a
 fixed value. | |
| static
 | F.toPredicate(Mapper<S,Boolean> mapper)Allows a Mapper that maps to boolean to be used as a Predicate. | |
| Uses of Mapper in org.apache.tapestry5.internal | 
|---|
| Fields in org.apache.tapestry5.internal declared as Mapper | |
|---|---|
| static Mapper<Asset,StylesheetLink> | TapestryInternalUtils.assetToStylesheetLinkCommon mapper, used primarily with Flow.map(org.apache.tapestry5.func.Mapper) | 
| Uses of Mapper in org.apache.tapestry5.ioc.internal.util | 
|---|
| Fields in org.apache.tapestry5.ioc.internal.util declared as Mapper | |
|---|---|
| static Mapper<Class,AnnotationProvider> | InternalUtils.CLASS_TO_AP_MAPPER | 
| static Mapper<ObjectCreator,Object> | InternalUtils.CREATE_OBJECT | 
| static Mapper<Method,AnnotationProvider> | InternalUtils.METHOD_TO_AP_MAPPER | 
| Methods in org.apache.tapestry5.ioc.internal.util that return Mapper | ||
|---|---|---|
| static
 | InternalUtils.toMapper(Coercion<S,T> coercion)Wraps a Coercionas aMapper. | |
| 
 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||