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- Author:
- jwells
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if this filter matches the given object
-
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