Module io.helidon.common.reactive
Package io.helidon.common.reactive
Class MultiDropWhileProcessor<T>
- java.lang.Object
-
- io.helidon.common.reactive.BaseProcessor<T,T>
-
- io.helidon.common.reactive.MultiFilterProcessor<T>
-
- io.helidon.common.reactive.MultiDropWhileProcessor<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 MultiDropWhileProcessor<T> extends MultiFilterProcessor<T> implements Multi<T>
Drop 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> MultiDropWhileProcessor<T>create(Predicate<T> predicate)Drop the longest prefix of elements from this stream that satisfy the given predicate.-
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> MultiDropWhileProcessor<T> create(Predicate<T> predicate)
Drop the longest prefix of elements from this stream that satisfy the given predicate.- Type Parameters:
T- Item type- Parameters:
predicate- provided predicate to filter stream with- Returns:
MultiDropWhileProcessor
-
-