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 EThe 'E' literal object.ENEThe 'ENE' literal object.ESEThe 'ESE' literal object.NThe 'N' literal object.NEThe 'NE' literal object.NNEThe 'NNE' literal object.NNWThe 'NNW' literal object.NWThe 'NW' literal object.SThe 'S' literal object.SEThe 'SE' literal object.SSEThe 'SSE' literal object.SSWThe 'SSW' literal object.SWThe 'SW' literal object.WThe 'W' literal object.WNWThe 'WNW' literal object.WSWThe 'WSW' literal object.
-
Field Summary
Fields Modifier and Type Field Description static intE_VALUEThe 'E' literal value.static intENE_VALUEThe 'ENE' literal value.static intESE_VALUEThe 'ESE' literal value.static intN_VALUEThe 'N' literal value.static intNE_VALUEThe 'NE' literal value.static intNNE_VALUEThe 'NNE' literal value.static intNNW_VALUEThe 'NNW' literal value.static intNW_VALUEThe 'NW' literal value.static intS_VALUEThe 'S' literal value.static intSE_VALUEThe 'SE' literal value.static intSSE_VALUEThe 'SSE' literal value.static intSSW_VALUEThe 'SSW' literal value.static intSW_VALUEThe 'SW' literal value.static List<CompassPointEnumeration>VALUESA public read-only list of all the 'Compass Point Enumeration' enumerators.static intW_VALUEThe 'W' literal value.static intWNW_VALUEThe 'WNW' literal value.static intWSW_VALUEThe 'WSW' literal value.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CompassPointEnumerationget(int value)Returns the 'Compass Point Enumeration' literal with the specified integer value.static CompassPointEnumerationget(String literal)Returns the 'Compass Point Enumeration' literal with the specified literal value.static CompassPointEnumerationgetByName(String name)Returns the 'Compass Point Enumeration' literal with the specified name.StringgetLiteral()StringgetName()intgetValue()StringtoString()Returns the literal value of the enumerator, which is its string representation.static CompassPointEnumerationvalueOf(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:
getValuein interfaceEnumerator
-
getName
public String getName()
- Specified by:
getNamein interfaceEnumerator
-
getLiteral
public String getLiteral()
- Specified by:
getLiteralin interfaceEnumerator
-
toString
public String toString()
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toStringin classEnum<CompassPointEnumeration>
-
-