org.qi4j.functional

## Class Specifications.AndSpecification<T>

- java.lang.Object
- - org.qi4j.functional.Specifications.AndSpecification<T>

- All Implemented Interfaces:
    Specification<T>
  Enclosing class:
    Specifications

      public static class Specifications.AndSpecification<T>
      extends Object
      implements Specification<T>

  AND Specification.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Specifications.AndSpecification<T>` | `and(Specification<T>... specifications)`
    `Specifications.OrSpecification<T>` | `or(Specification<T>... specifications)`
    `boolean` | `satisfiedBy(T instance)` Test whether an item matches the given specification

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

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

- - ### Method Detail

    - #### satisfiedBy

          public boolean satisfiedBy(T instance)

      Description copied from interface: `Specification`
      Test whether an item matches the given specification
      Specified by:
        `satisfiedBy` in interface `Specification<T>`
      Parameters:
        `instance` - the item to be tested
      Returns:
        true if the item matches, false otherwise

    - #### and

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

    - #### or

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