public class PersistComparator
extends java.lang.Object
implements java.util.Comparator<byte[]>, java.io.Serializable
Constructor and Description |
---|
PersistComparator(PersistKeyBinding binding) |
Modifier and Type | Method and Description |
---|---|
int |
compare(byte[] b1,
byte[] b2) |
void |
initialize(java.lang.ClassLoader loader)
In BDB JE this method will be called after the comparator is
deserialized, including during recovery.
|
java.lang.String |
toString() |
public PersistComparator(PersistKeyBinding binding)
public void initialize(java.lang.ClassLoader loader)
public int compare(byte[] b1, byte[] b2)
compare
in interface java.util.Comparator<byte[]>
public java.lang.String toString()
toString
in class java.lang.Object