DATATYPE - The type of object to filter.PARAMTYPE - The type of the parameterpublic interface IFilterWithParameter<DATATYPE,PARAMTYPE>
IFilter instead.| Modifier and Type | Method and Description |
|---|---|
boolean |
matchesFilter(DATATYPE aValue,
PARAMTYPE aParam)
Check if the given value matches the filter or not.
|
@DevelopersNote(value="No @Nullable annotation as we can make no assumptions on the state") boolean matchesFilter(DATATYPE aValue, PARAMTYPE aParam)
aValue - The object to filter. May be null depending on the
implementation.aParam - An optional parameter that may be used in determining whether the
object matches the filter or not!true if the object match the filter,
false otherwise.Copyright © 2014–2016 Philip Helger. All rights reserved.