Interface ComparisonProjection.LongComparer
- Enclosing class:
ComparisonProjection
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Performs comparison of two values of type long.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
compare
(long value, long existingValue) Compare a value to an existing value.
-
Method Details
-
compare
boolean compare(long value, long existingValue) Compare a value to an existing value.- Parameters:
value
- the value to compare.existingValue
- the existing value.- Returns:
- true if value should replace existingValue, false otherwise.
-