public static enum TrafficLink.StatsType extends Enum<TrafficLink.StatsType>
| Enum Constant and Description |
|---|
FLOW_COUNT
Number of flows.
|
FLOW_STATS
Number of bytes.
|
PORT_STATS
Number of bits per second.
|
TAGGED
Custom tagged information.
|
| Modifier and Type | Method and Description |
|---|---|
static TrafficLink.StatsType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrafficLink.StatsType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrafficLink.StatsType FLOW_COUNT
public static final TrafficLink.StatsType FLOW_STATS
public static final TrafficLink.StatsType PORT_STATS
public static final TrafficLink.StatsType TAGGED
public static TrafficLink.StatsType[] values()
for (TrafficLink.StatsType c : TrafficLink.StatsType.values()) System.out.println(c);
public static TrafficLink.StatsType 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 © 2015. All rights reserved.