public static enum ThreadFiber.RequestType extends java.lang.Enum<ThreadFiber.RequestType>
| Modifier and Type | Method and Description |
|---|---|
static ThreadFiber.RequestType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ThreadFiber.RequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreadFiber.RequestType DATA
public static final ThreadFiber.RequestType RAISE
public static ThreadFiber.RequestType[] values()
for (ThreadFiber.RequestType c : ThreadFiber.RequestType.values()) System.out.println(c);
public static ThreadFiber.RequestType 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 © 2001-2023 JRuby. All Rights Reserved.