Constructor and Description |
---|
NotFilter(Filter filter)
Take the value returned from the internal filter and NOT it.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(ConnectorObject obj)
Return the opposite the internal filters return value.
|
<R,P> R |
accept(FilterVisitor<R,P> v,
P p)
Applies a
FilterVisitor to this Filter . |
Filter |
getFilter()
Get the internal filter that is being negated.
|
String |
toString() |
public NotFilter(Filter filter)
public Filter getFilter()
public boolean accept(ConnectorObject obj)
accept
in interface Filter
obj
- - The specified ConnectorObject.true
if the object matches (that is, satisfies all
selection criteria of) this filter; otherwise false
.Filter.accept(ConnectorObject)
public <R,P> R accept(FilterVisitor<R,P> v, P p)
Filter
FilterVisitor
to this Filter
.Copyright © 2019. All rights reserved.