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