Enum Class CompassPointEnumeration
- All Implemented Interfaces:
Serializable
,Comparable<CompassPointEnumeration>
,Constable
,Enumerator
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe 'E' literal object.The 'ENE' literal object.The 'ESE' literal object.The 'N' literal object.The 'NE' literal object.The 'NNE' literal object.The 'NNW' literal object.The 'NW' literal object.The 'S' literal object.The 'SE' literal object.The 'SSE' literal object.The 'SSW' literal object.The 'SW' literal object.The 'W' literal object.The 'WNW' literal object.The 'WSW' literal object. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The 'E' literal value.static final int
The 'ENE' literal value.static final int
The 'ESE' literal value.static final int
The 'N' literal value.static final int
The 'NE' literal value.static final int
The 'NNE' literal value.static final int
The 'NNW' literal value.static final int
The 'NW' literal value.static final int
The 'S' literal value.static final int
The 'SE' literal value.static final int
The 'SSE' literal value.static final int
The 'SSW' literal value.static final int
The 'SW' literal value.static final List<CompassPointEnumeration>
A public read-only list of all the 'Compass Point Enumeration' enumerators.static final int
The 'W' literal value.static final int
The 'WNW' literal value.static final int
The 'WSW' literal value. -
Method Summary
Modifier and TypeMethodDescriptionstatic CompassPointEnumeration
get
(int value) Returns the 'Compass Point Enumeration' literal with the specified integer value.static CompassPointEnumeration
Returns the 'Compass Point Enumeration' literal with the specified literal value.static CompassPointEnumeration
Returns the 'Compass Point Enumeration' literal with the specified name.getName()
int
getValue()
toString()
Returns the literal value of the enumerator, which is its string representation.static CompassPointEnumeration
Returns the enum constant of this class with the specified name.static CompassPointEnumeration[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
N
The 'N' literal object.- See Also:
-
NNE
The 'NNE' literal object.- See Also:
-
NE
The 'NE' literal object.- See Also:
-
ENE
The 'ENE' literal object.- See Also:
-
E
The 'E' literal object.- See Also:
-
ESE
The 'ESE' literal object.- See Also:
-
SE
The 'SE' literal object.- See Also:
-
SSE
The 'SSE' literal object.- See Also:
-
S
The 'S' literal object.- See Also:
-
SSW
The 'SSW' literal object.- See Also:
-
SW
The 'SW' literal object.- See Also:
-
WSW
The 'WSW' literal object.- See Also:
-
W
The 'W' literal object.- See Also:
-
WNW
The 'WNW' literal object.- See Also:
-
NW
The 'NW' literal object.- See Also:
-
NNW
The 'NNW' literal object.- See Also:
-
-
Field Details
-
N_VALUE
public static final int N_VALUEThe 'N' literal value.If the meaning of 'N' literal object isn't clear, there really should be more of a description here...
- See Also:
-
NNE_VALUE
public static final int NNE_VALUEThe 'NNE' literal value.If the meaning of 'NNE' literal object isn't clear, there really should be more of a description here...
- See Also:
-
NE_VALUE
public static final int NE_VALUEThe 'NE' literal value.If the meaning of 'NE' literal object isn't clear, there really should be more of a description here...
- See Also:
-
ENE_VALUE
public static final int ENE_VALUEThe 'ENE' literal value.If the meaning of 'ENE' literal object isn't clear, there really should be more of a description here...
- See Also:
-
E_VALUE
public static final int E_VALUEThe 'E' literal value.If the meaning of 'E' literal object isn't clear, there really should be more of a description here...
- See Also:
-
ESE_VALUE
public static final int ESE_VALUEThe 'ESE' literal value.If the meaning of 'ESE' literal object isn't clear, there really should be more of a description here...
- See Also:
-
SE_VALUE
public static final int SE_VALUEThe 'SE' literal value.If the meaning of 'SE' literal object isn't clear, there really should be more of a description here...
- See Also:
-
SSE_VALUE
public static final int SSE_VALUEThe 'SSE' literal value.If the meaning of 'SSE' literal object isn't clear, there really should be more of a description here...
- See Also:
-
S_VALUE
public static final int S_VALUEThe 'S' literal value.If the meaning of 'S' literal object isn't clear, there really should be more of a description here...
- See Also:
-
SSW_VALUE
public static final int SSW_VALUEThe 'SSW' literal value.If the meaning of 'SSW' literal object isn't clear, there really should be more of a description here...
- See Also:
-
SW_VALUE
public static final int SW_VALUEThe 'SW' literal value.If the meaning of 'SW' literal object isn't clear, there really should be more of a description here...
- See Also:
-
WSW_VALUE
public static final int WSW_VALUEThe 'WSW' literal value.If the meaning of 'WSW' literal object isn't clear, there really should be more of a description here...
- See Also:
-
W_VALUE
public static final int W_VALUEThe 'W' literal value.If the meaning of 'W' literal object isn't clear, there really should be more of a description here...
- See Also:
-
WNW_VALUE
public static final int WNW_VALUEThe 'WNW' literal value.If the meaning of 'WNW' literal object isn't clear, there really should be more of a description here...
- See Also:
-
NW_VALUE
public static final int NW_VALUEThe 'NW' literal value.If the meaning of 'NW' literal object isn't clear, there really should be more of a description here...
- See Also:
-
NNW_VALUE
public static final int NNW_VALUEThe 'NNW' literal value.If the meaning of 'NNW' literal object isn't clear, there really should be more of a description here...
- See Also:
-
VALUES
A public read-only list of all the 'Compass Point Enumeration' enumerators.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
get
Returns the 'Compass Point Enumeration' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
Returns the 'Compass Point Enumeration' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
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
- Specified by:
getName
in interfaceEnumerator
-
getLiteral
- Specified by:
getLiteral
in interfaceEnumerator
-
toString
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<CompassPointEnumeration>
-