private static enum CompletableFuturesExtra.WrapFunction extends Enum<CompletableFuturesExtra.WrapFunction> implements java.util.function.Function
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
Object |
apply(Object o) |
static CompletableFuturesExtra.WrapFunction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompletableFuturesExtra.WrapFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfandThen, compose, identitypublic static final CompletableFuturesExtra.WrapFunction INSTANCE
public static CompletableFuturesExtra.WrapFunction[] values()
for (CompletableFuturesExtra.WrapFunction c : CompletableFuturesExtra.WrapFunction.values()) System.out.println(c);
public static CompletableFuturesExtra.WrapFunction 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 Object apply(Object o)
apply in interface java.util.function.FunctionCopyright © 2015 Spotify AB. All Rights Reserved.