public static final class UrlWithScore.UrlScoreComparator extends java.lang.Object implements RawComparator<UrlWithScore>
Modifier and Type | Class and Description |
---|---|
static class |
UrlWithScore.UrlScoreComparator.UrlOnlyComparator
Compares by {url}.
|
Constructor and Description |
---|
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) |
public int compare(UrlWithScore o1, UrlWithScore o2)
compare
in interface java.util.Comparator<UrlWithScore>
public int compare(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2)
compare
in interface RawComparator<UrlWithScore>
Copyright © 2019 The Apache Software Foundation