wugle.expression
Interface Commutative
- All Superinterfaces:
- BinaryOperator, java.lang.Cloneable, Expression, Operator
- All Known Implementing Classes:
- LogicBinaryOperator, Xor
- public interface Commutative
- extends BinaryOperator
BinaryOperator
that can perform the Commutative Law.
Any BinaryOperator
that can perform the Commutative Law
should implement this interface. The actual implementation can be delegated
to an ExpressionOperation
.
- Version:
- 0.1.3
- Author:
- Jacob Perkins
- See Also:
ExpressionOperation
Method Summary |
void |
commute()
Performs the Commutative Law. |
commute
public void commute()
- Performs the Commutative Law.
This will transform
p v q
to
q v p
.
- See Also:
ExpressionOperation.commute(Commutative)