Package com.google.caliper.memory.ObjectVisitor

Examples of com.google.caliper.memory.ObjectVisitor.Traversal


    if (rootObject != null) stack.push(Chain.root(rootObject));

    while (!stack.isEmpty()) {
      Chain chain = stack.pop();
      //the only place where the return value of visit() is considered
      Traversal traversal = visitor.visit(chain);
      switch (traversal) {
        case SKIP: continue;
        case EXPLORE: break;
        default: throw new AssertionError();
      }
View Full Code Here

TOP

Related Classes of com.google.caliper.memory.ObjectVisitor.Traversal

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.