Package org.ssclab.pl.milp.util
Enum MILPThreadsNumber
- java.lang.Object
-
- java.lang.Enum<MILPThreadsNumber>
-
- org.ssclab.pl.milp.util.MILPThreadsNumber
-
- All Implemented Interfaces:
Serializable
,Comparable<MILPThreadsNumber>
public enum MILPThreadsNumber extends Enum<MILPThreadsNumber>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getNumLp()
int
getThread()
String
toString()
static MILPThreadsNumber
valueOf(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.
-
-
-
Enum Constant Detail
-
N_1
public static final MILPThreadsNumber N_1
-
N_2
public static final MILPThreadsNumber N_2
-
N_4
public static final MILPThreadsNumber N_4
-
N_6
public static final MILPThreadsNumber N_6
-
N_8
public static final MILPThreadsNumber N_8
-
N_10
public static final MILPThreadsNumber N_10
-
N_12
public static final MILPThreadsNumber N_12
-
N_16
public static final MILPThreadsNumber N_16
-
N_20
public static final MILPThreadsNumber N_20
-
N_24
public static final MILPThreadsNumber N_24
-
N_32
public static final MILPThreadsNumber N_32
-
N_64
public static final MILPThreadsNumber N_64
-
N_128
public static final MILPThreadsNumber N_128
-
-
Method Detail
-
values
public static MILPThreadsNumber[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MILPThreadsNumber c : MILPThreadsNumber.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MILPThreadsNumber valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getThread
public int getThread()
-
getNumLp
public int getNumLp()
-
toString
public String toString()
- Overrides:
toString
in classEnum<MILPThreadsNumber>
-
-