use of com.android.tools.idea.editors.hprof.views.nodedata.HeapPackageNode in project android by JetBrains.
the class ClassesTreeView method sortTree.
private void sortTree(@NotNull HeapPackageNode parent) {
if (parent.isLeaf() || myComparator == null) {
return;
}
List<HeapNode> children = parent.getChildren();
Collections.sort(children, myComparator);
for (HeapNode child : children) {
if (child instanceof HeapPackageNode) {
sortTree((HeapPackageNode) child);
}
}
}
Aggregations