public enum ThreadType extends Enum<ThreadType>
| Enum Constant and Description |
|---|
GUI
A gui thread type.
|
WORKER
The worker thread type, intended for non-gui related work, e.g.
|
| Modifier and Type | Method and Description |
|---|---|
static ThreadType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThreadType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreadType GUI
public static final ThreadType WORKER
public static ThreadType[] values()
for (ThreadType c : ThreadType.values()) System.out.println(c);
public static ThreadType 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 © 2006–2017 Esito AS. All rights reserved.