public static enum Body.BodyState extends Enum<Body.BodyState>
Enum Constant and Description |
---|
CONTINUE
There's something to read
|
STOP
There's nothing to read and input has to stop
|
SUSPEND
There's nothing to read and input has to suspend
|
Modifier and Type | Method and Description |
---|---|
static Body.BodyState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Body.BodyState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Body.BodyState CONTINUE
public static final Body.BodyState SUSPEND
public static final Body.BodyState STOP
public static Body.BodyState[] values()
for (Body.BodyState c : Body.BodyState.values()) System.out.println(c);
public static Body.BodyState 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 © 2015. All Rights Reserved.