Uses of Class
com.rosetta.model.lib.mapper.MapperS
Packages that use MapperS
-
Uses of MapperS in com.rosetta.model.lib.expression
Methods in com.rosetta.model.lib.expression that return MapperS -
Uses of MapperS in com.rosetta.model.lib.mapper
Methods in com.rosetta.model.lib.mapper that return MapperSModifier and TypeMethodDescription<F> MapperS<F> MapperS.checkedMap(NamedFunction<T, F> mappingFunc, Class<? extends Exception> errorClass) <F> MapperS<F> MapperS.filterSingle(Predicate<MapperS<T>> predicate) MapperS.filterSingleNullSafe(Function<MapperS<T>, Boolean> predicate) MapperC.first()Gets first item of the list.Get item at specified index, returns null if index out of bounds.static <T> MapperS<T> MapperS.identity()Concatenate list of strings, separating each item with delimiter.MapperC.last()Gets last item of the list.<F> MapperS<F> MapperS.map(NamedFunction<T, F> mappingFunc) Maps single parent item to single child item.<F> MapperS<F> <F> MapperS<F> MapperS.mapSingleToItem(Function<MapperS<T>, MapperS<F>> mappingFunc) Map a single value to a single value.<F extends Comparable<F>>
MapperS<T> MapperC.max()Get maximum item from a list of comparable items.<F extends Comparable<F>>
MapperS<T> Get item from list based on maximum item attribute (provided by comparableGetter)<F extends Comparable<F>>
MapperS<T> MapperC.min()Get minimum item from a list of comparable items.<F extends Comparable<F>>
MapperS<T> Get item from list based on minimum item attribute (provided by comparableGetter)static <T> MapperS<T> MapperS.of(T t) static <T,P> MapperS <T> MapperS.of(T t, com.rosetta.model.lib.mapper.MapperPath path, MapperItem<P, ?> parent) static <T> MapperS<T> MapperS.ofNull()<F> MapperS<F> MapperC.reduce(MapperS<F> initial, BinaryOperator<MapperS<F>> reduceFunc) Reduce list items to single item based on the given reduce function.<F> MapperS<F> MapperC.reduce(BinaryOperator<MapperS<F>> reduceFunc) Reduce list items to single item based on the given reduce function.MapperC.sumBigDecimal()Sum list of numbers.MapperC.sumBigInteger()Sum list of numbers.MapperC.sumInteger()Sum list of integers.MapperC.sumLong()Sum list of longs.Methods in com.rosetta.model.lib.mapper with parameters of type MapperSModifier and TypeMethodDescriptionGet item at specified index, returns null if index out of bounds.Concatenate list of strings, separating each item with delimiter.<F> MapperS<F> MapperC.reduce(MapperS<F> initial, BinaryOperator<MapperS<F>> reduceFunc) Reduce list items to single item based on the given reduce function.MapperC.removeItem(MapperS<Integer> indexGetter) Remove item at specified index, returns list without removed item.Method parameters in com.rosetta.model.lib.mapper with type arguments of type MapperSModifier and TypeMethodDescription<F> FApply a function to this mapperMapperC.filterItem(Predicate<MapperS<T>> predicate) MapperC.filterItemNullSafe(Function<MapperS<T>, Boolean> predicate) Filter items of list based on the given predicate.MapperS.filterSingle(Predicate<MapperS<T>> predicate) MapperS.filterSingleNullSafe(Function<MapperS<T>, Boolean> predicate) <F> MapperC<F> Map items of a list based on the given mapping function.<F> MapperC<F> Map items of a list based on the given mapping function.<F> MapperListOfLists<F> MapperC.mapItemToList(Function<MapperS<T>, MapperC<F>> mappingFunc) Map items of a list based on the given mapping function.<F> MapperC<F> MapperListOfLists.mapListToItem(Function<MapperC<T>, MapperS<F>> mappingFunc) Map a list of lists to a list based on the given mapping function.<F> MapperS<F> MapperS.mapSingleToItem(Function<MapperS<T>, MapperS<F>> mappingFunc) Map a single value to a single value.<F> MapperS<F> MapperS.mapSingleToItem(Function<MapperS<T>, MapperS<F>> mappingFunc) Map a single value to a single value.<F> MapperC<F> MapperS.mapSingleToList(Function<MapperS<T>, MapperC<F>> mappingFunc) Map a single value into an item of a list based on the given mapping function.<F extends Comparable<F>>
MapperS<T> Get item from list based on maximum item attribute (provided by comparableGetter)<F extends Comparable<F>>
MapperS<T> Get item from list based on maximum item attribute (provided by comparableGetter)<F extends Comparable<F>>
MapperS<T> Get item from list based on minimum item attribute (provided by comparableGetter)<F extends Comparable<F>>
MapperS<T> Get item from list based on minimum item attribute (provided by comparableGetter)<F> MapperS<F> MapperC.reduce(MapperS<F> initial, BinaryOperator<MapperS<F>> reduceFunc) Reduce list items to single item based on the given reduce function.<F> MapperS<F> MapperC.reduce(BinaryOperator<MapperS<F>> reduceFunc) Reduce list items to single item based on the given reduce function.<F extends Comparable<F>>
MapperC<T> Sort list of items based on comparable attribute.<F extends Comparable<F>>
MapperC<T> Sort list of items based on comparable attribute.