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