public final class Publishers extends Object
| Modifier and Type | Method and Description |
|---|---|
static <X> X |
blockingGet(org.reactivestreams.Publisher<X> publisher) |
static <X> List<X> |
blockingListGet(org.reactivestreams.Publisher<X> publisher) |
static <T,R> org.reactivestreams.Publisher<R> |
flatMapIterable(org.reactivestreams.Publisher<T> publisher,
Function<? super T,? extends Iterable<? extends R>> mapper) |
static <X> org.reactivestreams.Publisher<X> |
limit(org.reactivestreams.Publisher<X> publisher,
long count) |
static <T,R> org.reactivestreams.Publisher<R> |
map(org.reactivestreams.Publisher<T> publisher,
Function<? super T,? extends R> mapper) |
static <X> CompletionStage<X> |
toFuture(org.reactivestreams.Publisher<X> publisher) |
static <X> org.reactivestreams.Publisher<List<X>> |
toList(org.reactivestreams.Publisher<X> publisher) |
static <X> CompletionStage<List<X>> |
toListFuture(org.reactivestreams.Publisher<X> publisher) |
public static <X> CompletionStage<List<X>> toListFuture(org.reactivestreams.Publisher<X> publisher)
public static <X> X blockingGet(org.reactivestreams.Publisher<X> publisher)
public static <X> org.reactivestreams.Publisher<X> limit(org.reactivestreams.Publisher<X> publisher,
long count)
public static <X> org.reactivestreams.Publisher<List<X>> toList(org.reactivestreams.Publisher<X> publisher)
public static <T,R> org.reactivestreams.Publisher<R> map(org.reactivestreams.Publisher<T> publisher,
Function<? super T,? extends R> mapper)
public static <T,R> org.reactivestreams.Publisher<R> flatMapIterable(org.reactivestreams.Publisher<T> publisher,
Function<? super T,? extends Iterable<? extends R>> mapper)
public static <X> List<X> blockingListGet(org.reactivestreams.Publisher<X> publisher)
public static <X> CompletionStage<X> toFuture(org.reactivestreams.Publisher<X> publisher)
Copyright © 2020 The Immutables.org authors. All rights reserved.