Class JdkMapDiff<K,​T>

  • Type Parameters:
    T - the diffable object
    All Implemented Interfaces:
    Diff<Map<K,​T>>, Serializable

    public class JdkMapDiff<K,​T>
    extends MapDiff<K,​T,​Map<K,​T>>
    Represents differences between two Maps of (possibly diffable) objects.
    See Also:
    Serialized Form
    • Constructor Detail

      • JdkMapDiff

        public JdkMapDiff​(Map<K,​T> before,
                          Map<K,​T> after)
    • Method Detail

      • diff

        public static <K,​T> MapDiff<K,​T,​Map<K,​T>> diff​(Map<K,​T> before,
                                                                               Map<K,​T> after)
      • apply

        public Map<K,​T> apply​(Map<K,​T> map)
        Description copied from interface: Diff
        Applies difference to the specified part and returns the resulted part