Module org.apache.lucene.grouping
Class SearchGroup.GroupComparator<T>
java.lang.Object
org.apache.lucene.search.grouping.SearchGroup.GroupComparator<T>
- All Implemented Interfaces:
Comparator<SearchGroup.MergedGroup<T>>
- Enclosing class:
- SearchGroup<T>
private static class SearchGroup.GroupComparator<T>
extends Object
implements Comparator<SearchGroup.MergedGroup<T>>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
compare
(SearchGroup.MergedGroup<T> group, SearchGroup.MergedGroup<T> other) 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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
comparators
-
reversed
public final int[] reversed
-
-
Constructor Details
-
GroupComparator
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<T>
-