laur.dm.ar
Interface CriteriaComparable

All Known Implementing Classes:
AssociationRule, Itemset

public interface CriteriaComparable

This interface is implemented by classes who accept a criteria int parameter to their compareTo() method.


Method Summary
 int compareTo(java.lang.Object obj, int criteria)
          Compare the receiver with the obj argument according to the criteria specified by criteria
 

Method Detail

compareTo

public int compareTo(java.lang.Object obj,
                     int criteria)
Compare the receiver with the obj argument according to the criteria specified by criteria
Returns:
-1 if this is less than obj, 0 if this is equal to obj, and 1 if this is greater than obj