org.apache.solr.handler.component

## Class PivotFacetFieldValueCollection.PivotFacetCountComparator

- java.lang.Object
- - org.apache.solr.handler.component.PivotFacetFieldValueCollection.PivotFacetCountComparator

- All Implemented Interfaces:
    Comparator<PivotFacetValue>
  Enclosing class:
    PivotFacetFieldValueCollection

      public class PivotFacetFieldValueCollection.PivotFacetCountComparator
      extends Object
      implements Comparator<PivotFacetValue>

  Sorts `PivotFacetValue` instances by their count

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PivotFacetCountComparator()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(PivotFacetValue left, PivotFacetValue right)`

    - ### 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

      `comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong`

- - ### Constructor Detail

    - #### PivotFacetCountComparator

          public PivotFacetCountComparator()

  - ### Method Detail

    - #### compare

          public int compare(PivotFacetValue left,
                             PivotFacetValue right)

      Specified by:
        `compare` in interface `Comparator<PivotFacetValue>`

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.