Interface Equivalence<T>


public interface Equivalence<T>
Interface for functions which compare elements for equality
Author:
René Bergelt
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    areEqual​(T element1, T element2)
    Return if the two elements are considered equal
  • Method Details

    • areEqual

      boolean areEqual(T element1, T element2)
      Return if the two elements are considered equal
      Parameters:
      element1 - The first element
      element2 - The second element
      Returns:
      True if teh elements are considered equal