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