public enum ListAddBiConsumer extends Enum<ListAddBiConsumer> implements BiFunction<List,Object,List>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
List |
apply(List t1,
Object t2)
Calculate a value based on the input values.
|
static <T> BiFunction<List<T>,T,List<T>> |
instance() |
static ListAddBiConsumer |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListAddBiConsumer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListAddBiConsumer INSTANCE
public static ListAddBiConsumer[] values()
for (ListAddBiConsumer c : ListAddBiConsumer.values()) System.out.println(c);
public static ListAddBiConsumer 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> BiFunction<List<T>,T,List<T>> instance()
public List apply(List t1, Object t2) throws Exception
BiFunction
Copyright © 2019. All rights reserved.