public enum ControlCodes extends Enum<ControlCodes> implements IByteConstant
| Enum Constant and Description |
|---|
ACK |
COLON |
COMMA |
ENQ |
EOT |
ETX |
FS |
GS |
LF |
NAK |
PTGS |
RS |
STX |
US |
| Modifier and Type | Method and Description |
|---|---|
byte |
getByte() |
String |
toString() |
static ControlCodes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ControlCodes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ControlCodes STX
public static final ControlCodes ETX
public static final ControlCodes EOT
public static final ControlCodes ENQ
public static final ControlCodes ACK
public static final ControlCodes NAK
public static final ControlCodes FS
public static final ControlCodes GS
public static final ControlCodes RS
public static final ControlCodes US
public static final ControlCodes COMMA
public static final ControlCodes COLON
public static final ControlCodes PTGS
public static final ControlCodes LF
public static ControlCodes[] values()
for (ControlCodes c : ControlCodes.values()) System.out.println(c);
public static ControlCodes valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic byte getByte()
getByte in interface IByteConstantpublic String toString()
toString in class Enum<ControlCodes>Copyright © 2024. All rights reserved.