edu.ufl.hcs.ppw.pdm.highlevel.StatComparator Class Reference

An abstract class used to build comparators that compare stat data objects. More...

Inherited by edu.ufl.hcs.ppw.vis.pcharts.ProgramSpeedupStackedBarChart.ProgramSpeedupStackedBarChart.MyStatComparator, and edu.ufl.hcs.ppw.vis.TextProfTable.TextProfTable.MyStatComparator.

List of all members.

Public Member Functions

int compareStatInclusiveSums (StatData s1, StatData s2)
 Compares two stats' inclusive sums.
int compareStatExclusiveSums (StatData s1, StatData s2)
 Compares two stats' exclusive sums.


Detailed Description

An abstract class used to build comparators that compare stat data objects.

This is meant to be subclassed in several different ways (eg, by the HighLevelPDM), and is exported here so that the functionality may be reused in other places where one may need to compare stat objects in various ways.

Many of the methods are useful in places not necessarily related to sorting, so they are also declared to be static.

Author:
Adam Leko

The documentation for this class was generated from the following file:

Generated on Sat Sep 29 08:46:42 2012 for PPW by  doxygen 1.5.8