@InterfaceAudience.Public @InterfaceStability.Stable public static class Bytes.RowEndKeyComparator extends Bytes.ByteArrayComparator
Bytes.ByteArrayComparator that treats the empty array as the largest value.
 This is useful for comparing row end keys for regions.| Constructor and Description | 
|---|
RowEndKeyComparator()  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
compare(byte[] left,
       byte[] right)  | 
int | 
compare(byte[] b1,
       int s1,
       int l1,
       byte[] b2,
       int s2,
       int l2)  | 
public int compare(byte[] left,
                   byte[] right)
compare in class Bytes.ByteArrayComparatorpublic int compare(byte[] b1,
                   int s1,
                   int l1,
                   byte[] b2,
                   int s2,
                   int l2)
compare in class Bytes.ByteArrayComparator