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() |
OrSpec(Iterable<? extends Spec<? super T>> specs) |
OrSpec(Spec<? super T>... specs) |
public static final OrSpec<?> EMPTY