public enum DataSendingInterBlock extends java.lang.Enum<DataSendingInterBlock>
| Enum Constant and Description |
|---|
delay100ms |
delay10ms |
delay1sec |
delay3sec |
delay500ms |
delay50ms |
| Modifier and Type | Method and Description |
|---|---|
static DataSendingInterBlock |
fromValue(int value)
Gets a delay type from its byte value.
|
byte |
getCode()
Gets the byte value of the delay type.
|
static java.lang.String[] |
names()
Returns an array containing the names of the delay type constants.
|
java.lang.String |
toString()
Returns the string message of the delay type.
|
byte |
value()
Gets the byte value of the delay type.
|
static DataSendingInterBlock |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DataSendingInterBlock[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataSendingInterBlock delay10ms
public static final DataSendingInterBlock delay50ms
public static final DataSendingInterBlock delay100ms
public static final DataSendingInterBlock delay500ms
public static final DataSendingInterBlock delay1sec
public static final DataSendingInterBlock delay3sec
public static DataSendingInterBlock[] values()
for (DataSendingInterBlock c : DataSendingInterBlock.values()) System.out.println(c);
public static DataSendingInterBlock valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic byte value()
public byte getCode()
public java.lang.String toString()
toString in class java.lang.Enum<DataSendingInterBlock>public static DataSendingInterBlock fromValue(int value) throws java.lang.IllegalArgumentException
value - The byte value of the delay type.java.lang.IllegalArgumentException - If the byte value does not correspond to any delay type.public static java.lang.String[] names()