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 |
boolean |
accepts(Class<?> clazz)
Whether the given class is accepted by this filter or not. |
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-2013 Red Hat, Inc. All Rights Reserved