public static enum Range.DataType extends Enum<Range.DataType>
Enum Constant and Description |
---|
BYTE |
DOUBLE |
FLOAT |
INTEGER |
LONG |
SHORT |
USHORT |
Modifier and Type | Method and Description |
---|---|
static Class<? extends Number> |
classFromType(int dataType) |
static int |
dataTypeFromClass(Class<?> classType) |
Class<? extends Number> |
getClassValue() |
int |
getDataType() |
static Range.DataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Range.DataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Range.DataType BYTE
public static final Range.DataType USHORT
public static final Range.DataType SHORT
public static final Range.DataType INTEGER
public static final Range.DataType FLOAT
public static final Range.DataType DOUBLE
public static final Range.DataType LONG
public static Range.DataType[] values()
for (Range.DataType c : Range.DataType.values()) System.out.println(c);
public static Range.DataType 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 int getDataType()
public static int dataTypeFromClass(Class<?> classType)
Copyright © 2006–2016 GeoSolutions. All rights reserved.