T- Custom Type
C- Concrete type of PropertyChange returned by a comparator
public interface CustomPropertyComparator<T,C extends PropertyChange>
JaversBuilder.javers().registerCustomComparator(new GuavaCustomComparator(), Multimap.class).build()
|Modifier and Type||Method||Description|
Called by JaVers to calculate property-to-property diff between two Custom Type objects.
Called by JaVers to calculate collection-to-collection diff, when Custom Type objects are Collection items.
left- left (or old) value
right- right (or current) value
affectedId- Id of domain object being compared
property- property being compared