public class And extends AbstractConstraint
| Modifier and Type | Field and Description |
|---|---|
private Constraint[] |
children |
| Constructor and Description |
|---|
And(Constraint[] cc) |
And(Constraint c1,
Constraint c2) |
And(Constraint c1,
Constraint c2,
Constraint c3) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(org.picocontainer.PicoVisitor visitor) |
boolean |
evaluate(org.picocontainer.ComponentAdapter adapter)
Evaluate whether the given component adapter matches this constraint.
|
getMatchingComponentAdapters, isResolvable, resolveInstance, verifyprivate Constraint[] children
public And(Constraint c1, Constraint c2)
public And(Constraint c1, Constraint c2, Constraint c3)
public And(Constraint[] cc)
public boolean evaluate(org.picocontainer.ComponentAdapter adapter)
Constraintevaluate in interface Constraintevaluate in class AbstractConstraintadapter - a ComponentAdapter valuepublic void accept(org.picocontainer.PicoVisitor visitor)
accept in interface org.picocontainer.Parameteraccept in class org.picocontainer.defaults.CollectionComponentParameter