com.ansys.ingress.client.api.search

## Class RepositorySearchResultComparator

- java.lang.Object
- - com.ansys.ingress.client.api.search.RepositorySearchResultComparator

- All Implemented Interfaces:
    com.ansys.ingress.commons.search.SearchResultComparator<RepositorySearchResult>, java.util.Comparator<RepositorySearchResult>

      public class RepositorySearchResultComparator
      extends java.lang.Object
      implements com.ansys.ingress.commons.search.SearchResultComparator<RepositorySearchResult>

  RepositorySearchResultComparator is used to compare two search results.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RepositorySearchResultComparator()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(RepositorySearchResult o1, RepositorySearchResult o2)`

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

    - #### RepositorySearchResultComparator

          public RepositorySearchResultComparator()

  - ### Method Detail

    - #### compare

          public int compare(RepositorySearchResult o1,
                             RepositorySearchResult o2)

      Specified by:
        `compare` in interface `java.util.Comparator<RepositorySearchResult>`