choco.kernel.model.constraints.cnf
Enum ALogicTree.Operator
java.lang.Object
java.lang.Enum<ALogicTree.Operator>
choco.kernel.model.constraints.cnf.ALogicTree.Operator
- All Implemented Interfaces:
- Serializable, Comparable<ALogicTree.Operator>
- Enclosing class:
- ALogicTree
public static enum ALogicTree.Operator
- extends Enum<ALogicTree.Operator>
Enum Constant Summary |
AND
|
OR
|
OR
public static final ALogicTree.Operator OR
AND
public static final ALogicTree.Operator AND
values
public static ALogicTree.Operator[] 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 (ALogicTree.Operator c : ALogicTree.Operator.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ALogicTree.Operator 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 name
NullPointerException
- if the argument is null
flip
public static ALogicTree.Operator flip(ALogicTree.Operator operator)
Copyright © 2012. All Rights Reserved.