Element - public interface FilterDecider<Element>
FilterDecider allows to specify how an undecided case should be
managed. For instance, when no Filter supports nor rejects an
element, or when both supporters and rejectors are found.| Modifier and Type | Method and Description |
|---|---|
boolean |
isSupported(Element element,
Collection<Filter<Element>> supporters,
Collection<Filter<Element>> rejectors) |
boolean isSupported(Element element, Collection<Filter<Element>> supporters, Collection<Filter<Element>> rejectors) throws UndecidedFilteringException
element - the element in an undecided casesupporters - the Filters supporting itrejectors - the Filters rejecting ittrue if the element should be supported,
false if it should notUndecidedFilteringException - if no decision can be made for the elementCopyright © 2014–2015. All rights reserved.