public enum SynPacketAction extends Enum<SynPacketAction>
| Enum Constant and Description |
|---|
AFTER__WAIT |
BEFORE_DOWN |
BEFORE_WAIT |
| Modifier and Type | Method and Description |
|---|---|
static SynPacketAction |
forNumber(int value) |
int |
getValue() |
static SynPacketAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SynPacketAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SynPacketAction BEFORE_WAIT
public static final SynPacketAction AFTER__WAIT
public static final SynPacketAction BEFORE_DOWN
public static SynPacketAction[] values()
for (SynPacketAction c : SynPacketAction.values()) System.out.println(c);
public static SynPacketAction 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 static SynPacketAction forNumber(int value)
public int getValue()
Copyright © 2021. All rights reserved.