public final class LessThanOrEqualFilter extends ComparableAttributeFilter
Constructor and Description |
---|
LessThanOrEqualFilter(Attribute attr) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(ConnectorObject obj)
Return false if the attribute is not present otherwise compare the
attribute to the
ConnectorObject 's Attribute . |
<R,P> R |
accept(FilterVisitor<R,P> v,
P p)
Applies a
FilterVisitor to this Filter . |
String |
toString() |
compare
getValue
getAttribute, getName, isPresent
public LessThanOrEqualFilter(Attribute attr)
public boolean accept(ConnectorObject obj)
ConnectorObject
's Attribute
.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 © 2022. All rights reserved.