return false;
}
public Object getValueAt(int rowIndex, int columnIndex) {
StackTreeNode node = (StackTreeNode) children.get(rowIndex);
MethodKey methodKey = node.getMethodKey();
if (methodKey == null) {
return "?";
}
switch (columnIndex) {
case 0:
return methodKey.getClassName();
case 1:
return methodKey.getMethodName();
case 2:
return methodKey.getPrettySignature();
case 3:
return new Long(node.getTotalEnters());
case 4:
return new Long(node.getTotalExits());
case 5:
return new Long(node.getTotalErrors());
case 6:
return new Integer(node.getMaxConcurrentThreads());
case 7:
return new Long(node.getTotalDuration(TimeUnit.MS));
case 8:
return node.getAverageDuration(TimeUnit.MS);
case 9:
return node.getStdDeviation();
case 10:
return node.getMinDuration(TimeUnit.MS);
case 11:
return node.getMaxDuration(TimeUnit.MS);
case 12:
return (rowIndex == 0) ? parentTotalDurationPercent : new Percent(node.getPctOfAvgParentDuration());
}
return null;
}