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