com.gisgraphy.fulltext
Class SolrResponseDtoDistanceComparator

java.lang.Object
  extended by com.gisgraphy.fulltext.SolrResponseDtoDistanceComparator
All Implemented Interfaces:
Comparator<com.gisgraphy.fulltext.SolrResponseDto>

public class SolrResponseDtoDistanceComparator
extends Object
implements Comparator<com.gisgraphy.fulltext.SolrResponseDto>


Constructor Summary
SolrResponseDtoDistanceComparator()
           
 
Method Summary
 int compare(com.gisgraphy.fulltext.SolrResponseDto o1, com.gisgraphy.fulltext.SolrResponseDto o2)
           
 
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

SolrResponseDtoDistanceComparator

public SolrResponseDtoDistanceComparator()
Method Detail

compare

public int compare(com.gisgraphy.fulltext.SolrResponseDto o1,
                   com.gisgraphy.fulltext.SolrResponseDto o2)
Specified by:
compare in interface Comparator<com.gisgraphy.fulltext.SolrResponseDto>


Copyright © 2012. All Rights Reserved.