T
- The target type for this Specpublic class OrSpec<T> extends CompositeSpec<T>
CompositeSpec
which requires any one of its specs to be true in order to evaluate to
true. Uses lazy evaluation.Constructor and Description |
---|
OrSpec(Iterable<? extends Spec<? super T>> specs) |
OrSpec(Spec<? super T>... specs) |
Modifier and Type | Method and Description |
---|---|
boolean |
isSatisfiedBy(T object) |
equals, getSpecs, hashCode