edu.mayo.informatics.indexer.lucene.hitcollector
Class AbstractBestScoreOfEntityHitCollector.ScoreComparator

java.lang.Object
  extended by edu.mayo.informatics.indexer.lucene.hitcollector.AbstractBestScoreOfEntityHitCollector.ScoreComparator
All Implemented Interfaces:
java.util.Comparator<org.apache.lucene.search.ScoreDoc>
Enclosing class:
AbstractBestScoreOfEntityHitCollector<T>

protected static class AbstractBestScoreOfEntityHitCollector.ScoreComparator
extends java.lang.Object
implements java.util.Comparator<org.apache.lucene.search.ScoreDoc>

The Class ScoreComparator.

Author:
Kevin Peterson

Constructor Summary
protected AbstractBestScoreOfEntityHitCollector.ScoreComparator()
           
 
Method Summary
 int compare(org.apache.lucene.search.ScoreDoc i, org.apache.lucene.search.ScoreDoc j)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

AbstractBestScoreOfEntityHitCollector.ScoreComparator

protected AbstractBestScoreOfEntityHitCollector.ScoreComparator()
Method Detail

compare

public int compare(org.apache.lucene.search.ScoreDoc i,
                   org.apache.lucene.search.ScoreDoc j)
Specified by:
compare in interface java.util.Comparator<org.apache.lucene.search.ScoreDoc>

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.