Interface ElementValueComparator

  • All Known Implementing Classes:
    DefaultElementValueComparator

    public interface ElementValueComparator
    Used to compare two element values. Implementations must define a constructor accepting a single CacheConfiguration argument.
    Author:
    Ludovic Orban
    • Method Detail

      • equals

        boolean equals​(Element e1,
                       Element e2)
        Compare the two elements. Null values have to be supported.
        Parameters:
        e1 - element to compare
        e2 - element to compare
        Returns:
        true if the elements are equal