kodkod.ast
Enum BinaryFormula.Operator

java.lang.Object
  extended by java.lang.Enum<BinaryFormula.Operator>
      extended by kodkod.ast.BinaryFormula.Operator
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BinaryFormula.Operator>
Enclosing class:
BinaryFormula

public static enum BinaryFormula.Operator
extends java.lang.Enum<BinaryFormula.Operator>

Represents a binary formula operator.


Enum Constant Summary
AND
          Logical AND operator.
IFF
          Logical bi-implication operator.
IMPLIES
          Logical implication operator.
OR
          Logical OR operator.
XOR
          Logical XOR operator.
 
Method Summary
static BinaryFormula.Operator valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static BinaryFormula.Operator[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AND

public static final BinaryFormula.Operator AND
Logical AND operator.


OR

public static final BinaryFormula.Operator OR
Logical OR operator.


XOR

public static final BinaryFormula.Operator XOR
Logical XOR operator.


IMPLIES

public static final BinaryFormula.Operator IMPLIES
Logical implication operator.


IFF

public static final BinaryFormula.Operator IFF
Logical bi-implication operator.

Method Detail

values

public static final BinaryFormula.Operator[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(BinaryFormula.Operator c : BinaryFormula.Operator.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static BinaryFormula.Operator valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name