public final class LessThanFilter extends ComparableAttributeFilter
Constructor and Description |
---|
LessThanFilter(Attribute attr) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(ConnectorObject obj)
Determines whether the specified
ConnectorObject matches this
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 LessThanFilter(Attribute attr)
public boolean accept(ConnectorObject obj)
Filter
ConnectorObject
matches this
filter.obj
- - The specified ConnectorObject.true
if the object matches (that is, satisfies all
selection criteria of) this filter; otherwise false
.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 © 2022. All rights reserved.