|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AprsReportType>
org.discotools.io.aprs.AprsReportType
public enum AprsReportType
Enum Constant Summary | |
---|---|
T_ITEM
The 'T_ITEM' literal object. |
|
T_MESSAGE
The 'T_MESSAGE' literal object. |
|
T_OBJECT
The 'T_OBJECT' literal object. |
|
T_POSITION
The 'T_POSITION' literal object. |
|
T_STATUS
The 'T_STATUS' literal object. |
|
T_UNKNOWN
The 'T_UNKNOWN' literal object. |
Field Summary | |
---|---|
static int |
T_ITEM_VALUE
The 'T_ITEM' literal value. |
static int |
T_MESSAGE_VALUE
The 'T_MESSAGE' literal value. |
static int |
T_OBJECT_VALUE
The 'T_OBJECT' literal value. |
static int |
T_POSITION_VALUE
The 'T_POSITION' literal value. |
static int |
T_STATUS_VALUE
The 'T_STATUS' literal value. |
static int |
T_UNKNOWN_VALUE
The 'T_UNKNOWN' literal value. |
static List<AprsReportType> |
VALUES
A public read-only list of all the 'APRS Report Type' enumerators. |
Method Summary | |
---|---|
static AprsReportType |
get(int value)
Returns the 'APRS Report Type' literal with the specified integer value. |
static AprsReportType |
get(String literal)
Returns the 'APRS Report Type' literal with the specified literal value. |
static AprsReportType |
getByName(String name)
Returns the 'APRS Report 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 AprsReportType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AprsReportType[] |
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 AprsReportType T_UNKNOWN
T_UNKNOWN_VALUE
public static final AprsReportType T_POSITION
T_POSITION_VALUE
public static final AprsReportType T_STATUS
T_STATUS_VALUE
public static final AprsReportType T_MESSAGE
T_MESSAGE_VALUE
public static final AprsReportType T_OBJECT
T_OBJECT_VALUE
public static final AprsReportType T_ITEM
T_ITEM_VALUE
Field Detail |
---|
public static final int T_UNKNOWN_VALUE
T_UNKNOWN_VALUE
,
Constant Field Valuespublic static final int T_POSITION_VALUE
T_POSITION
,
Constant Field Valuespublic static final int T_STATUS_VALUE
T_STATUS
,
Constant Field Valuespublic static final int T_MESSAGE_VALUE
T_MESSAGE
,
Constant Field Valuespublic static final int T_OBJECT_VALUE
T_OBJECT
,
Constant Field Valuespublic static final int T_ITEM_VALUE
T_ITEM
,
Constant Field Valuespublic static final List<AprsReportType> VALUES
Method Detail |
---|
public static AprsReportType[] values()
for (AprsReportType c : AprsReportType.values()) System.out.println(c);
public static AprsReportType 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 AprsReportType get(String literal)
public static AprsReportType getByName(String name)
public static AprsReportType get(int value)
public int getValue()
public String getName()
public String getLiteral()
public String toString()
toString
in class Enum<AprsReportType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |