protected static enum DuckType.Types extends Enum<DuckType.Types>
Enum Constant and Description |
---|
BOOLEAN |
EMPTY |
LENGTH |
NUMBER |
SIZE |
STRING |
Modifier and Type | Method and Description |
---|---|
static DuckType.Types |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DuckType.Types[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DuckType.Types STRING
public static final DuckType.Types NUMBER
public static final DuckType.Types BOOLEAN
public static final DuckType.Types EMPTY
public static final DuckType.Types LENGTH
public static final DuckType.Types SIZE
public static DuckType.Types[] values()
for (DuckType.Types c : DuckType.Types.values()) System.out.println(c);
public static DuckType.Types 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 © 2000–2021 The Apache Software Foundation. All rights reserved.