org.apache.solr.handler.component

## Class PivotFacetFieldValueCollection.PivotFacetValueComparator

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

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

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

  Sorts `PivotFacetValue` instances by their value

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PivotFacetValueComparator()`

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

    - #### PivotFacetValueComparator

          public PivotFacetValueComparator()

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