- All Superinterfaces:
MapDifference<K,V>
@GwtCompatible
public interface SortedMapDifference<K extends @Nullable Object, V extends @Nullable Object>
extends MapDifference<K,V>
An object representing the differences between two sorted maps.
- Since:
- 8.0
- Author:
- Louis Wasserman
-
Nested Class Summary
Nested classes/interfaces inherited from interface MapDifference
MapDifference.ValueDifference<V> -
Method Summary
Modifier and TypeMethodDescriptionReturns an unmodifiable map describing keys that appear in both maps, but with different values.Returns an unmodifiable map containing the entries that appear in both maps; that is, the intersection of the two maps.Returns an unmodifiable map containing the entries from the left map whose keys are not present in the right map.Returns an unmodifiable map containing the entries from the right map whose keys are not present in the left map.Methods inherited from interface MapDifference
areEqual, equals, hashCode
-
Method Details
-
entriesOnlyOnLeft
Description copied from interface:MapDifferenceReturns an unmodifiable map containing the entries from the left map whose keys are not present in the right map.- Specified by:
entriesOnlyOnLeftin interfaceMapDifference<K extends @Nullable Object, V extends @Nullable Object>
-
entriesOnlyOnRight
Description copied from interface:MapDifferenceReturns an unmodifiable map containing the entries from the right map whose keys are not present in the left map.- Specified by:
entriesOnlyOnRightin interfaceMapDifference<K extends @Nullable Object, V extends @Nullable Object>
-
entriesInCommon
Description copied from interface:MapDifferenceReturns an unmodifiable map containing the entries that appear in both maps; that is, the intersection of the two maps.- Specified by:
entriesInCommonin interfaceMapDifference<K extends @Nullable Object, V extends @Nullable Object>
-
entriesDiffering
SortedMap<K, MapDifference.ValueDifference<V>> entriesDiffering()Description copied from interface:MapDifferenceReturns an unmodifiable map describing keys that appear in both maps, but with different values.- Specified by:
entriesDifferingin interfaceMapDifference<K extends @Nullable Object, V extends @Nullable Object>
-