public enum ResponseTimeCategory extends java.lang.Enum<ResponseTimeCategory>
| Enum Constant and Description |
|---|
delaytolerant |
lowdelay |
| Modifier and Type | Method and Description |
|---|---|
int |
getCategory() |
static ResponseTimeCategory |
getResponseTimeCategory(int category) |
static ResponseTimeCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResponseTimeCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseTimeCategory lowdelay
public static final ResponseTimeCategory delaytolerant
public static ResponseTimeCategory[] values()
for (ResponseTimeCategory c : ResponseTimeCategory.values()) System.out.println(c);
public static ResponseTimeCategory valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getCategory()
public static ResponseTimeCategory getResponseTimeCategory(int category)
Copyright © 2012. All Rights Reserved.