01: /* ===========================================================================
02: * $RCSfile: Compare.java,v $
03: * ===========================================================================
04: *
05: * RetroGuard -- an obfuscation package for Java classfiles.
06: *
07: * Copyright (c) 1998-2006 Mark Welsh (markw@retrologic.com)
08: *
09: * This program can be redistributed and/or modified under the terms of the
10: * Version 2 of the GNU General Public License as published by the Free
11: * Software Foundation.
12: *
13: * This program is distributed in the hope that it will be useful,
14: * but WITHOUT ANY WARRANTY; without even the implied warranty of
15: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16: * GNU General Public License for more details.
17: *
18: */
19:
20: package COM.rl.util;
21:
22: /**
23: * Comparison interface used in sorting algorithms
24: *
25: * @see Sort
26: * @author Mark Welsh
27: */
28: public interface Compare {
29: /** Is first object less than second object? */
30: public boolean isLess(Object o1, Object o2);
31: }
|