Enum Constant and Description |
---|
OP_DELETE |
OP_GET_MORE |
OP_INSERT |
OP_KILL_CURSORS |
OP_MSG |
OP_QUERY |
OP_REPLY |
OP_UPDATE |
RESERVED |
Modifier and Type | Method and Description |
---|---|
static OpCode |
getById(int id) |
int |
getId() |
static OpCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OpCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpCode OP_REPLY
public static final OpCode OP_MSG
public static final OpCode OP_UPDATE
public static final OpCode OP_INSERT
public static final OpCode RESERVED
public static final OpCode OP_QUERY
public static final OpCode OP_GET_MORE
public static final OpCode OP_DELETE
public static final OpCode OP_KILL_CURSORS
public static OpCode[] values()
for (OpCode c : OpCode.values()) System.out.println(c);
public static OpCode 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 getId()
public static OpCode getById(int id)