public final class SpecUtils extends Object
Modifier and Type | Method and Description |
---|---|
static <T> Spec<T> |
byType(Class<? extends T> type) |
static <T> Optional<Class<? extends T>> |
getTypeFiltered(Spec<T> spec) |
static <T> Spec<T> |
satisfyAll()
Returns a specification that always evaluates to true.
|
static <T> Spec<T> |
satisfyNone()
Returns a specification that always evaluates to false.
|