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