public static class PropertyFilter.And extends Object implements PropertyFilter
PropertyFilter
implementation that is
conjunction of another property filters.PropertyFilter.And, PropertyFilter.NameEndsWith, PropertyFilter.NameSet, PropertyFilter.NameStartsWith, PropertyFilter.Not, PropertyFilter.Or
ALL
Constructor and Description |
---|
And(PropertyFilter... filters)
Constructs a new
PropertyFilter.And with the specified
array of property filters. |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(PropertyMetaData<?,?> metadata)
Checks whether all of the encapsulated filters accept the specified
property.
|
public And(PropertyFilter... filters)
PropertyFilter.And
with the specified
array of property filters.filters
- Array of property filters.public boolean accept(PropertyMetaData<?,?> metadata)
accept
in interface PropertyFilter
metadata
- Property metadata descriptor.true
if all of the encapsulated filters accept
the specified property; false
otherwise.Copyright © 2011–2020 FoxLabs. All rights reserved.