public final class Transformers extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> io.reactivex.FlowableTransformer<T,List<T>> |
bufferWhile(io.reactivex.functions.BiPredicate<? super List<T>,? super T> condition) |
static <T> io.reactivex.FlowableTransformer<T,List<T>> |
bufferWhile(io.reactivex.functions.BiPredicate<? super List<T>,? super T> condition,
boolean emitRemainder) |
static <T extends Number> |
collectStats() |
static <T,R extends Number> |
collectStats(io.reactivex.functions.Function<? super T,? extends R> function) |
static <T,R> io.reactivex.FlowableTransformer<T,R> |
collectWhile(Callable<R> collectionFactory,
io.reactivex.functions.BiFunction<? super R,? super T,? extends R> add,
io.reactivex.functions.BiPredicate<? super R,? super T> condition) |
static <T,R> io.reactivex.FlowableTransformer<T,R> |
collectWhile(Callable<R> collectionFactory,
io.reactivex.functions.BiFunction<? super R,? super T,? extends R> add,
io.reactivex.functions.BiPredicate<? super R,? super T> condition,
boolean emitRemainder) |
static <T> io.reactivex.FlowableTransformer<T,T> |
doOnEmpty(io.reactivex.functions.Action action) |
static <T> io.reactivex.FlowableTransformer<T,T> |
mapLast(io.reactivex.functions.Function<? super T,? extends T> function) |
static <A,B,K,C> io.reactivex.Flowable<C> |
match(io.reactivex.Flowable<A> a,
io.reactivex.Flowable<B> b,
io.reactivex.functions.Function<? super A,K> aKey,
io.reactivex.functions.Function<? super B,K> bKey,
io.reactivex.functions.BiFunction<? super A,? super B,C> combiner,
int requestSize) |
static <A,B,C,K> io.reactivex.FlowableTransformer<A,C> |
matchWith(io.reactivex.Flowable<B> b,
io.reactivex.functions.Function<? super A,K> aKey,
io.reactivex.functions.Function<? super B,K> bKey,
io.reactivex.functions.BiFunction<? super A,? super B,C> combiner) |
static <A,B,C,K> io.reactivex.FlowableTransformer<A,C> |
matchWith(io.reactivex.Flowable<B> b,
io.reactivex.functions.Function<? super A,K> aKey,
io.reactivex.functions.Function<? super B,K> bKey,
io.reactivex.functions.BiFunction<? super A,? super B,C> combiner,
int requestSize) |
static <T> io.reactivex.FlowableTransformer<T,T> |
maxRequest(long... maxRequest) |
static <T> io.reactivex.FlowableTransformer<T,T> |
minRequest(int... minRequests) |
static Options.BuilderFlowable |
onBackpressureBufferToFile() |
static <T> io.reactivex.FlowableTransformer<T,T> |
rebatchRequests(int minRequest,
long maxRequest) |
static <T> io.reactivex.FlowableTransformer<T,T> |
rebatchRequests(int minRequest,
long maxRequest,
boolean constrainFirstRequestMin) |
static <T> io.reactivex.functions.Function<io.reactivex.Flowable<T>,io.reactivex.Flowable<T>> |
reduce(io.reactivex.functions.Function<? super io.reactivex.Flowable<T>,? extends io.reactivex.Flowable<T>> reducer,
int maxChained) |
static <T> io.reactivex.functions.Function<io.reactivex.Flowable<T>,io.reactivex.Flowable<T>> |
reduce(io.reactivex.functions.Function<? super io.reactivex.Flowable<T>,? extends io.reactivex.Flowable<T>> reducer,
int maxChained,
long maxIterations) |
static <T> io.reactivex.functions.Function<io.reactivex.Flowable<T>,io.reactivex.Flowable<T>> |
repeat(io.reactivex.functions.Function<? super io.reactivex.Flowable<T>,? extends io.reactivex.Flowable<T>> transform,
int maxChained,
long maxIterations,
io.reactivex.functions.Function<io.reactivex.Observable<T>,io.reactivex.Observable<?>> tester) |
static <T> io.reactivex.FlowableTransformer<T,T> |
reverse() |
static StateMachine.Builder |
stateMachine() |
static <State,In,Out> |
stateMachine(Callable<? extends State> initialState,
io.reactivex.functions.Function3<? super State,? super In,? super io.reactivex.FlowableEmitter<Out>,? extends State> transition,
io.reactivex.functions.BiPredicate<? super State,? super io.reactivex.FlowableEmitter<Out>> completion,
io.reactivex.BackpressureStrategy backpressureStrategy,
int requestBatchSize) |
static StateMachine2.Builder |
stateMachine2() |
static <T> io.reactivex.FlowableTransformer<T,List<T>> |
toListWhile(io.reactivex.functions.BiPredicate<? super List<T>,? super T> condition) |
static <T> io.reactivex.FlowableTransformer<T,List<T>> |
toListWhile(io.reactivex.functions.BiPredicate<? super List<T>,? super T> condition,
boolean emitRemainder) |
static <T extends Comparable<T>> |
windowMax(int windowSize) |
static <T> io.reactivex.FlowableTransformer<T,T> |
windowMax(int windowSize,
Comparator<? super T> comparator) |
static <T extends Comparable<T>> |
windowMin(int windowSize) |
static <T> io.reactivex.FlowableTransformer<T,T> |
windowMin(int windowSize,
Comparator<? super T> comparator) |
public static <State,In,Out> io.reactivex.FlowableTransformer<In,Out> stateMachine(Callable<? extends State> initialState, io.reactivex.functions.Function3<? super State,? super In,? super io.reactivex.FlowableEmitter<Out>,? extends State> transition, io.reactivex.functions.BiPredicate<? super State,? super io.reactivex.FlowableEmitter<Out>> completion, io.reactivex.BackpressureStrategy backpressureStrategy, int requestBatchSize)
public static StateMachine.Builder stateMachine()
public static StateMachine2.Builder stateMachine2()
public static <T> io.reactivex.FlowableTransformer<T,T> doOnEmpty(io.reactivex.functions.Action action)
public static <T> io.reactivex.FlowableTransformer<T,T> reverse()
public static <T> io.reactivex.FlowableTransformer<T,T> mapLast(io.reactivex.functions.Function<? super T,? extends T> function)
public static <A,B,K,C> io.reactivex.Flowable<C> match(io.reactivex.Flowable<A> a,
io.reactivex.Flowable<B> b,
io.reactivex.functions.Function<? super A,K> aKey,
io.reactivex.functions.Function<? super B,K> bKey,
io.reactivex.functions.BiFunction<? super A,? super B,C> combiner,
int requestSize)
public static <A,B,C,K> io.reactivex.FlowableTransformer<A,C> matchWith(io.reactivex.Flowable<B> b,
io.reactivex.functions.Function<? super A,K> aKey,
io.reactivex.functions.Function<? super B,K> bKey,
io.reactivex.functions.BiFunction<? super A,? super B,C> combiner,
int requestSize)
public static <A,B,C,K> io.reactivex.FlowableTransformer<A,C> matchWith(io.reactivex.Flowable<B> b,
io.reactivex.functions.Function<? super A,K> aKey,
io.reactivex.functions.Function<? super B,K> bKey,
io.reactivex.functions.BiFunction<? super A,? super B,C> combiner)
public static Options.BuilderFlowable onBackpressureBufferToFile()
public static <T extends Number> io.reactivex.FlowableTransformer<T,Statistics> collectStats()
public static <T,R extends Number> io.reactivex.FlowableTransformer<T,Pair<T,Statistics>> collectStats(io.reactivex.functions.Function<? super T,? extends R> function)
public static <T,R> io.reactivex.FlowableTransformer<T,R> collectWhile(Callable<R> collectionFactory, io.reactivex.functions.BiFunction<? super R,? super T,? extends R> add, io.reactivex.functions.BiPredicate<? super R,? super T> condition, boolean emitRemainder)
public static <T,R> io.reactivex.FlowableTransformer<T,R> collectWhile(Callable<R> collectionFactory, io.reactivex.functions.BiFunction<? super R,? super T,? extends R> add, io.reactivex.functions.BiPredicate<? super R,? super T> condition)
public static <T> io.reactivex.FlowableTransformer<T,List<T>> toListWhile(io.reactivex.functions.BiPredicate<? super List<T>,? super T> condition, boolean emitRemainder)
public static <T> io.reactivex.FlowableTransformer<T,List<T>> toListWhile(io.reactivex.functions.BiPredicate<? super List<T>,? super T> condition)
public static <T> io.reactivex.FlowableTransformer<T,List<T>> bufferWhile(io.reactivex.functions.BiPredicate<? super List<T>,? super T> condition, boolean emitRemainder)
public static <T> io.reactivex.FlowableTransformer<T,List<T>> bufferWhile(io.reactivex.functions.BiPredicate<? super List<T>,? super T> condition)
public static <T extends Comparable<T>> io.reactivex.FlowableTransformer<T,T> windowMax(int windowSize)
public static <T> io.reactivex.FlowableTransformer<T,T> windowMax(int windowSize,
Comparator<? super T> comparator)
public static <T extends Comparable<T>> io.reactivex.FlowableTransformer<T,T> windowMin(int windowSize)
public static <T> io.reactivex.FlowableTransformer<T,T> windowMin(int windowSize,
Comparator<? super T> comparator)
public static <T> io.reactivex.FlowableTransformer<T,T> maxRequest(long... maxRequest)
public static <T> io.reactivex.FlowableTransformer<T,T> minRequest(int... minRequests)
public static <T> io.reactivex.FlowableTransformer<T,T> rebatchRequests(int minRequest,
long maxRequest,
boolean constrainFirstRequestMin)
public static <T> io.reactivex.FlowableTransformer<T,T> rebatchRequests(int minRequest,
long maxRequest)
public static <T> io.reactivex.functions.Function<io.reactivex.Flowable<T>,io.reactivex.Flowable<T>> repeat(io.reactivex.functions.Function<? super io.reactivex.Flowable<T>,? extends io.reactivex.Flowable<T>> transform,
int maxChained,
long maxIterations,
io.reactivex.functions.Function<io.reactivex.Observable<T>,io.reactivex.Observable<?>> tester)
public static <T> io.reactivex.functions.Function<io.reactivex.Flowable<T>,io.reactivex.Flowable<T>> reduce(io.reactivex.functions.Function<? super io.reactivex.Flowable<T>,? extends io.reactivex.Flowable<T>> reducer,
int maxChained,
long maxIterations)
public static <T> io.reactivex.functions.Function<io.reactivex.Flowable<T>,io.reactivex.Flowable<T>> reduce(io.reactivex.functions.Function<? super io.reactivex.Flowable<T>,? extends io.reactivex.Flowable<T>> reducer,
int maxChained)
Copyright © 2013–2018. All rights reserved.