Provides a number of Spec implementations.
Modifiers | Name | Description |
---|---|---|
static Spec<Object> |
SATISFIES_ALL |
|
static Spec<Object> |
SATISFIES_NONE |
Type | Name and description |
---|---|
static AndSpec<T> |
and(Spec<? super T>... specs) |
static Spec<T> |
convertClosureToSpec(Closure closure) |
static NotSpec<T> |
not(Spec<? super T> spec) |
static OrSpec<T> |
or(Spec<? super T>... specs) |
static Spec<T> |
or(boolean defaultWhenNoSpecs, List<? extends Spec<? super T>> specs) |
static Spec<T> |
satisfyAll() |
static Spec<T> |
satisfyNone() |