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.
A comparator of comparable values. Such comparator is a comparing predicate between two
comparable objects.
- Author:
- mmoquillon
-
Method Summary
Modifier and TypeMethodDescription<T> booleancompare(Comparable<T> value, Comparable<T> referenceValue) Compares the value with the reference value.
-
Method Details
-
compare
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.
-