public class AndSpecification extends BinarySpecification
operands
Constructor and Description |
---|
AndSpecification(Iterable<Specification<Composite>> operands) |
Modifier and Type | Method and Description |
---|---|
boolean |
satisfiedBy(Composite item)
Test whether an item matches the given specification
|
String |
toString() |
operands
and, or
public AndSpecification(Iterable<Specification<Composite>> operands)
public boolean satisfiedBy(Composite item)
Specification
item
- the item to be tested