public enum Response extends Enum<Response>
Enum Constant and Description |
---|
BUSY |
COUNT |
ERR |
INFO |
OK |
READ |
VERSION |
Modifier and Type | Method and Description |
---|---|
static Response |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Response[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Response OK
public static final Response BUSY
public static final Response ERR
public static final Response READ
public static final Response VERSION
public static final Response COUNT
public static final Response INFO
public static Response[] values()
for (Response c : Response.values()) System.out.println(c);
public static Response 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 © 2018 Ken Händel. All rights reserved.