public class ItemTreeBuilder extends Object
| Constructor and Description |
|---|
ItemTreeBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static ITreeNode<IItem> |
buildEncapsulationTree(IItemCollection items,
boolean allowInstants)
Builds a tree where events that wrap other events, time wise, are higher up in the hierarchy.
|
static ITreeNode<IItem> |
buildEncapsulationTree(IItemCollection items,
boolean allowInstants,
boolean ignoreThread)
Builds a tree where events that wrap other events, time wise, are higher up in the hierarchy.
|
public static ITreeNode<IItem> buildEncapsulationTree(IItemCollection items, boolean allowInstants)
items - the items to build a tree fromallowInstants - true to allow instant events in the resulting treepublic static ITreeNode<IItem> buildEncapsulationTree(IItemCollection items, boolean allowInstants, boolean ignoreThread)
items - the items to build a tree fromallowInstants - true to allow instant events in the resulting treeignoreThread - true to make the algorithm not care about event thread, can be used for VM
level events. It's up to the caller to make sure this is safe to do.Copyright © 2020. All rights reserved.