public enum BiFunctionSecondIdentity extends Enum<BiFunctionSecondIdentity> implements BiFunction<Object,Object,Object>
instance()
to
get a correctly typed (shared) instance.Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
Object |
apply(Object t1,
Object t2) |
static <T,U> BiFunction<T,U,U> |
instance()
Returns a correctly typed instance of the enum's singleton instance.
|
static BiFunctionSecondIdentity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BiFunctionSecondIdentity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BiFunctionSecondIdentity INSTANCE
public static BiFunctionSecondIdentity[] values()
for (BiFunctionSecondIdentity c : BiFunctionSecondIdentity.values()) System.out.println(c);
public static BiFunctionSecondIdentity 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,U> BiFunction<T,U,U> instance()
T
- the first input value type.U
- the second input and result type