- All Superinterfaces:
java.util.function.BiFunction<T,T,java.lang.Boolean>
- All Known Implementing Classes:
ComparableEqualityFunction, EmptyAsNullStringEqualityFunction
- 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 EntityValueEqualityFunction<T>
extends java.util.function.BiFunction<T,T,java.lang.Boolean>
This function interface allows overriding the default Object.equals behaviour used when comparing an Entity fields' value.
Exemplary flows for such a comparison are EntityChangeLogOutputGenerator and FalseUpdatesFilter.
Created by yuvalr on 5/22/16.