Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OKBJavaConnector/ECJClient/src/ec/util/SortComparator.java @ 12700

Last change on this file since 12700 was 6152, checked in by bfarka, 13 years ago

added ecj and custom statistics to communicate with the okb services #1441

File size: 577 bytes
Line 
1/*
2  Copyright 2006 by Sean Luke
3  Licensed under the Academic Free License version 3.0
4  See the file "LICENSE" for more information
5*/
6
7
8package ec.util;
9
10/*
11 * SortComparator.java
12 *
13 * Created: Wed Nov  3 16:10:02 1999
14 * By: Sean Luke
15 */
16
17/**
18 * The interface for passing objects to ec.util.QuickSort
19 *
20 * @author Sean Luke
21 * @version 1.0
22 */
23
24public interface SortComparator
25    {
26    /** Returns true if a < b, else false */
27    public boolean lt(Object a, Object b);
28
29    /** Returns true if a > b, else false */
30    public boolean gt(Object a, Object b);
31    }
Note: See TracBrowser for help on using the repository browser.