01: // $Id: DxStandardComparator.java,v 1.1 2001/12/18 10:31:30 per_nyfelt Exp $
02:
03: package org.ozoneDB.DxLib;
04:
05: import java.io.*;
06:
07: /**
08: * @author <a href="http://www.softwarebuero.de/">SMB</a>
09: * @version $Revision: 1.1 $Date: 2001/12/18 10:31:30 $
10: */
11: public final class DxStandardComparator extends DxComparator {
12:
13: final static long serialVersionUID = 1L;
14:
15: public boolean compareEquals(Object obj1, Object obj2) {
16: return ((DxCompatible) obj1).equals((DxCompatible) obj2);
17: }
18:
19: public boolean compareIsLess(Object obj1, Object obj2) {
20: return ((DxCompatible) obj1).isLess((DxCompatible) obj2);
21: }
22: }
|