java.io.Serializable
, java.lang.Comparable<LPThreadsNumber>
public enum LPThreadsNumber extends java.lang.Enum<LPThreadsNumber>
Enum Constant | Description |
---|---|
AUTO |
|
N_1 |
|
N_10 |
|
N_12 |
|
N_128 |
|
N_16 |
|
N_2 |
|
N_20 |
|
N_24 |
|
N_32 |
|
N_4 |
|
N_6 |
|
N_64 |
|
N_8 |
Modifier and Type | Method | Description |
---|---|---|
int |
getThread() |
|
java.lang.String |
toString() |
|
static LPThreadsNumber |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static LPThreadsNumber[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LPThreadsNumber AUTO
public static final LPThreadsNumber N_1
public static final LPThreadsNumber N_2
public static final LPThreadsNumber N_4
public static final LPThreadsNumber N_6
public static final LPThreadsNumber N_8
public static final LPThreadsNumber N_10
public static final LPThreadsNumber N_12
public static final LPThreadsNumber N_16
public static final LPThreadsNumber N_20
public static final LPThreadsNumber N_24
public static final LPThreadsNumber N_32
public static final LPThreadsNumber N_64
public static final LPThreadsNumber N_128
public static LPThreadsNumber[] values()
for (LPThreadsNumber c : LPThreadsNumber.values()) System.out.println(c);
public static LPThreadsNumber 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 nullpublic int getThread()
public java.lang.String toString()
toString
in class java.lang.Enum<LPThreadsNumber>