public enum TrafficClass extends Enum<TrafficClass>
| Enum Constant and Description |
|---|
BANDWIDTH |
BEST_EFFORT |
ISOCHRONOUS |
LOW_LATENCY |
| Modifier and Type | Method and Description |
|---|---|
static TrafficClass |
stringToValue(String s) |
String |
toString() |
static TrafficClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrafficClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrafficClass LOW_LATENCY
public static final TrafficClass BEST_EFFORT
public static final TrafficClass ISOCHRONOUS
public static final TrafficClass BANDWIDTH
public static TrafficClass[] values()
for (TrafficClass c : TrafficClass.values()) System.out.println(c);
public static TrafficClass 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 TrafficClass stringToValue(String s)
public String toString()
toString in class Enum<TrafficClass>