Class MapDifferenceNode

java.lang.Object
de.serra.so_dirty.difference.MapDifferenceNode
All Implemented Interfaces:
DifferenceNode, Iterable<DifferenceNode>

public class MapDifferenceNode extends Object implements DifferenceNode
Differences of a Map.
Author:
Peter Lamby
  • Constructor Details

    • MapDifferenceNode

      public MapDifferenceNode(String name, @Nullable Set<DifferenceType> types, int removedKeys, int addedKeys, Map<@Nullable Object,DifferenceNode> differentValues)
      Constructs.
      Parameters:
      name - The relative path of this difference.
      types - The types of difference for this node. Can be null.
      removedKeys - How many keys were removed.
      addedKeys - How many keys were added.
      differentValues - The map entries where the value has changed.
  • Method Details