private static enum Suppliers.SupplierFunctionImpl extends java.lang.Enum<Suppliers.SupplierFunctionImpl> implements Suppliers.SupplierFunction<java.lang.Object>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
apply(Supplier<java.lang.Object> input) |
java.lang.String |
toString() |
static Suppliers.SupplierFunctionImpl |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Suppliers.SupplierFunctionImpl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Suppliers.SupplierFunctionImpl INSTANCE
public static Suppliers.SupplierFunctionImpl[] values()
for (Suppliers.SupplierFunctionImpl c : Suppliers.SupplierFunctionImpl.values()) System.out.println(c);
public static Suppliers.SupplierFunctionImpl 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 java.lang.Object apply(Supplier<java.lang.Object> input)
apply
in interface java.util.function.Function<Supplier<java.lang.Object>,java.lang.Object>
public java.lang.String toString()
toString
in class java.lang.Enum<Suppliers.SupplierFunctionImpl>