|
Terrier IR Platform 2.2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.gla.terrier.structures.indexing.singlepass.RunsMerger.PostingComparator
public static class RunsMerger.PostingComparator
Implements a comparator for RunIterators (so it can be used by the queue). It decides the next reader by the lexicographical order of the terms in the top elements of the readers.
Constructor Summary | |
---|---|
RunsMerger.PostingComparator()
|
Method Summary | |
---|---|
int |
compare(RunIterator a,
RunIterator b)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
---|
equals |
Constructor Detail |
---|
public RunsMerger.PostingComparator()
Method Detail |
---|
public int compare(RunIterator a, RunIterator b)
compare
in interface java.util.Comparator<RunIterator>
|
Terrier IR Platform 2.2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |