nl.knowledgeplaza.util.comparators
Class ComparableComparator
java.lang.Object
nl.knowledgeplaza.util.comparators.ComparableComparator
- All Implemented Interfaces:
- Comparator
public class ComparableComparator
- extends Object
- implements Comparator
This class will compare two comparables.
These are most standard objects types like Integer, String, Double, etc.
- Version:
- $Revision: 1.2 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOURCECODE_VERSION
public static final String SOURCECODE_VERSION
- Standard variable for determining version of a class file.
- See Also:
- Constant Field Values
ComparableComparator
public ComparableComparator()
compare
public int compare(Object o1,
Object o2)
- Specified by:
compare in interface Comparator
Copyright © 2012 KnowledgePlaza. All Rights Reserved.