org.jurvis.swing
Class JvPropertyComparator
java.lang.Object
org.jurvis.swing.JvPropertyComparator
- All Implemented Interfaces:
- Comparator
public class JvPropertyComparator
- extends Object
- implements Comparator
A comparator for comparing Property entries by key.
- Author:
- Neil W. Weber
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JvPropertyComparator
public JvPropertyComparator()
compare
public int compare(Object o1,
Object o2)
- Compares its two arguments for order. Returns a negative integer,
zero, or a positive integer as the first argument is less than, equal
to, or greater than the second.
- Specified by:
compare in interface Comparator
- Parameters:
o1 - the first object to be compared.o2 - the second object to be compared.
- Returns:
- a negative integer, zero, or a positive integer as the
first argument is less than, equal to, or greater than the
second.
Copyright © 1999-2004 Neil W. Weber. All Rights Reserved.