edu.ucsb.ccs.jaqual
Interface Operator
- public interface Operator
Interface for an object that transforms other objects. Using the
ForAll quantifier, Operators allow you to easily apply some function
to all the elements in a Collection. Operators are similar to
Assertions, but an Assertion simply evaluates to a boolean leaving
it's argument unchanged. An Operator performs some operation on
the argument.
- Version:
- $Id: $
- Author:
- Parker Abercrombie
- See Also:
Assertion,
ForAll
|
Method Summary |
void |
execute(java.lang.Object o)
Execute the operator on an object. |
execute
public void execute(java.lang.Object o)
- Execute the operator on an object.
- Parameters:
o - the operand.