public enum MaybeToPublisher extends Enum<MaybeToPublisher> implements Function<MaybeSource<Object>,org.reactivestreams.Publisher<Object>>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
org.reactivestreams.Publisher<Object> |
apply(MaybeSource<Object> t)
Apply some calculation to the input value and return some other value.
|
static <T> Function<MaybeSource<T>,org.reactivestreams.Publisher<T>> |
instance() |
static MaybeToPublisher |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MaybeToPublisher[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MaybeToPublisher INSTANCE
public static MaybeToPublisher[] values()
for (MaybeToPublisher c : MaybeToPublisher.values()) System.out.println(c);
public static MaybeToPublisher valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static <T> Function<MaybeSource<T>,org.reactivestreams.Publisher<T>> instance()
public org.reactivestreams.Publisher<Object> apply(MaybeSource<Object> t) throws Exception
Function
Copyright © 2018 JBoss by Red Hat. All rights reserved.