fi.hut.tml.xsmiles.mlfc.general
Interface Comparer

All Known Implementing Classes:
XSmilesCSSRuleListImpl.CSSComparer

public interface Comparer

A comparer performs a comparison of two objects.

Author:
Sergey Melnik

Method Summary
 int compare(java.lang.Object handle, java.lang.Object o1, java.lang.Object o2)
          Handle is used e.g.
 

Method Detail

compare

public int compare(java.lang.Object handle,
                   java.lang.Object o1,
                   java.lang.Object o2)
Handle is used e.g. to distinguish different types of sorting or just passed as an additional parameter. <0: o1 < o2 0: o1 = o2 >0: o1 > o2



X-Smiles 1.2