Interface ObjectComparatorService

  • All Known Implementing Classes:
    DefaultObjectComparatorService

    public interface ObjectComparatorService
    Allows to define comparators for particular objects that have not implemented correct equals.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object first, java.lang.Object second)
      Allows to check if the given objects are equal
    • Method Detail

      • equals

        boolean equals​(java.lang.Object first,
                       java.lang.Object second)
        Allows to check if the given objects are equal
        Parameters:
        first - object to compare
        second - object to compare
        Returns:
        whether the given objects are equal or not