return false;
}
public final DiffNode compare(final DiffNode parentNode, final Instances instances)
{
final DiffNode mapNode = new DiffNode(parentNode, instances.getSourceAccessor(), instances.getType());
if (instances.hasBeenAdded())
{
compareEntries(mapNode, instances, instances.getWorking(Map.class).keySet());
mapNode.setState(DiffNode.State.ADDED);
}
else if (instances.hasBeenRemoved())
{
compareEntries(mapNode, instances, instances.getBase(Map.class).keySet());
mapNode.setState(DiffNode.State.REMOVED);
}
else if (instances.areSame())
{
mapNode.setState(DiffNode.State.UNTOUCHED);
}
else if (comparisonStrategyResolver.resolveComparisonStrategy(mapNode) != null)
{
comparisonStrategyResolver.resolveComparisonStrategy(mapNode).compare(mapNode, instances.getType(), instances.getWorking(Map.class), instances.getBase(Map.class));
}