public enum AlwaysFalseBooleanSupplier extends Enum<AlwaysFalseBooleanSupplier> implements BooleanSupplier
BooleanSupplier
implementation that is always false.Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
boolean |
getAsBoolean() |
static AlwaysFalseBooleanSupplier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlwaysFalseBooleanSupplier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlwaysFalseBooleanSupplier INSTANCE
public static AlwaysFalseBooleanSupplier[] values()
for (AlwaysFalseBooleanSupplier c : AlwaysFalseBooleanSupplier.values()) System.out.println(c);
public static AlwaysFalseBooleanSupplier 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 boolean getAsBoolean() throws Exception
getAsBoolean
in interface BooleanSupplier
Exception