Interface FieldValueComparator
-
- All Known Implementing Classes:
Equality
,Inclusion
,Inequality
,Inferiority
,Like
,NothingBuilder
,StrictInferiority
,StrictSuperiority
,Superiority
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface FieldValueComparator
A comparator of comparable values. Such comparator is a comparing predicate between two comparable objects.- Author:
- mmoquillon
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
compare(Comparable value, Comparable referenceValue)
Compares the value with the reference value.
-
-
-
Method Detail
-
compare
boolean compare(Comparable value, Comparable referenceValue)
Compares the value with the reference value. The two specified values must be comparable.- 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.
-
-