T - The target type for this Specpublic class AndSpec<T> extends CompositeSpec<T>
CompositeSpec which requires all its specs to be true in order to evaluate to true.
Uses lazy evaluation.| コンストラクタと説明 |
|---|
AndSpec(Iterable<? extends Spec<? super T>> specs) |
AndSpec(Spec<? super T>... specs) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
AndSpec<T> |
and(Closure spec) |
AndSpec<T> |
and(Spec<? super T>... specs) |
boolean |
isSatisfiedBy(T object) |
equals, getSpecs, hashCode