public static final class Compare.Less extends Compare
Compare filter that accepts items for which the identified
property value is less than value.
For in-memory filters, the values must implement Comparable and
Comparable.compareTo(Object) is used for the comparison. For
other containers, the comparison implementation is container dependent
and may use e.g. database comparison operations.Compare.Equal, Compare.Greater, Compare.GreaterOrEqual, Compare.Less, Compare.LessOrEqual, Compare.Operation| Constructor and Description |
|---|
Less(Object propertyId,
Object value)
Construct a filter that accepts items for which the identified
property value is less than
value. |
appliesToProperty, compareValue, equals, getOperation, getPropertyId, getValue, hashCode, passesFilterpublic Less(Object propertyId, Object value)
value.
For in-memory filters, the values must implement Comparable
and Comparable.compareTo(Object) is used for the comparison.
For other containers, the comparison implementation is container
dependent and may use e.g. database comparison operations.propertyId - the identifier of the property whose value to compare
against value, not nullvalue - the value to compare against - null values may or may not
be supported depending on the containerCopyright © 2016 Vaadin Ltd. All rights reserved.