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
    • Method Detail

      • entriesOnlyOnLeft

        java.util.SortedMap<K,​VentriesOnlyOnLeft()
        Description copied from interface: MapDifference
        Returns an unmodifiable map containing the entries from the left map whose keys are not present in the right map.
        Specified by:
        entriesOnlyOnLeft in interface MapDifference<K extends @Nullable java.lang.Object,​V extends @Nullable java.lang.Object>
      • entriesOnlyOnRight

        java.util.SortedMap<K,​VentriesOnlyOnRight()
        Description copied from interface: MapDifference
        Returns an unmodifiable map containing the entries from the right map whose keys are not present in the left map.
        Specified by:
        entriesOnlyOnRight in interface MapDifference<K extends @Nullable java.lang.Object,​V extends @Nullable java.lang.Object>
      • entriesInCommon

        java.util.SortedMap<K,​VentriesInCommon()
        Description copied from interface: MapDifference
        Returns an unmodifiable map containing the entries that appear in both maps; that is, the intersection of the two maps.
        Specified by:
        entriesInCommon in interface MapDifference<K extends @Nullable java.lang.Object,​V extends @Nullable java.lang.Object>