public enum IPPrecedence extends Enum<IPPrecedence>
| Enum Constant and Description | 
|---|
BEST_EFFORT  | 
CRITICAL  | 
FLASH  | 
FLASH_OVERRIDE  | 
IMMEDIATE  | 
INTERNETWORK_CONTROL  | 
NETWORK_CONTROL  | 
PRIORITY  | 
| Modifier and Type | Method and Description | 
|---|---|
static IPPrecedence | 
fromShort(short value)
Returns the IP precedence Enum corresponding to the specified short. 
 | 
short | 
getValue()
Returns the short value of this IP precedence Enum. 
 | 
static IPPrecedence | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static IPPrecedence[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final IPPrecedence BEST_EFFORT
public static final IPPrecedence PRIORITY
public static final IPPrecedence IMMEDIATE
public static final IPPrecedence FLASH
public static final IPPrecedence FLASH_OVERRIDE
public static final IPPrecedence CRITICAL
public static final IPPrecedence INTERNETWORK_CONTROL
public static final IPPrecedence NETWORK_CONTROL
public static IPPrecedence[] values()
for (IPPrecedence c : IPPrecedence.values()) System.out.println(c);
public static IPPrecedence 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 IPPrecedence fromShort(short value)
value - the short value of the IP precedenceIllegalArgumentException - if the short provided does not correspond to an IP precedence Enum valuepublic short getValue()