org.qi4j.api.type

## Class MatchTypeSpecification

- java.lang.Object
- - org.qi4j.api.type.MatchTypeSpecification

- All Implemented Interfaces:
    Specification<HasTypes>

      public class MatchTypeSpecification
      extends Object
      implements Specification<HasTypes>

  Match Type Specification for HasTypes.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MatchTypeSpecification(Class<?> matchType)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `satisfiedBy(HasTypes item)` 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`

- - ### Constructor Detail

    - #### MatchTypeSpecification

          public MatchTypeSpecification(Class<?> matchType)

  - ### Method Detail

    - #### satisfiedBy

          public boolean satisfiedBy(HasTypes item)

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