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.Constructor and Description |
---|
AndSpec(Iterable<? extends Spec<? super T>> specs) |
AndSpec(Spec<? super T>... specs) |