Class WeightedTreeGroupBy
java.lang.Object
org.eclipse.tracecompass.incubator.analysis.core.weighted.tree.WeightedTreeGroupBy
A class containing helper methods to group aggregated callgraph data by the
different available groups
- Author:
- Geneviève Bastien
-
Method Summary
Modifier and TypeMethodDescriptionstatic <@NonNull N,
E, T extends WeightedTree<@NonNull N>>
WeightedTreeSet<N,Object> groupWeightedTreeBy
(IWeightedTreeGroupDescriptor groupBy, IWeightedTreeSet<@NonNull N, E, T> weightedTreeSet, IWeightedTreeProvider<@NonNull N, E, T> provider) Group callgraph groups by one of the descriptor.
-
Method Details
-
groupWeightedTreeBy
public static <@NonNull N,E, WeightedTreeSet<N,T extends WeightedTree<@NonNull N>> Object> groupWeightedTreeBy(IWeightedTreeGroupDescriptor groupBy, IWeightedTreeSet<@NonNull N, E, T> weightedTreeSet, IWeightedTreeProvider<@NonNull N, E, T> provider) Group callgraph groups by one of the descriptor.- Type Parameters:
N
- The type of objects represented by each node in the treeE
- The type of elements used to group the trees. If this type extendsITree
, then the elements and their associated weighted trees will be grouped in a hierarchical styleT
- The type of the tree provided- Parameters:
groupBy
- The group descriptor by which to group the call graph elements.weightedTreeSet
- The weighted tree set to group trees forprovider
- The weighted tree provider- Returns:
- A weighted tree set that is the result of the grouping by the descriptor
-