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