Package org.ssclab.pl.milp.util
Enum LPThreadsNumber
- java.lang.Object
-
- java.lang.Enum<LPThreadsNumber>
-
- org.ssclab.pl.milp.util.LPThreadsNumber
-
- All Implemented Interfaces:
Serializable
,Comparable<LPThreadsNumber>
public enum LPThreadsNumber extends Enum<LPThreadsNumber>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getThread()
String
toString()
static LPThreadsNumber
valueOf(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.
-
-
-
Enum Constant Detail
-
AUTO
public static final LPThreadsNumber AUTO
-
N_1
public static final LPThreadsNumber N_1
-
N_2
public static final LPThreadsNumber N_2
-
N_4
public static final LPThreadsNumber N_4
-
N_6
public static final LPThreadsNumber N_6
-
N_8
public static final LPThreadsNumber N_8
-
N_10
public static final LPThreadsNumber N_10
-
N_12
public static final LPThreadsNumber N_12
-
N_16
public static final LPThreadsNumber N_16
-
N_20
public static final LPThreadsNumber N_20
-
N_24
public static final LPThreadsNumber N_24
-
N_32
public static final LPThreadsNumber N_32
-
N_64
public static final LPThreadsNumber N_64
-
N_128
public static final LPThreadsNumber N_128
-
-
Method Detail
-
values
public static LPThreadsNumber[] 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 (LPThreadsNumber c : LPThreadsNumber.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LPThreadsNumber 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()
-
toString
public String toString()
- Overrides:
toString
in classEnum<LPThreadsNumber>
-
-