public static enum IStats.Series.Type extends Enum<IStats.Series.Type>
IStats.Series
values are always retrieved as doubles, but the backing
collector is governed by the IStats.Series.Type
which indicates how the caller
should treat the returned double and the primitive type to which the
double may be safely cast.
Enum Constant and Description |
---|
Byte
Indicates that the
IStats.Series value can be cast to a byte. |
Double
Indicates that the
IStats.Series value can be cast to a double. |
Float
Indicates that the
IStats.Series value can be cast to a float. |
Int
Indicates that the
IStats.Series value can be cast to an int. |
Long
Indicates that the
IStats.Series value can be cast to a long. |
Short
Indicates that the
IStats.Series value can be cast to a short. |
Modifier and Type | Method and Description |
---|---|
static IStats.Series.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IStats.Series.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IStats.Series.Type Byte
IStats.Series
value can be cast to a byte.public static final IStats.Series.Type Short
IStats.Series
value can be cast to a short.public static final IStats.Series.Type Int
IStats.Series
value can be cast to an int.public static final IStats.Series.Type Long
IStats.Series
value can be cast to a long.public static final IStats.Series.Type Float
IStats.Series
value can be cast to a float.public static final IStats.Series.Type Double
IStats.Series
value can be cast to a double.public static IStats.Series.Type[] values()
for (IStats.Series.Type c : IStats.Series.Type.values()) System.out.println(c);
public static IStats.Series.Type 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 Neeve Research, LLC. All Rights Reserved.