Package com.google.common.collect
Class Maps.SortedMapDifferenceImpl<K,V>
java.lang.Object
com.google.common.collect.Maps.MapDifferenceImpl<K,V>
com.google.common.collect.Maps.SortedMapDifferenceImpl<K,V>
- All Implemented Interfaces:
MapDifference<K,,V> SortedMapDifference<K,V>
- Enclosing class:
- Maps
static class Maps.SortedMapDifferenceImpl<K,V>
extends Maps.MapDifferenceImpl<K,V>
implements SortedMapDifference<K,V>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.google.common.collect.MapDifference
MapDifference.ValueDifference<V> -
Field Summary
Fields inherited from class com.google.common.collect.Maps.MapDifferenceImpl
differences, onBoth, onlyOnLeft, onlyOnRight -
Constructor Summary
Constructors -
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 class com.google.common.collect.Maps.MapDifferenceImpl
areEqual, equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.common.collect.MapDifference
areEqual, equals, hashCode
-
Constructor Details
-
SortedMapDifferenceImpl
-
-
Method Details
-
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,V> - Specified by:
entriesDifferingin interfaceSortedMapDifference<K,V> - Overrides:
entriesDifferingin classMaps.MapDifferenceImpl<K,V>
-
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,V> - Specified by:
entriesInCommonin interfaceSortedMapDifference<K,V> - Overrides:
entriesInCommonin classMaps.MapDifferenceImpl<K,V>
-
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,V> - Specified by:
entriesOnlyOnLeftin interfaceSortedMapDifference<K,V> - Overrides:
entriesOnlyOnLeftin classMaps.MapDifferenceImpl<K,V>
-
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,V> - Specified by:
entriesOnlyOnRightin interfaceSortedMapDifference<K,V> - Overrides:
entriesOnlyOnRightin classMaps.MapDifferenceImpl<K,V>
-