public enum StandardRequest extends java.lang.Enum<StandardRequest>
Enum Constant and Description |
---|
CLEAR_FEATURE |
GET_CONFIGURATION |
GET_DESCRIPTOR |
GET_INTERFACE |
GET_STATUS |
SET_ADDRESS |
SET_CONFIGURATION |
SET_DESCRIPTOR |
SET_FEATURE |
SET_INTERFACE |
SET_ISOCH_DELAY |
SET_SEL |
SYNC_FRAME |
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
static StandardRequest |
valueOf(int code) |
static StandardRequest |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StandardRequest[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StandardRequest GET_STATUS
public static final StandardRequest CLEAR_FEATURE
public static final StandardRequest SET_FEATURE
public static final StandardRequest SET_ADDRESS
public static final StandardRequest GET_DESCRIPTOR
public static final StandardRequest SET_DESCRIPTOR
public static final StandardRequest GET_CONFIGURATION
public static final StandardRequest SET_CONFIGURATION
public static final StandardRequest GET_INTERFACE
public static final StandardRequest SET_INTERFACE
public static final StandardRequest SYNC_FRAME
public static final StandardRequest SET_SEL
public static final StandardRequest SET_ISOCH_DELAY
public static StandardRequest[] values()
for (StandardRequest c : StandardRequest.values()) System.out.println(c);
public static StandardRequest 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 static StandardRequest valueOf(int code)
public int getCode()