Interface MapDifference.ValueDifference<V>

  • Enclosing interface:
    MapDifference<K,​V>

    @Deprecated(since="2022-12-01")
    public static interface MapDifference.ValueDifference<V>
    Deprecated.
    The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023
    A difference between the mappings from two maps with the same key. The leftValue() and rightValue() are not equal, and one but not both of them may be null.
    Since:
    2.0 (imported from Google Collections Library)
    • Method Summary

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

      • leftValue

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

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

        boolean equals​(@Nullable
                       java.lang.Object other)
        Deprecated.
        Two instances are considered equal if their leftValue() values are equal and their rightValue() values are also equal.
        Overrides:
        equals in class java.lang.Object
      • hashCode

        int hashCode()
        Deprecated.
        The hash code equals the value Arrays.asList(leftValue(), rightValue()).hashCode().
        Overrides:
        hashCode in class java.lang.Object