Package org.xcsp.common
Enum Types.TypeChild
- java.lang.Object
-
- java.lang.Enum<Types.TypeChild>
-
- org.xcsp.common.Types.TypeChild
-
- All Implemented Interfaces:
Serializable
,Comparable<Types.TypeChild>
- Enclosing class:
- Types
public static enum Types.TypeChild extends Enum<Types.TypeChild>
The enum type specifying the different types of child elements of constraints. We use lower-case letters, so as to directly get the names of the elements (except for FINAL that needs to be managed apart, because this is a keyword).
-
-
Enum Constant Summary
Enum Constants Enum Constant Description coeffs
colOccurs
condition
conditions
conflicts
cost
ends
except
FINAL
function
graph
heights
image
index
lengths
limit
list
machines
mapping
matrix
mset
number
occurs
operator
origins
patterns
profits
root
row
rowOccurs
rules
set
size
sizes
start
supports
terminal
total
transitions
value
values
weights
widths
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Types.TypeChild
valueOf(String name)
Returns the enum constant of this type with the specified name.static Types.TypeChild[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
list
public static final Types.TypeChild list
-
set
public static final Types.TypeChild set
-
mset
public static final Types.TypeChild mset
-
matrix
public static final Types.TypeChild matrix
-
function
public static final Types.TypeChild function
-
supports
public static final Types.TypeChild supports
-
conflicts
public static final Types.TypeChild conflicts
-
except
public static final Types.TypeChild except
-
value
public static final Types.TypeChild value
-
values
public static final Types.TypeChild values
-
total
public static final Types.TypeChild total
-
coeffs
public static final Types.TypeChild coeffs
-
condition
public static final Types.TypeChild condition
-
cost
public static final Types.TypeChild cost
-
operator
public static final Types.TypeChild operator
-
number
public static final Types.TypeChild number
-
transitions
public static final Types.TypeChild transitions
-
start
public static final Types.TypeChild start
-
FINAL
public static final Types.TypeChild FINAL
-
terminal
public static final Types.TypeChild terminal
-
rules
public static final Types.TypeChild rules
-
index
public static final Types.TypeChild index
-
mapping
public static final Types.TypeChild mapping
-
occurs
public static final Types.TypeChild occurs
-
rowOccurs
public static final Types.TypeChild rowOccurs
-
colOccurs
public static final Types.TypeChild colOccurs
-
widths
public static final Types.TypeChild widths
-
patterns
public static final Types.TypeChild patterns
-
origins
public static final Types.TypeChild origins
-
lengths
public static final Types.TypeChild lengths
-
ends
public static final Types.TypeChild ends
-
heights
public static final Types.TypeChild heights
-
machines
public static final Types.TypeChild machines
-
conditions
public static final Types.TypeChild conditions
-
sizes
public static final Types.TypeChild sizes
-
weights
public static final Types.TypeChild weights
-
profits
public static final Types.TypeChild profits
-
limit
public static final Types.TypeChild limit
-
size
public static final Types.TypeChild size
-
root
public static final Types.TypeChild root
-
image
public static final Types.TypeChild image
-
graph
public static final Types.TypeChild graph
-
row
public static final Types.TypeChild row
-
-
Method Detail
-
values
public static Types.TypeChild[] 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 (Types.TypeChild c : Types.TypeChild.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Types.TypeChild 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
-
-