org.hibernate.search.query.collector.impl
Class FacetCollector.FacetEntryComparator

java.lang.Object
  extended by org.hibernate.search.query.collector.impl.FacetCollector.FacetEntryComparator
All Implemented Interfaces:
Serializable, Comparator<Map.Entry<String,Integer>>
Enclosing class:
FacetCollector

public static class FacetCollector.FacetEntryComparator
extends Object
implements Comparator<Map.Entry<String,Integer>>, Serializable

See Also:
Serialized Form

Constructor Summary
FacetCollector.FacetEntryComparator(FacetSortOrder sortOrder)
           
 
Method Summary
 int compare(Map.Entry<String,Integer> entry1, Map.Entry<String,Integer> entry2)
           
 
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

FacetCollector.FacetEntryComparator

public FacetCollector.FacetEntryComparator(FacetSortOrder sortOrder)
Method Detail

compare

public int compare(Map.Entry<String,Integer> entry1,
                   Map.Entry<String,Integer> entry2)
Specified by:
compare in interface Comparator<Map.Entry<String,Integer>>


Copyright © 2006-2013 Red Hat, Inc. All Rights Reserved