Class Compare.Equal
java.lang.Object
com.vaadin.featurepack.data.util.filter.Compare
com.vaadin.featurepack.data.util.filter.Compare.Equal
- All Implemented Interfaces:
Container.Filter,Serializable
- Enclosing class:
Compare
A
Compare filter that accepts items for which the identified
property value is equal to value.
For in-memory filters, Comparable.compareTo(Object) or, if not
Comparable, Compare.equals(Object) is used for the comparison. For other
containers, the comparison implementation is container dependent and may
use e.g. database comparison operations.- Since:
- 6.6
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.vaadin.featurepack.data.util.filter.Compare
Compare.Equal, Compare.Greater, Compare.GreaterOrEqual, Compare.Less, Compare.LessOrEqual, Compare.Operation -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.vaadin.featurepack.data.util.filter.Compare
appliesToProperty, compareValue, equals, getOperation, getPropertyId, getValue, hashCode, passesFilter
-
Constructor Details
-
Equal
Construct a filter that accepts items for which the identified property value is equal tovalue. For in-memory filters, equals() is used for the comparison. For other containers, the comparison implementation is container dependent and may use e.g. database comparison operations.- Parameters:
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 container
-