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