Package de.danielbechler.diff.differ

Examples of de.danielbechler.diff.differ.DifferProvider


    return startBuilding().build();
  }

  public ObjectDiffer build()
  {
    final DifferProvider differProvider = new DifferProvider();
    final DifferDispatcher differDispatcher = new DifferDispatcher(
        differProvider,
        circularReferenceService,
        circularReferenceService,
        inclusionService,
        returnableNodeService,
        introspectionService);
    differProvider.push(new BeanDiffer(differDispatcher, introspectionService, returnableNodeService, comparisonService, introspectionService));
    differProvider.push(new CollectionDiffer(differDispatcher, comparisonService));
    differProvider.push(new MapDiffer(differDispatcher, comparisonService));
    differProvider.push(new PrimitiveDiffer(comparisonService));
    for (final DifferFactory differFactory : differFactories)
    {
      differProvider.push(differFactory.createDiffer(differDispatcher, nodeQueryService));
    }
    return new ObjectDiffer(differDispatcher);
  }
View Full Code Here

TOP

Related Classes of de.danielbechler.diff.differ.DifferProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.