Enum GriddedCoverageDataType
- java.lang.Object
-
- java.lang.Enum<GriddedCoverageDataType>
-
- mil.nga.geopackage.extension.coverage.GriddedCoverageDataType
-
- All Implemented Interfaces:
Serializable
,Comparable<GriddedCoverageDataType>
public enum GriddedCoverageDataType extends Enum<GriddedCoverageDataType>
Gridded Coverage data type enumeration- Since:
- 1.2.1
- Author:
- osbornb
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GriddedCoverageDataType
fromName(String name)
Get the Data Type from the nameString
getName()
Get the namestatic GriddedCoverageDataType
valueOf(String name)
Returns the enum constant of this type with the specified name.static GriddedCoverageDataType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTEGER
public static final GriddedCoverageDataType INTEGER
Integer
-
FLOAT
public static final GriddedCoverageDataType FLOAT
Float
-
-
Method Detail
-
values
public static GriddedCoverageDataType[] 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 (GriddedCoverageDataType c : GriddedCoverageDataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GriddedCoverageDataType 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 nameNullPointerException
- if the argument is null
-
getName
public String getName()
Get the name- Returns:
- name
-
fromName
public static GriddedCoverageDataType fromName(String name)
Get the Data Type from the name- Parameters:
name
- name- Returns:
- data type
-
-