- java.lang.Object
-
- java.lang.Enum<SetType>
-
- org.chocosolver.util.objects.setDataStructures.SetType
-
- All Implemented Interfaces:
Serializable
,Comparable<SetType>
public enum SetType extends Enum<SetType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BIPARTITESET
BITSET
FIXED_ARRAY
FIXED_INTERVAL
LINKED_LIST
RANGESET
SMALLBIPARTITESET
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SetType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SetType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BIPARTITESET
public static final SetType BIPARTITESET
-
SMALLBIPARTITESET
public static final SetType SMALLBIPARTITESET
-
LINKED_LIST
public static final SetType LINKED_LIST
-
BITSET
public static final SetType BITSET
-
FIXED_ARRAY
public static final SetType FIXED_ARRAY
-
FIXED_INTERVAL
public static final SetType FIXED_INTERVAL
-
RANGESET
public static final SetType RANGESET
-
-
Method Detail
-
values
public static SetType[] 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 (SetType c : SetType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SetType 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
-
-