@GwtCompatible public interface SortedMapDifference<K,V> extends MapDifference<K,V>
An object representing the differences between two sorted maps.
MapDifference.ValueDifference<V>
Modifier and Type | Method and Description |
---|---|
SortedMap<K,MapDifference.ValueDifference<V>> |
entriesDiffering()
Returns an unmodifiable map describing keys that appear in both maps, but with different values.
|
SortedMap<K,V> |
entriesInCommon()
Returns an unmodifiable map containing the entries that appear in both maps; that is, the intersection of the two maps.
|
SortedMap<K,V> |
entriesOnlyOnLeft()
Returns an unmodifiable map containing the entries from the left map whose keys are not present in the right map.
|
SortedMap<K,V> |
entriesOnlyOnRight()
Returns an unmodifiable map containing the entries from the right map whose keys are not present in the left map.
|
areEqual, equals, hashCode
SortedMap<K,V> entriesOnlyOnLeft()
MapDifference
Returns an unmodifiable map containing the entries from the left map whose keys are not present in the right map.
entriesOnlyOnLeft
in interface MapDifference<K,V>
SortedMap<K,V> entriesOnlyOnRight()
MapDifference
Returns an unmodifiable map containing the entries from the right map whose keys are not present in the left map.
entriesOnlyOnRight
in interface MapDifference<K,V>
SortedMap<K,V> entriesInCommon()
MapDifference
Returns an unmodifiable map containing the entries that appear in both maps; that is, the intersection of the two maps.
entriesInCommon
in interface MapDifference<K,V>
SortedMap<K,MapDifference.ValueDifference<V>> entriesDiffering()
MapDifference
Returns an unmodifiable map describing keys that appear in both maps, but with different values.
entriesDiffering
in interface MapDifference<K,V>