org.qi4j.functional

## Class Specifications

- java.lang.Object
- - org.qi4j.functional.Specifications

-     public class Specifications
      extends Object

  Common generic specification expressions

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `Specifications.AndSpecification<T>` AND Specification.
    `static class` | `Specifications.OrSpecification<T>` OR Specification.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <T> Specifications.AndSpecification<T>` | `and(Iterable<Specification<T>> specifications)`
    `static <T> Specifications.AndSpecification<T>` | `and(Specification<T>... specifications)`
    `static <T> Specification<T>` | `in(Iterable<T> allowed)`
    `static <T> Specification<T>` | `in(T... allowed)`
    `static <T> Specification<T>` | `not(Specification<T> specification)`
    `static <T> Specification<T>` | `notNull()`
    `static <T> Specifications.OrSpecification<T>` | `or(Iterable<Specification<T>> specifications)`
    `static <T> Specifications.OrSpecification<T>` | `or(Specification<T>... specifications)`
    `static <FROM,TO> Specification<FROM>` | `translate(Function<FROM,TO> function, Specification<? super TO> specification)`
    `static <T> Specification<T>` | `TRUE()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### TRUE

          public static <T> Specification<T> TRUE()

    - #### not

          public static <T> Specification<T> not(Specification<T> specification)

    - #### and

          @SafeVarargs
          public static <T> Specifications.AndSpecification<T> and(Specification<T>... specifications)

    - #### and

          public static <T> Specifications.AndSpecification<T> and(Iterable<Specification<T>> specifications)

    - #### or

          @SafeVarargs
          public static <T> Specifications.OrSpecification<T> or(Specification<T>... specifications)

    - #### or

          public static <T> Specifications.OrSpecification<T> or(Iterable<Specification<T>> specifications)

    - #### in

          @SafeVarargs
          public static <T> Specification<T> in(T... allowed)

    - #### in

          public static <T> Specification<T> in(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)