@Immutable public class And extends Object implements Constraint, And
Constructor and Description |
---|
And(Constraint left,
Constraint right) |
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 |
getConstraint1() |
Constraint |
getConstraint2() |
int |
hashCode() |
Constraint |
left()
Get the constraint that is on the left-hand-side of the AND operation.
|
Constraint |
right()
Get the constraint that is on the right-hand-side of the AND operation.
|
String |
toString() |
public And(Constraint left, Constraint right)
public Constraint left()
public Constraint right()
public Constraint getConstraint1()
getConstraint1
in interface And
public Constraint getConstraint2()
getConstraint2
in interface And
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.