it.geosolutions.jaiext.range
Enum Range.DataType

java.lang.Object
  extended by java.lang.Enum<Range.DataType>
      extended by it.geosolutions.jaiext.range.Range.DataType
All Implemented Interfaces:
Serializable, Comparable<Range.DataType>
Enclosing class:
Range

public static enum Range.DataType
extends Enum<Range.DataType>


Enum Constant Summary
BYTE
           
DOUBLE
           
FLOAT
           
INTEGER
           
LONG
           
SHORT
           
USHORT
           
 
Method Summary
static int dataTypeFromClass(Class<?> classType)
           
 Class<?> 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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BYTE

public static final Range.DataType BYTE

USHORT

public static final Range.DataType USHORT

SHORT

public static final Range.DataType SHORT

INTEGER

public static final Range.DataType INTEGER

FLOAT

public static final Range.DataType FLOAT

DOUBLE

public static final Range.DataType DOUBLE

LONG

public static final Range.DataType LONG
Method Detail

values

public static Range.DataType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Range.DataType c : Range.DataType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Range.DataType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getClassValue

public Class<?> getClassValue()

getDataType

public int getDataType()

dataTypeFromClass

public static int dataTypeFromClass(Class<?> classType)


Copyright © 2006–2015 GeoSolutions. All rights reserved.