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