public class AndSpecification<T> extends AbstractSpecification<T>
| 构造器和说明 |
|---|
AndSpecification(ISpecification<T> left,
ISpecification<T> right)
Create a new AND specification based on two other spec.
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
isSatisfiedBy(T candidate,
Notification notification)
Same as
ISpecification.isSatisfiedBy(Object) except that it accepts Notification to pass more detailed error info. |
and, isSatisfiedBy, orpublic AndSpecification(ISpecification<T> left, ISpecification<T> right)
left - Specification one.right - Specification two.public boolean isSatisfiedBy(T candidate, Notification notification)
ISpecificationISpecification.isSatisfiedBy(Object) except that it accepts Notification to pass more detailed error info.Copyright © 2020–2023. All rights reserved.