public static class InvertedIndex.InvertedIndexValue.Comparator extends java.lang.Object implements org.apache.hadoop.io.RawComparator<InvertedIndex.InvertedIndexValue>
| Constructor and Description |
|---|
InvertedIndex.InvertedIndexValue.Comparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2) |
int |
compare(InvertedIndex.InvertedIndexValue a, InvertedIndex.InvertedIndexValue b) |
public InvertedIndex.InvertedIndexValue.Comparator()
public int compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2)
compare in interface org.apache.hadoop.io.RawComparator<InvertedIndex.InvertedIndexValue>public int compare(InvertedIndex.InvertedIndexValue a, InvertedIndex.InvertedIndexValue b)
compare in interface java.util.Comparator<InvertedIndex.InvertedIndexValue>