public enum Ethertype extends Enum<Ethertype>
FlowClassifier| Enum Constant and Description |
|---|
IPv4 |
IPv6 |
UNRECOGNIZED |
| Modifier and Type | Method and Description |
|---|---|
static Ethertype |
forValue(String value) |
static Ethertype |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Ethertype[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Ethertype IPv4
public static final Ethertype IPv6
public static final Ethertype UNRECOGNIZED
public static Ethertype[] values()
for (Ethertype c : Ethertype.values()) System.out.println(c);
public static Ethertype 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 © 2019. All rights reserved.