|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AprsExtensionType>
org.discotools.io.aprs.AprsExtensionType
public enum AprsExtensionType
Enum Constant Summary | |
---|---|
T_DIRECTION
The 'T_DIRECTION' literal object. |
|
T_NONE
The 'T_NONE' literal object. |
Field Summary | |
---|---|
static int |
T_DIRECTION_VALUE
The 'T_DIRECTION' literal value. |
static int |
T_NONE_VALUE
The 'T_NONE' literal value. |
static List<AprsExtensionType> |
VALUES
A public read-only list of all the 'APRS Extension Type' enumerators. |
Method Summary | |
---|---|
static AprsExtensionType |
get(int value)
Returns the 'APRS Extension Type' literal with the specified integer value. |
static AprsExtensionType |
get(String literal)
Returns the 'APRS Extension Type' literal with the specified literal value. |
static AprsExtensionType |
getByName(String name)
Returns the 'APRS Extension Type' 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 AprsExtensionType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AprsExtensionType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AprsExtensionType T_NONE
T_NONE_VALUE
public static final AprsExtensionType T_DIRECTION
T_DIRECTION_VALUE
Field Detail |
---|
public static final int T_NONE_VALUE
T_NONE_VALUE
,
Constant Field Valuespublic static final int T_DIRECTION_VALUE
T_DIRECTION
,
Constant Field Valuespublic static final List<AprsExtensionType> VALUES
Method Detail |
---|
public static AprsExtensionType[] values()
for (AprsExtensionType c : AprsExtensionType.values()) System.out.println(c);
public static AprsExtensionType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static AprsExtensionType get(String literal)
public static AprsExtensionType getByName(String name)
public static AprsExtensionType get(int value)
public int getValue()
public String getName()
public String getLiteral()
public String toString()
toString
in class Enum<AprsExtensionType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |