Class TotalInstructionComparator
java.lang.Object
org.eclipse.jface.viewers.ViewerComparator
org.eclipse.m2m.atl.profiler.ui.profilingdatatable.TotalInstructionComparator
public class TotalInstructionComparator
extends org.eclipse.jface.viewers.ViewerComparator
A comparator for instructions.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor, for ascendant sorting.TotalInstructionComparator(boolean asc) Constructor for ascendant or descendant sorting. -
Method Summary
Methods inherited from class org.eclipse.jface.viewers.ViewerComparator
category, getComparator, isSorterProperty, sort
-
Constructor Details
-
TotalInstructionComparator
public TotalInstructionComparator()Default constructor, for ascendant sorting. -
TotalInstructionComparator
public TotalInstructionComparator(boolean asc) Constructor for ascendant or descendant sorting.- Parameters:
asc- for ascendant or descendant sorting.
-
-
Method Details
-
compare
- Overrides:
comparein classorg.eclipse.jface.viewers.ViewerComparator- See Also:
-
ViewerComparator.compare(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object)
-