Class HierarchicalWrapperComparator

java.lang.Object
org.eclipse.nebula.widgets.nattable.hierarchical.HierarchicalWrapperComparator
All Implemented Interfaces:
Comparator<HierarchicalWrapper>

public class HierarchicalWrapperComparator extends Object implements Comparator<HierarchicalWrapper>
Comparator for collections of HierarchicalWrapper. Ensures that the objects are ordered in a way that the expected tree structure is kept. Additionally provides a way to sort by column if an ISortModel is set, by still keeping the tree structure. That means in deeper levels of the tree, only the sub nodes are sorted, not the tree itself is changed.
Since:
1.6