org.hibernate.search.query.engine.impl

## Class FacetComparators.FacetComparator

- java.lang.Object
- - org.hibernate.search.query.engine.impl.FacetComparators.FacetComparator

- All Implemented Interfaces:
    Serializable, Comparator<Facet>
  Enclosing class:
    FacetComparators

      public static class FacetComparators.FacetComparator
      extends Object
      implements Comparator<Facet>, Serializable

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FacetComparator(FacetSortOrder sortOrder)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(Facet facet1, Facet facet2)`

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

    - #### FacetComparator

          public FacetComparator(FacetSortOrder sortOrder)

  - ### Method Detail

    - #### compare

          public int compare(Facet facet1,
                             Facet facet2)

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

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