org.qi4j.functional
Class Specifications
java.lang.Object
org.qi4j.functional.Specifications
public class Specifications
- extends java.lang.Object
Common generic specification expressions
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Specifications
public Specifications()
TRUE
public static <T> Specification<T> TRUE()
not
public static <T> Specification<T> not(Specification<T> specification)
and
public static <T> Specifications.AndSpecification<T> and(Specification<T>... specifications)
and
public static <T> Specifications.AndSpecification<T> and(java.lang.Iterable<Specification<T>> specifications)
or
public static <T> Specifications.OrSpecification<T> or(Specification<T>... specifications)
or
public static <T> Specifications.OrSpecification<T> or(java.lang.Iterable<Specification<T>> specifications)
in
public static <T> Specification<T> in(T... allowed)
in
public static <T> Specification<T> in(java.lang.Iterable<T> allowed)
notNull
public static <T> Specification<T> notNull()
translate
public static <FROM,TO> Specification<FROM> translate(Function<FROM,TO> function,
Specification<? super TO> specification)