public enum ThreadRole extends Enum<ThreadRole>
Modifier and Type | Method and Description |
---|---|
String |
getShortName() |
static ThreadRole |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThreadRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreadRole SENDER
public static final ThreadRole RECEIVER
public static ThreadRole[] values()
for (ThreadRole c : ThreadRole.values()) System.out.println(c);
public static ThreadRole 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 nullpublic String getShortName()
Copyright © 2005–2024 Onix Solutions. All rights reserved.