org.apache.nutch.crawl
Class UrlWithScore.UrlScoreComparator.UrlOnlyComparator
java.lang.Object
org.apache.nutch.crawl.UrlWithScore.UrlScoreComparator.UrlOnlyComparator
- All Implemented Interfaces:
- Comparator<UrlWithScore>, RawComparator<UrlWithScore>
- Enclosing class:
- UrlWithScore.UrlScoreComparator
public static final class UrlWithScore.UrlScoreComparator.UrlOnlyComparator
- extends Object
- implements RawComparator<UrlWithScore>
Compares by {url}.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UrlWithScore.UrlScoreComparator.UrlOnlyComparator
public UrlWithScore.UrlScoreComparator.UrlOnlyComparator()
compare
public int compare(UrlWithScore o1,
UrlWithScore o2)
- Specified by:
compare
in interface Comparator<UrlWithScore>
compare
public int compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2)
- Specified by:
compare
in interface RawComparator<UrlWithScore>
Copyright © 2012 The Apache Software Foundation