Class Equality
java.lang.Object
org.silverpeas.components.jdbcconnector.service.comparators.Equality
- All Implemented Interfaces:
FieldValueComparator
- Direct Known Subclasses:
Like
The equality comparator.
- Author:
- mmoquillon
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> booleancompare(Comparable<T> value, Comparable<T> referenceValue) Compares the value with the reference value.
-
Field Details
-
NULL
- See Also:
-
-
Constructor Details
-
Equality
public Equality()
-
-
Method Details
-
compare
Description copied from interface:FieldValueComparatorCompares the value with the reference value. The two specified values must be comparable.- Specified by:
comparein interfaceFieldValueComparator- Parameters:
value- the value to compare.referenceValue- the reference value the value is compared to.- Returns:
- true if the comparing predicate between the two specified values is satisfied.
-