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