public enum EmptyDisposable extends java.lang.Enum<EmptyDisposable> implements Disposable
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
static void |
complete(NbpObservable.NbpSubscriber<?> s) |
void |
dispose()
Dispose the resource, the operation should be idempotent.
|
static void |
error(java.lang.Throwable e,
NbpObservable.NbpSubscriber<?> s) |
static EmptyDisposable |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EmptyDisposable[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EmptyDisposable INSTANCE
public static EmptyDisposable[] values()
for (EmptyDisposable c : EmptyDisposable.values()) System.out.println(c);
public static EmptyDisposable 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 void dispose()
Disposabledispose in interface Disposablepublic static void complete(NbpObservable.NbpSubscriber<?> s)
public static void error(java.lang.Throwable e,
NbpObservable.NbpSubscriber<?> s)