org.apache.hadoop.tools.rumen
Class TreePath
java.lang.Object
org.apache.hadoop.tools.rumen.TreePath
public class TreePath
- extends Object
This describes a path from a node to the root. We use it when we compare two
trees during rumen unit tests. If the trees are not identical, this chain
will be converted to a string which describes the path from the root to the
fields that did not compare.
TreePath
public TreePath(TreePath parent,
String fieldName)
TreePath
public TreePath(TreePath parent,
String fieldName,
int index)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009 The Apache Software Foundation