Enum CompassPointEnumeration
- Object
-
- Enum<CompassPointEnumeration>
-
- CompassPointEnumeration
-
- All Implemented Interfaces:
Serializable
,Comparable<CompassPointEnumeration>
,Enumerator
public enum CompassPointEnumeration extends Enum<CompassPointEnumeration> implements Enumerator
A representation of the literals of the enumeration 'Compass Point Enumeration', and utility methods for working with them.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description E
The 'E' literal object.ENE
The 'ENE' literal object.ESE
The 'ESE' literal object.N
The 'N' literal object.NE
The 'NE' literal object.NNE
The 'NNE' literal object.NNW
The 'NNW' literal object.NW
The 'NW' literal object.S
The 'S' literal object.SE
The 'SE' literal object.SSE
The 'SSE' literal object.SSW
The 'SSW' literal object.SW
The 'SW' literal object.W
The 'W' literal object.WNW
The 'WNW' literal object.WSW
The 'WSW' literal object.
-
Field Summary
Fields Modifier and Type Field Description static int
E_VALUE
The 'E' literal value.static int
ENE_VALUE
The 'ENE' literal value.static int
ESE_VALUE
The 'ESE' literal value.static int
N_VALUE
The 'N' literal value.static int
NE_VALUE
The 'NE' literal value.static int
NNE_VALUE
The 'NNE' literal value.static int
NNW_VALUE
The 'NNW' literal value.static int
NW_VALUE
The 'NW' literal value.static int
S_VALUE
The 'S' literal value.static int
SE_VALUE
The 'SE' literal value.static int
SSE_VALUE
The 'SSE' literal value.static int
SSW_VALUE
The 'SSW' literal value.static int
SW_VALUE
The 'SW' literal value.static List<CompassPointEnumeration>
VALUES
A public read-only list of all the 'Compass Point Enumeration' enumerators.static int
W_VALUE
The 'W' literal value.static int
WNW_VALUE
The 'WNW' literal value.static int
WSW_VALUE
The 'WSW' literal value.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CompassPointEnumeration
get(int value)
Returns the 'Compass Point Enumeration' literal with the specified integer value.static CompassPointEnumeration
get(String literal)
Returns the 'Compass Point Enumeration' literal with the specified literal value.static CompassPointEnumeration
getByName(String name)
Returns the 'Compass Point Enumeration' literal with the specified name.String
getLiteral()
String
getName()
int
getValue()
String
toString()
Returns the literal value of the enumerator, which is its string representation.static CompassPointEnumeration
valueOf(String name)
Returns the enum constant of this type with the specified name.static CompassPointEnumeration[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
N
public static final CompassPointEnumeration N
The 'N' literal object.- See Also:
N_VALUE
-
NNE
public static final CompassPointEnumeration NNE
The 'NNE' literal object.- See Also:
NNE_VALUE
-
NE
public static final CompassPointEnumeration NE
The 'NE' literal object.- See Also:
NE_VALUE
-
ENE
public static final CompassPointEnumeration ENE
The 'ENE' literal object.- See Also:
ENE_VALUE
-
E
public static final CompassPointEnumeration E
The 'E' literal object.- See Also:
E_VALUE
-
ESE
public static final CompassPointEnumeration ESE
The 'ESE' literal object.- See Also:
ESE_VALUE
-
SE
public static final CompassPointEnumeration SE
The 'SE' literal object.- See Also:
SE_VALUE
-
SSE
public static final CompassPointEnumeration SSE
The 'SSE' literal object.- See Also:
SSE_VALUE
-
S
public static final CompassPointEnumeration S
The 'S' literal object.- See Also:
S_VALUE
-
SSW
public static final CompassPointEnumeration SSW
The 'SSW' literal object.- See Also:
SSW_VALUE
-
SW
public static final CompassPointEnumeration SW
The 'SW' literal object.- See Also:
SW_VALUE
-
WSW
public static final CompassPointEnumeration WSW
The 'WSW' literal object.- See Also:
WSW_VALUE
-
W
public static final CompassPointEnumeration W
The 'W' literal object.- See Also:
W_VALUE
-
WNW
public static final CompassPointEnumeration WNW
The 'WNW' literal object.- See Also:
WNW_VALUE
-
NW
public static final CompassPointEnumeration NW
The 'NW' literal object.- See Also:
NW_VALUE
-
NNW
public static final CompassPointEnumeration NNW
The 'NNW' literal object.- See Also:
NNW_VALUE
-
-
Field Detail
-
N_VALUE
public static final int N_VALUE
The 'N' literal value.If the meaning of 'N' literal object isn't clear, there really should be more of a description here...
- See Also:
N
, Constant Field Values
-
NNE_VALUE
public static final int NNE_VALUE
The 'NNE' literal value.If the meaning of 'NNE' literal object isn't clear, there really should be more of a description here...
- See Also:
NNE
, Constant Field Values
-
NE_VALUE
public static final int NE_VALUE
The 'NE' literal value.If the meaning of 'NE' literal object isn't clear, there really should be more of a description here...
- See Also:
NE
, Constant Field Values
-
ENE_VALUE
public static final int ENE_VALUE
The 'ENE' literal value.If the meaning of 'ENE' literal object isn't clear, there really should be more of a description here...
- See Also:
ENE
, Constant Field Values
-
E_VALUE
public static final int E_VALUE
The 'E' literal value.If the meaning of 'E' literal object isn't clear, there really should be more of a description here...
- See Also:
E
, Constant Field Values
-
ESE_VALUE
public static final int ESE_VALUE
The 'ESE' literal value.If the meaning of 'ESE' literal object isn't clear, there really should be more of a description here...
- See Also:
ESE
, Constant Field Values
-
SE_VALUE
public static final int SE_VALUE
The 'SE' literal value.If the meaning of 'SE' literal object isn't clear, there really should be more of a description here...
- See Also:
SE
, Constant Field Values
-
SSE_VALUE
public static final int SSE_VALUE
The 'SSE' literal value.If the meaning of 'SSE' literal object isn't clear, there really should be more of a description here...
- See Also:
SSE
, Constant Field Values
-
S_VALUE
public static final int S_VALUE
The 'S' literal value.If the meaning of 'S' literal object isn't clear, there really should be more of a description here...
- See Also:
S
, Constant Field Values
-
SSW_VALUE
public static final int SSW_VALUE
The 'SSW' literal value.If the meaning of 'SSW' literal object isn't clear, there really should be more of a description here...
- See Also:
SSW
, Constant Field Values
-
SW_VALUE
public static final int SW_VALUE
The 'SW' literal value.If the meaning of 'SW' literal object isn't clear, there really should be more of a description here...
- See Also:
SW
, Constant Field Values
-
WSW_VALUE
public static final int WSW_VALUE
The 'WSW' literal value.If the meaning of 'WSW' literal object isn't clear, there really should be more of a description here...
- See Also:
WSW
, Constant Field Values
-
W_VALUE
public static final int W_VALUE
The 'W' literal value.If the meaning of 'W' literal object isn't clear, there really should be more of a description here...
- See Also:
W
, Constant Field Values
-
WNW_VALUE
public static final int WNW_VALUE
The 'WNW' literal value.If the meaning of 'WNW' literal object isn't clear, there really should be more of a description here...
- See Also:
WNW
, Constant Field Values
-
NW_VALUE
public static final int NW_VALUE
The 'NW' literal value.If the meaning of 'NW' literal object isn't clear, there really should be more of a description here...
- See Also:
NW
, Constant Field Values
-
NNW_VALUE
public static final int NNW_VALUE
The 'NNW' literal value.If the meaning of 'NNW' literal object isn't clear, there really should be more of a description here...
- See Also:
NNW
, Constant Field Values
-
VALUES
public static final List<CompassPointEnumeration> VALUES
A public read-only list of all the 'Compass Point Enumeration' enumerators.
-
-
Method Detail
-
values
public static CompassPointEnumeration[] 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 (CompassPointEnumeration c : CompassPointEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CompassPointEnumeration 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
-
get
public static CompassPointEnumeration get(String literal)
Returns the 'Compass Point Enumeration' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static CompassPointEnumeration getByName(String name)
Returns the 'Compass Point Enumeration' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static CompassPointEnumeration get(int value)
Returns the 'Compass Point Enumeration' literal with the specified integer value.- Parameters:
value
- the integer value.- Returns:
- the matching enumerator or
null
.
-
getValue
public int getValue()
- Specified by:
getValue
in interfaceEnumerator
-
getName
public String getName()
- Specified by:
getName
in interfaceEnumerator
-
getLiteral
public String getLiteral()
- Specified by:
getLiteral
in interfaceEnumerator
-
toString
public String toString()
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<CompassPointEnumeration>
-
-