Class StrictSuperiority
- java.lang.Object
-
- org.silverpeas.components.jdbcconnector.service.comparators.StrictSuperiority
-
- All Implemented Interfaces:
FieldValueComparator
public class StrictSuperiority extends Object implements FieldValueComparator
The strict superiority comparator- Author:
- mmoquillon
-
-
Constructor Summary
Constructors Constructor Description StrictSuperiority()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
compare(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:FieldValueComparator
Compares the value with the reference value. The two specified values must be comparable.- Specified by:
compare
in 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.
-
-