org.sat4j.core
Class DefaultComparator<A extends Comparable<A>>
java.lang.Object
org.sat4j.core.DefaultComparator<A>
- Type Parameters:
A
- a class of Comparable objects.
- All Implemented Interfaces:
- Serializable, Comparator<A>
public final class DefaultComparator<A extends Comparable<A>>
- extends Object
- implements Comparator<A>, Serializable
A simple comparator for comparable objects.
- Author:
- daniel
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultComparator
public DefaultComparator()
compare
public int compare(A a,
A b)
- Specified by:
compare
in interface Comparator<A extends Comparable<A>>
Copyright © 2010 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.