public static enum NumbersModule.NumberSupport extends Enum<NumbersModule.NumberSupport>
Modifier and Type | Method and Description |
---|---|
static Float[] |
castToFloats(Number[] values) |
static Integer[] |
castToIntegers(Number[] values) |
static Number |
castToSupportedClass(Number value) |
static NumbersModule.NumberSupport |
getHighestPrecision(Number[] values) |
static NumbersModule.NumberSupport |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NumbersModule.NumberSupport[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NumbersModule.NumberSupport INTEGER
public static final NumbersModule.NumberSupport FLOAT
public static NumbersModule.NumberSupport[] values()
for (NumbersModule.NumberSupport c : NumbersModule.NumberSupport.values()) System.out.println(c);
public static NumbersModule.NumberSupport 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 NumbersModule.NumberSupport getHighestPrecision(Number[] values) throws InvalidQueryException
InvalidQueryException