Uses of Interface
org.microbean.bean.Reducer
-
Uses of Reducer in org.microbean.bean
Classes in org.microbean.bean that implement ReducerModifier and TypeClassDescriptionfinal classRankedReducer<C,T extends Ranked> Deprecated.This class is not really needed and is tentatively deprecated.Methods in org.microbean.bean that return ReducerModifier and TypeMethodDescriptionRankedReducer.of()Deprecated.Returns aRankedReducerimplementation.static <C,T> Reducer <C, T> Reducer.ofFailing()Deprecated.Returns aReducerwhosereduce(List, Object, BiFunction)method, for a givenListof elements, returns the result of invoking its supplied failure handler.static <C,T> Reducer <C, T> Reducer.ofSimple()Deprecated.Returns aReducerwhosereduce(List, Object, BiFunction)method, for a givenListof elements, returns theList's sole element if theListhas exactly one element, and returns the result of invoking its supplied failure handler otherwise.Methods in org.microbean.bean with parameters of type ReducerModifier and TypeMethodDescriptionstatic <C,E> Reducible <C, E> Reducible.of(Selectable<C, E> selectable, Reducer<C, E> r) Deprecated.Calls theReducible.of(Selectable, Reducer, BiFunction)method with the suppliedselectable, the suppliedr, and a reference to thefail(List, Object)method, and returns the result.static <C,E> Reducible <C, E> Reducible.of(Selectable<C, E> selectable, Reducer<C, E> r, BiFunction<? super List<? extends E>, ? super C, ? extends E> failureHandler) Deprecated.static <C,E> Reducible <C, E> Reducible.ofCaching(Selectable<C, E> selectable, Reducer<C, E> r) Deprecated.Calls theReducible.ofCaching(Selectable, Reducer, BiFunction)method with the suppliedselectable, the suppliedr, the suppliedfailureHandler, and a reference to thefail(List, Object)method, and returns its result.static <C,E> Reducible <C, E> Reducible.ofCaching(Selectable<C, E> selectable, Reducer<C, E> r, BiFunction<? super List<? extends E>, ? super C, ? extends E> fh) Deprecated.Calls theReducible.ofCaching(Selectable, Reducer, BiFunction, BiFunction)method with the suppliedselectable, the suppliedr, the suppliedfh, and a reference to thecomputeIfAbsent(Object, Function)method of a newConcurrentHashMap, and returns its result.static <C,E> Reducible <C, E> Reducible.ofCaching(Selectable<C, E> selectable, Reducer<C, E> r, BiFunction<? super List<? extends E>, ? super C, ? extends E> fh, BiFunction<? super C, Function<C, E>, ? extends E> cache) Deprecated.Returns aReducibleimplementation that uses the suppliedReducerfor its reduction operations and the suppliedcomputeIfAbsentBiFunctionfor its caching implementation.