| java.lang.Object jdbm.helper.ByteArrayComparator
ByteArrayComparator | final public class ByteArrayComparator implements Comparator,Serializable(Code) | | Comparator for byte arrays.
author: Alex Boisvert version: $Id: ByteArrayComparator.java,v 1.4 2002/05/31 06:33:20 boisvert 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 |
compareByteArray | public static int compareByteArray(byte[] thisKey, byte[] otherKey)(Code) | | Compare two byte arrays.
|
|
|