public static enum Protocol.Layer extends Enum<Protocol.Layer>
| Enum Constant and Description |
|---|
LAYER_1 |
LAYER_2 |
LAYER_3 |
LAYER_4 |
LAYER_7 |
| Modifier and Type | Method and Description |
|---|---|
static Protocol.Layer |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Protocol.Layer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Protocol.Layer LAYER_1
public static final Protocol.Layer LAYER_2
public static final Protocol.Layer LAYER_3
public static final Protocol.Layer LAYER_4
public static final Protocol.Layer LAYER_7
public static Protocol.Layer[] values()
for (Protocol.Layer c : Protocol.Layer.values()) System.out.println(c);
public static Protocol.Layer 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 nullCopyright © 2021. All Rights Reserved.