|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.xinapse.multisliceimage.roi.StatsComparator
public class StatsComparator
A Comparator used in sorting operations for ROIs based on their statistics.
| Constructor Summary | |
|---|---|
StatsComparator(StatsType statsType)
Create a new StatsComparator object, for sorting ROIs using the supplied type of statistic to determine the sort order. |
|
| Method Summary | |
|---|---|
int |
compare(ROI roi1,
ROI roi2)
Compares the statistics for two ROIs for order. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
equals |
| Constructor Detail |
|---|
public StatsComparator(StatsType statsType)
statsType - the StatsType on which to sort.| Method Detail |
|---|
public int compare(ROI roi1,
ROI roi2)
compare in interface java.util.Comparator<ROI>roi1 - the first ROI for which to compare statistics.roi2 - the second ROI for which to compare statistics.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||