public enum StatFields extends Enum<StatFields>
Enum Constant and Description |
---|
BYTE_COUNT |
DURATION |
FLOW_COUNT |
IDLE_TIME |
PACKET_COUNT |
Modifier and Type | Method and Description |
---|---|
static StatFields |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatFields[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatFields DURATION
public static final StatFields IDLE_TIME
public static final StatFields FLOW_COUNT
public static final StatFields PACKET_COUNT
public static final StatFields BYTE_COUNT
public static StatFields[] values()
for (StatFields c : StatFields.values()) System.out.println(c);
public static StatFields 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 © 2017. All rights reserved.