public class TokenPairKeyComparator extends Object implements org.apache.hadoop.io.RawComparator<org.apache.hadoop.io.BytesWritable>
Constructor and Description |
---|
TokenPairKeyComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2) |
int |
compare(org.apache.hadoop.io.BytesWritable o1,
org.apache.hadoop.io.BytesWritable o2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public TokenPairKeyComparator()
public int compare(org.apache.hadoop.io.BytesWritable o1, org.apache.hadoop.io.BytesWritable o2)
compare
in interface Comparator<org.apache.hadoop.io.BytesWritable>
public int compare(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2)
compare
in interface org.apache.hadoop.io.RawComparator<org.apache.hadoop.io.BytesWritable>