@Immutable public class Not extends Object implements Constraint, Not
| Constructor and Description |
|---|
Not(Constraint constraint)
Create a constraint that negates another constraint.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor visitor)
Accept the supplied visitor, which should call back to the visitor to complete the double-dispatch operation.
|
boolean |
equals(Object obj) |
Constraint |
getConstraint() |
int |
hashCode() |
String |
toString() |
public Not(Constraint constraint)
constraint - the constraint that is being negatedIllegalArgumentException - if the supplied constraint is nullpublic Constraint getConstraint()
getConstraint in interface NotCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.