public static enum FiberLibrary.FiberState extends java.lang.Enum<FiberLibrary.FiberState>
Enum Constant and Description |
---|
FINISHED |
NOT_STARTED |
RUNNING |
STARTED |
YIELDED |
Modifier and Type | Method and Description |
---|---|
static FiberLibrary.FiberState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FiberLibrary.FiberState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FiberLibrary.FiberState NOT_STARTED
public static final FiberLibrary.FiberState STARTED
public static final FiberLibrary.FiberState YIELDED
public static final FiberLibrary.FiberState RUNNING
public static final FiberLibrary.FiberState FINISHED
public static FiberLibrary.FiberState[] values()
for (FiberLibrary.FiberState c : FiberLibrary.FiberState.values()) System.out.println(c);
public static FiberLibrary.FiberState 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 nullCopyright © 2002-2009 JRuby Team. All Rights Reserved.