Class Node


  • public final class Node
    extends java.lang.Object
    A node in the graph of aggregated stack traces.
    • Method Detail

      • getNodeId

        public java.lang.Integer getNodeId()
        Returns:
        the unique identifier associated with this node.
      • getWeight

        public double getWeight()
        Returns:
        the weight of this node.
      • getCumulativeWeight

        public double getCumulativeWeight()
        Returns:
        the cumulative weight of this node.
      • getFrame

        public AggregatableFrame getFrame()
        Returns:
        the frame corresponding to this node.
      • getChildren

        public java.util.List<Node> getChildren()
        Returns:
        the list of child nodes, in order of appearance.
      • getParent

        public Node getParent()
        Returns:
        the parent node or null when root.
      • isRoot

        public boolean isRoot()
      • isLeaf

        public boolean isLeaf()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object