org.hibernate.validator.internal.util.classhierarchy

## Interface Filter

-     public interface Filter

  A filter to be used when invoking `ClassHierarchyHelper.getHierarchy(Class, Filter...)`.
  Author:
    Gunnar Morling

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `accepts(Class<?> clazz)` Whether the given class is accepted by this filter or not.

- - ### Method Detail

    - #### accepts

          boolean accepts(Class<?> clazz)

      Whether the given class is accepted by this filter or not.
      Parameters:
        `clazz` - the class of interest
      Returns:
        `true` if this filter accepts the given class (meaning it will be contained in the result of `ClassHierarchyHelper.getHierarchy(Class, Filter...)`, `false` otherwise.

Copyright © 2007-2014 Red Hat, Inc. All Rights Reserved