public enum NbpCancelledSubscriber extends java.lang.Enum<NbpCancelledSubscriber> implements NbpObservable.NbpSubscriber<java.lang.Object>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
static <T> NbpObservable.NbpSubscriber<T> |
instance() |
void |
onComplete() |
void |
onError(java.lang.Throwable t) |
void |
onNext(java.lang.Object t) |
void |
onSubscribe(Disposable s) |
static NbpCancelledSubscriber |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NbpCancelledSubscriber[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NbpCancelledSubscriber INSTANCE
public static NbpCancelledSubscriber[] values()
for (NbpCancelledSubscriber c : NbpCancelledSubscriber.values()) System.out.println(c);
public static NbpCancelledSubscriber 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> NbpObservable.NbpSubscriber<T> instance()
public void onSubscribe(Disposable s)
onSubscribe in interface NbpObservable.NbpSubscriber<java.lang.Object>public void onNext(java.lang.Object t)
onNext in interface NbpObservable.NbpSubscriber<java.lang.Object>public void onError(java.lang.Throwable t)
onError in interface NbpObservable.NbpSubscriber<java.lang.Object>public void onComplete()
onComplete in interface NbpObservable.NbpSubscriber<java.lang.Object>