public enum Casts extends Enum<Casts>
| Modifier and Type | Field and Description |
|---|---|
static EnumSet<Casts> |
DOUBLE_ONLY |
static EnumSet<Casts> |
LONG_ONLY |
static EnumSet<Casts> |
NO_CASTS |
static EnumSet<Casts> |
STRING_ONLY |
static EnumSet<Casts> |
STRING_OR_DOUBLE |
static EnumSet<Casts> |
STRING_OR_LONG |
static EnumSet<Casts> |
STRING_OR_LONG_OR_DOUBLE |
| Modifier and Type | Method and Description |
|---|---|
static Casts |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Casts[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Casts STRING
public static final Casts LONG
public static final Casts DOUBLE
public static Casts[] values()
for (Casts c : Casts.values()) System.out.println(c);
public static Casts 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 © 2019. All rights reserved.