Module io.helidon.common.reactive
Package io.helidon.common.reactive
Class MultiTakeWhileProcessor<T>
- java.lang.Object
-
- io.helidon.common.reactive.BaseProcessor<T,T>
-
- io.helidon.common.reactive.MultiFilterProcessor<T>
-
- io.helidon.common.reactive.MultiTakeWhileProcessor<T>
-
- Type Parameters:
T- Item type
- All Implemented Interfaces:
Multi<T>,Subscribable<T>,Flow.Processor<T,T>,Flow.Publisher<T>,Flow.Subscriber<T>,Flow.Subscription
public class MultiTakeWhileProcessor<T> extends MultiFilterProcessor<T>
Take the longest prefix of elements from this stream that satisfy the given predicate.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> MultiTakeWhileProcessor<T>create(Predicate<T> predicate)Create newMultiTakeWhileProcessor.-
Methods inherited from class io.helidon.common.reactive.MultiFilterProcessor
next, setPredicate, submit
-
Methods inherited from class io.helidon.common.reactive.BaseProcessor
cancel, complete, complete, downstreamSubscribe, getError, getSubscriber, getSubscription, onComplete, onError, onNext, onSubscribe, request, setError, subscribe
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.concurrent.Flow.Publisher
subscribe
-
Methods inherited from interface io.helidon.common.reactive.Multi
collect, collect, collectList, collectStream, defaultIfEmpty, distinct, dropWhile, filter, first, flatMap, flatMap, flatMapIterable, flatMapIterable, forEach, limit, map, onComplete, onError, onErrorResume, onErrorResumeWith, onTerminate, peek, reduce, reduce, skip, switchIfEmpty, takeUntil, takeWhile
-
Methods inherited from interface io.helidon.common.reactive.Subscribable
subscribe, subscribe, subscribe, subscribe
-
-
-
-
Method Detail
-
create
public static <T> MultiTakeWhileProcessor<T> create(Predicate<T> predicate)
Create newMultiTakeWhileProcessor.- Type Parameters:
T- Item type- Parameters:
predicate- provided predicate to filter stream with- Returns:
MultiTakeWhileProcessor
-
-