infomat.view.picture
Class SparsePixel.IMatrixCellWeightComparator

java.lang.Object
  extended by infomat.view.picture.SparsePixel.IMatrixCellWeightComparator
All Implemented Interfaces:
java.util.Comparator
Enclosing class:
SparsePixel

private class SparsePixel.IMatrixCellWeightComparator
extends java.lang.Object
implements java.util.Comparator


Constructor Summary
private SparsePixel.IMatrixCellWeightComparator()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
          Compares two IMatrixCells:s and returns 1, 0 or -1
 
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

SparsePixel.IMatrixCellWeightComparator

private SparsePixel.IMatrixCellWeightComparator()
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Compares two IMatrixCells:s and returns 1, 0 or -1

Specified by:
compare in interface java.util.Comparator
Parameters:
o1 - a IMatrixCell
o2 - a IMatrixCell
Returns:
int