|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.picocontainer.defaults.CollectionComponentParameter
org.picocontainer.gems.constraints.AbstractConstraint
org.picocontainer.gems.constraints.Not
public class Not
Inverts the logical sense of the given constraint.
| Field Summary | |
|---|---|
private Constraint |
constraint
|
| Fields inherited from class org.picocontainer.defaults.CollectionComponentParameter |
|---|
ARRAY, ARRAY_ALLOW_EMPTY |
| Constructor Summary | |
|---|---|
Not(Constraint con)
Creates a new Not instance. |
|
| Method Summary | |
|---|---|
void |
accept(org.picocontainer.PicoVisitor visitor)
|
boolean |
evaluate(org.picocontainer.ComponentAdapter comp)
Evaluate whether the given component adapter matches this constraint. |
| Methods inherited from class org.picocontainer.gems.constraints.AbstractConstraint |
|---|
getMatchingComponentAdapters, isResolvable, resolveInstance, verify |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private Constraint constraint
| Constructor Detail |
|---|
public Not(Constraint con)
Not instance.
con - a Constraint value| Method Detail |
|---|
public boolean evaluate(org.picocontainer.ComponentAdapter comp)
Constraint
evaluate in interface Constraintevaluate in class AbstractConstraintcomp - a ComponentAdapter value
public void accept(org.picocontainer.PicoVisitor visitor)
accept in interface org.picocontainer.Parameteraccept in class org.picocontainer.defaults.CollectionComponentParameter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||