DATATYPE - The type to be filtered.@Immutable public class FilterListAll<DATATYPE> extends Object implements IFilter<DATATYPE>
| Constructor and Description |
|---|
FilterListAll(IFilter<? super DATATYPE>... aFilters) |
FilterListAll(Iterable<? extends IFilter<? super DATATYPE>> aFilters) |
| Modifier and Type | Method and Description |
|---|---|
static <DATATYPE> FilterListAll<DATATYPE> |
create(IFilter<? super DATATYPE>... aFilters) |
static <DATATYPE> FilterListAll<DATATYPE> |
create(Iterable<? extends IFilter<? super DATATYPE>> aFilters) |
boolean |
equals(Object o) |
List<? extends IFilter<? super DATATYPE>> |
getAllContainedFilters() |
int |
hashCode() |
boolean |
matchesFilter(DATATYPE aValue)
Check if the given value matches the filter or not.
|
String |
toString() |
@Nonnull @ReturnsMutableCopy public List<? extends IFilter<? super DATATYPE>> getAllContainedFilters()
public boolean matchesFilter(@Nullable DATATYPE aValue)
IFiltermatchesFilter in interface IFilter<DATATYPE>aValue - The object to filter. May be null depending on the
implementation.true if the object match the filter,
false otherwise.@Nonnull public static <DATATYPE> FilterListAll<DATATYPE> create(@Nullable IFilter<? super DATATYPE>... aFilters)
@Nonnull public static <DATATYPE> FilterListAll<DATATYPE> create(@Nullable Iterable<? extends IFilter<? super DATATYPE>> aFilters)
Copyright © 2014–2016 Philip Helger. All rights reserved.