public enum ArrayListSupplier extends Enum<ArrayListSupplier> implements Callable<List<Object>>, Function<Object,List<Object>>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
List<Object> |
apply(Object o)
Apply some calculation to the input value and return some other value.
|
static <T> Callable<List<T>> |
asCallable() |
static <T,O> Function<O,List<T>> |
asFunction() |
List<Object> |
call() |
static ArrayListSupplier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ArrayListSupplier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArrayListSupplier INSTANCE
public static ArrayListSupplier[] values()
for (ArrayListSupplier c : ArrayListSupplier.values()) System.out.println(c);
public static ArrayListSupplier 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 nullCopyright © 2018 JBoss by Red Hat. All rights reserved.