T - The target type for this SpecSpec<T>public class AndSpec<T> extends CompositeSpec<T>
CompositeSpec which requires all its specs to be true in order to evaluate to true.
 Uses lazy evaluation.| Constructor | Description | 
|---|---|
| AndSpec() | |
| AndSpec(Iterable<? extends Spec<? super T>> specs) | |
| AndSpec(Spec<? super T>... specs) | 
| Modifier and Type | Method | Description | 
|---|---|---|
| AndSpec<T> | and(Closure spec) | |
| AndSpec<T> | and(Spec<? super T> spec) | Typed and() method for a single  Spec. | 
| AndSpec<T> | and(Spec<? super T>... specs) | |
| static <T> AndSpec<T> | empty() | |
| boolean | isSatisfiedBy(T object) | 
equals, getSpecs, hashCode, isEmptypublic static final AndSpec<?> EMPTY