Interface Deduplicable

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getHashCode()
      Returns a hash code to be used for the deduplicate map.
      boolean isIdentical​(java.lang.Object object)
      Determines if this instance is identical to another object.
    • Method Detail

      • getHashCode

        int getHashCode()
        Returns a hash code to be used for the deduplicate map. The returned hash code should be consitent wiwh isIdentical(Object), i.e. if two objects are identical they should have the same hash code.
        Returns:
        deduplication hash code
      • isIdentical

        boolean isIdentical​(java.lang.Object object)
        Determines if this instance is identical to another object.
        Parameters:
        object - the object to compare with this instance
        Returns:
        true if the two objects are identical and can be deduplicated