Package org.opt4j.common.completer
Enum IndividualCompleterModule.Type
- java.lang.Object
-
- java.lang.Enum<IndividualCompleterModule.Type>
-
- org.opt4j.common.completer.IndividualCompleterModule.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<IndividualCompleterModule.Type>
- Enclosing class:
- IndividualCompleterModule
public static enum IndividualCompleterModule.Type extends Enum<IndividualCompleterModule.Type>
TheIndividualCompleterModule.Type
ofIndividualCompleter
to use.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PARALLEL
Use a parallel completer.SEQUENTIAL
Use a sequential completer.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IndividualCompleterModule.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static IndividualCompleterModule.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SEQUENTIAL
public static final IndividualCompleterModule.Type SEQUENTIAL
Use a sequential completer.- See Also:
SequentialIndividualCompleter
-
PARALLEL
public static final IndividualCompleterModule.Type PARALLEL
Use a parallel completer.- See Also:
ParallelIndividualCompleter
-
-
Method Detail
-
values
public static IndividualCompleterModule.Type[] 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 (IndividualCompleterModule.Type c : IndividualCompleterModule.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IndividualCompleterModule.Type 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
-
-