Interface MapDifference.ValueDifference<V>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean  other)
      Two instances are considered equal if their leftValue() values are equal and their rightValue() values are also equal.
      int hashCode()
      The hash code equals the value Arrays.asList(leftValue(), rightValue()).hashCode().
      V leftValue()
      Returns the value from the left map (possibly null).
      V rightValue()
      Returns the value from the right map (possibly null).
    • Method Detail

      • leftValue

        V leftValue()
        Returns the value from the left map (possibly null).
      • rightValue

        V rightValue()
        Returns the value from the right map (possibly null).
      • equals

        boolean   other)
        Two instances are considered equal if their leftValue() values are equal and their rightValue() values are also equal.
        Overrides:
         in class 
        Parameters:
        other - the reference object with which to compare.
        Returns:
        true if this object is the same as the obj argument; false otherwise.
        See Also:
        ,
      • hashCode

        int hashCode()
        The hash code equals the value Arrays.asList(leftValue(), rightValue()).hashCode().
        Overrides:
         in class 
        Returns:
        a hash code value for this object.
        See Also:
        ,