public enum NbpBlockingOperatorLatest extends java.lang.Enum<NbpBlockingOperatorLatest>
onError or onCompleted events.| Modifier and Type | Method and Description |
|---|---|
static <T> java.lang.Iterable<T> |
latest(NbpObservable<? 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 NbpBlockingOperatorLatest |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NbpBlockingOperatorLatest[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static NbpBlockingOperatorLatest[] values()
for (NbpBlockingOperatorLatest c : NbpBlockingOperatorLatest.values()) System.out.println(c);
public static NbpBlockingOperatorLatest 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(NbpObservable<? 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