| java.lang.Object jdbm.helper.StringComparator
StringComparator | final public class StringComparator implements Comparator,Serializable(Code) | | Comparator for String objects. Delegates to String.compareTo().
author: Alex Boisvert version: $Id: StringComparator.java,v 1.5 2005/06/25 23:12:31 doomdark Exp $ |
serialVersionUID | final static long serialVersionUID(Code) | | Version id for serialization.
|
compare | public int compare(Object obj1, Object obj2)(Code) | | Compare two objects.
Parameters: obj1 - First object Parameters: obj2 - Second object a positive integer if obj1 > obj2, 0 if obj1 == obj2,and a negative integer if obj1 < obj2 |
|
|