Class NodeCoordinates

java.lang.Object
com.pnfsoftware.jeb.core.output.tree.impl.NodeCoordinates
All Implemented Interfaces:
INodeCoordinates

@Ser public class NodeCoordinates extends Object implements INodeCoordinates
A simple implementation of node coordinates.
  • Constructor Details

    • NodeCoordinates

      public NodeCoordinates(List<Integer> path)
  • Method Details

    • getPath

      public List<Integer> getPath()
      Description copied from interface: INodeCoordinates
      Return the path of the node being addressed. A path is a tuple of positions in each of the branch leading from the root to the node.
      Specified by:
      getPath in interface INodeCoordinates
      Returns:
      the path or null, see description above
    • toString

      public String toString()
      Overrides:
      toString in class Object