|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--edu.ucsb.ccs.jaqual.standard.Not
Assertion that negates another assertion.
Example use:
ForAll.in(elements).ensure(new Not(new Equal(0)));
| Constructor Summary | |
Not(Assertion a)
Create a new assertion. |
|
| Method Summary | |
boolean |
eval(java.lang.Object o)
Test an object by applying the inner assertion, and negating the result. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Not(Assertion a)
a - an assertion to negate.| Method Detail |
public boolean eval(java.lang.Object o)
eval in interface Assertiono - the object to test.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||