Package com.google.common.collect
Interface SortedMapDifference<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
- 
- All Superinterfaces:
- MapDifference<K,V>
 
 @GwtCompatible public interface SortedMapDifference<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.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 com.google.common.collect.MapDifferenceMapDifference.ValueDifference<V extends @Nullable java.lang.Object>
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.SortedMap<K,MapDifference.ValueDifference<V>>entriesDiffering()Returns an unmodifiable map describing keys that appear in both maps, but with different values.java.util.SortedMap<K,V>entriesInCommon()Returns an unmodifiable map containing the entries that appear in both maps; that is, the intersection of the two maps.java.util.SortedMap<K,V>entriesOnlyOnLeft()Returns an unmodifiable map containing the entries from the left map whose keys are not present in the right map.java.util.SortedMap<K,V>entriesOnlyOnRight()Returns an unmodifiable map containing the entries from the right map whose keys are not present in the left map.- 
Methods inherited from interface com.google.common.collect.MapDifferenceareEqual, equals, hashCode
 
- 
 
- 
- 
- 
Method Detail- 
entriesOnlyOnLeftjava.util.SortedMap<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 interface- MapDifference<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
 
 - 
entriesOnlyOnRightjava.util.SortedMap<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 interface- MapDifference<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
 
 - 
entriesInCommonjava.util.SortedMap<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 interface- MapDifference<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
 
 - 
entriesDifferingjava.util.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 interface- MapDifference<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
 
 
- 
 
-