Package com.google.common.collect
Interface MapDifference.ValueDifference<V>
- Enclosing interface:
MapDifference<K,
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
Modifier and TypeMethodDescriptionboolean
Deprecated.Two instances are considered equal if theirleftValue()
values are equal and theirrightValue()
values are also equal.int
hashCode()
Deprecated.The hash code equals the valueArrays.asList(leftValue(), rightValue()).hashCode()
.Deprecated.Returns the value from the left map (possibly null).Deprecated.Returns the value from the right map (possibly null).
-
Method Details
-
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
Deprecated.Two instances are considered equal if theirleftValue()
values are equal and theirrightValue()
values are also equal. -
hashCode
int hashCode()Deprecated.The hash code equals the valueArrays.asList(leftValue(), rightValue()).hashCode()
.
-