Package org.glassfish.hk2.utilities
Class OrFilter
java.lang.Object
org.glassfish.hk2.utilities.OrFilter
- All Implemented Interfaces:
Filter
Creates a filter that matches if at least one
of the sub-filters is a match. Respects the
rules of
IndexedFilter
as well-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if this filter matches the given object
-
Field Details
-
allFilters
-
-
Constructor Details
-
OrFilter
Creates an OrFilter whose matches methods returns true if at least one of the filters given returns true. If filters is zero length then the matches method will always return false because none of the filters returned true!- Parameters:
filters
- other filters to be considered in the Or expression
-
-
Method Details