public final class Node
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) int |
count
The number of times being the top frame.
|
(package private) int |
cumulativeCount
The number of times found in any stack-trace.
|
(package private) double |
cumulativeWeight
The cumulative weight for all contributions.
|
private AggregatableFrame |
frame
The frame associated with this node.
|
private java.lang.Integer |
nodeId
Integer uniquely identifying this node within the graph instance.
|
(package private) double |
weight
The weight when being the top frame.
|
Constructor and Description |
---|
Node(java.lang.Integer nodeId,
AggregatableFrame frame) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getCount() |
int |
getCumulativeCount() |
AggregatableFrame |
getFrame() |
java.lang.Integer |
getNodeId() |
double |
getWeight() |
int |
hashCode() |
java.lang.String |
toString() |
private final java.lang.Integer nodeId
private final AggregatableFrame frame
int count
int cumulativeCount
double weight
double cumulativeWeight
public Node(java.lang.Integer nodeId, AggregatableFrame frame)
public int getCount()
public double getWeight()
public int getCumulativeCount()
public AggregatableFrame getFrame()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.Integer getNodeId()
public java.lang.String toString()
toString
in class java.lang.Object