public final class GreaterThanFilter extends ComparableAttributeFilter
Constructor and Description |
---|
GreaterThanFilter(Attribute attr)
Determine if the
ConnectorObject Attribute value is
greater than the one provided in the filter. |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(ConnectorObject obj)
Determine if the
ConnectorObject Attribute value is
greater than the one provided in the filter. |
<R,P> R |
accept(FilterVisitor<R,P> v,
P p)
Applies a
FilterVisitor to this Filter . |
String |
toString() |
compare
getValue
getAttribute, getName, isPresent
public GreaterThanFilter(Attribute attr)
ConnectorObject
Attribute
value is
greater than the one provided in the filter.public boolean accept(ConnectorObject obj)
ConnectorObject
Attribute
value is
greater than the one provided in the 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
.R
- The return type of the visitor's methods.P
- The type of the additional parameters to the visitor's
methods.v
- The filter visitor.p
- Optional additional visitor parameter.Copyright © 2019. All rights reserved.