Package de.danielbechler.diff.node

Examples of de.danielbechler.diff.node.DiffNode.visitChildren()


    working.put(16, "Jarrah");
    working.put(23, "Shephard");
    working.put(42, "Kwon");

    final DiffNode mapNode = ObjectDifferBuilder.buildDefault().compare(working, base);
    mapNode.visitChildren(new DiffNode.Visitor()
    {
      public void node(final DiffNode node, final Visit visit)
      {
        final Object key = ((MapKeyElementSelector) node.getElementSelector()).getKey();
        //                 ^^^ I do not encourage this, but currently it's the only way
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.