public static enum ResultPacket.ResultType extends Enum<ResultPacket.ResultType>
| Modifier and Type | Method and Description |
|---|---|
static ResultPacket.ResultType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResultPacket.ResultType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResultPacket.ResultType OK
public static final ResultPacket.ResultType ERROR
public static final ResultPacket.ResultType EOF
public static final ResultPacket.ResultType RESULTSET
public static final ResultPacket.ResultType FIELD
public static ResultPacket.ResultType[] values()
for (ResultPacket.ResultType c : ResultPacket.ResultType.values()) System.out.println(c);
public static ResultPacket.ResultType 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 nullCopyright © 2016. All rights reserved.