public static final class UrlWithScore.UrlScoreComparator extends Object implements RawComparator<UrlWithScore>
| Modifier and Type | Class and Description |
|---|---|
static class |
UrlWithScore.UrlScoreComparator.UrlOnlyComparator
Compares by {url}.
|
| Constructor and Description |
|---|
UrlWithScore.UrlScoreComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2) |
int |
compare(UrlWithScore o1,
UrlWithScore o2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic int compare(UrlWithScore o1, UrlWithScore o2)
compare in interface Comparator<UrlWithScore>public int compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2)
compare in interface RawComparator<UrlWithScore>Copyright © 2015 The Apache Software Foundation