public class NotSpecification extends Object implements Specification<Composite>
Constructor and Description |
---|
NotSpecification(Specification<Composite> operand) |
Modifier and Type | Method and Description |
---|---|
Specification<Composite> |
operand() |
boolean |
satisfiedBy(Composite item)
Test whether an item matches the given specification
|
String |
toString() |
public NotSpecification(Specification<Composite> operand)
public Specification<Composite> operand()
public boolean satisfiedBy(Composite item)
Specification
satisfiedBy
in interface Specification<Composite>
item
- the item to be tested