. All rights reserved.
Use is subject to license terms, see
LICENSE.txt.
Method Summary |
int |
getInteger()
Retrieve the integer constant for this emumerated type member. |
String |
getString()
Retrieve the name of this enumerated type member. |
String |
toString()
Retrieve a string representation of this enumerated type member. |
static Grid |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Grid[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
UTM
public static final Grid UTM
- UTM Grid
TM_USER
public static final Grid TM_USER
- Transverse Mercator (User Grid)
BNG
public static final Grid BNG
- British National Grid
OSGB
public static final Grid OSGB
- Alias for BNG - British National Grid
IRISH
public static final Grid IRISH
- Irish Grid
NZ
public static final Grid NZ
- New Zealand Grid
SWEDISH
public static final Grid SWEDISH
- Swedish Grid
SWISS
public static final Grid SWISS
- Swiss Grid
FRANCE_I
public static final Grid FRANCE_I
- France I Grid
FRANCE_II
public static final Grid FRANCE_II
- France II Grid
FRANCE_III
public static final Grid FRANCE_III
- France III Grid
FRANCE_IV
public static final Grid FRANCE_IV
- France IV Grid
ITALY_1
public static final Grid ITALY_1
- Italy 1 Grid
ITALY_2
public static final Grid ITALY_2
- Italy 2 Grid
VICMAP_TM
public static final Grid VICMAP_TM
- Vicmap TM Grid
values
public static Grid[] 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 (Grid c : Grid.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Grid 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
getInteger
public int getInteger()
- Retrieve the integer constant for this emumerated type member.
- Returns:
- the integer constant for this enumerated type member.
getString
public String getString()
- Retrieve the name of this enumerated type member.
- Returns:
- the name of this enumerated type member.
toString
public String toString()
- Retrieve a string representation of this enumerated type member.
- Overrides:
toString
in class Enum<Grid>
- Returns:
- a string representation of this enumerated type member.