public class Specs
extends java.lang.Object
Spec
implementations.Modifier and Type | Field and Description |
---|---|
static Spec<java.lang.Object> |
SATISFIES_ALL |
static Spec<java.lang.Object> |
SATISFIES_NONE |
Constructor and Description |
---|
Specs() |
Modifier and Type | Method and Description |
---|---|
static <T> AndSpec<T> |
and(Spec<? super T>... specs) |
static <T> Spec<T> |
convertClosureToSpec(Closure cl) |
static <T> java.util.Set<T> |
filterIterable(java.lang.Iterable<? extends T> iterable,
Spec<? super T> spec) |
static <T> NotSpec<T> |
not(Spec<? super T> spec) |
static <T> Spec<T> |
or(boolean defaultWhenNoSpecs,
java.util.List<? extends Spec<? super T>> specs) |
static <T> OrSpec<T> |
or(Spec<? super T>... specs) |
static <T> Spec<T> |
satisfyAll() |
static <T> Spec<T> |
satisfyNone() |
public static final Spec<java.lang.Object> SATISFIES_ALL
public static final Spec<java.lang.Object> SATISFIES_NONE