public enum BlockingOperatorLatest extends java.lang.Enum<BlockingOperatorLatest>
onError or onCompleted events.| Modifier and Type | Method and Description |
|---|---|
static <T> java.lang.Iterable<T> |
latest(org.reactivestreams.Publisher<? extends T> source)
Returns an
Iterable that blocks until or unless the Observable emits an item that has not
been returned by the Iterable, then returns that item |
static BlockingOperatorLatest |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BlockingOperatorLatest[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static BlockingOperatorLatest[] values()
for (BlockingOperatorLatest c : BlockingOperatorLatest.values()) System.out.println(c);
public static BlockingOperatorLatest valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static <T> java.lang.Iterable<T> latest(org.reactivestreams.Publisher<? extends T> source)
Iterable that blocks until or unless the Observable emits an item that has not
been returned by the Iterable, then returns that itemT - the value typesource - the source ObservableIterable that blocks until or unless the Observable emits an item that has not
been returned by the Iterable, then returns that item