Class Like
- java.lang.Object
-
- org.silverpeas.components.jdbcconnector.service.comparators.Equality
-
- org.silverpeas.components.jdbcconnector.service.comparators.Like
-
- All Implemented Interfaces:
FieldValueComparator
public class Like extends Equality
The equality comparator.- Author:
- silveryocha
-
-
Constructor Summary
Constructors Constructor Description Like()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancompare(Comparable value, Comparable referenceValue)Compares the value with the reference value.
-
-
-
Method Detail
-
compare
public boolean compare(Comparable value, Comparable referenceValue)
Description copied from interface:FieldValueComparatorCompares the value with the reference value. The two specified values must be comparable.- Specified by:
comparein interfaceFieldValueComparator- Overrides:
comparein classEquality- 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.
-
-