public static enum OFQueueProp.OFQueuePropType extends Enum<OFQueueProp.OFQueuePropType>
Enum Constant and Description |
---|
OFPQT_MAX_RATE |
OFPQT_MIN_RATE |
OFPQT_NONE |
Modifier and Type | Field and Description |
---|---|
protected int |
value |
Modifier and Type | Method and Description |
---|---|
static OFQueueProp.OFQueuePropType |
fromShort(short x) |
int |
getValue() |
static OFQueueProp.OFQueuePropType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OFQueueProp.OFQueuePropType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OFQueueProp.OFQueuePropType OFPQT_NONE
public static final OFQueueProp.OFQueuePropType OFPQT_MIN_RATE
public static final OFQueueProp.OFQueuePropType OFPQT_MAX_RATE
public static OFQueueProp.OFQueuePropType[] values()
for (OFQueueProp.OFQueuePropType c : OFQueueProp.OFQueuePropType.values()) System.out.println(c);
public static OFQueueProp.OFQueuePropType 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 int getValue()
public static OFQueueProp.OFQueuePropType fromShort(short x)
Copyright © 2015. All rights reserved.