public enum TxRxMode extends Enum<TxRxMode>
| Enum Constant and Description |
|---|
FutureUse |
TxABRxAB |
TxARxAB |
TxBRxAB |
| Modifier and Type | Method and Description |
|---|---|
static TxRxMode |
fromInteger(Integer integer) |
Integer |
getCode() |
String |
getValue() |
static TxRxMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TxRxMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TxRxMode TxABRxAB
public static final TxRxMode TxARxAB
public static final TxRxMode TxBRxAB
public static final TxRxMode FutureUse
public static TxRxMode[] values()
for (TxRxMode c : TxRxMode.values()) System.out.println(c);
public static TxRxMode 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 Integer getCode()
public String getValue()
Copyright © 2016 Thomas Borg Salling. All rights reserved.