Package org.silverpeas.components.quickinfo.service

## Class QuickInfoDateComparatorDesc

- java.lang.Object
- - org.silverpeas.components.quickinfo.service.QuickInfoDateComparatorDesc

- All Implemented Interfaces:
    `Comparator<News>`

      public class QuickInfoDateComparatorDesc
      extends Object
      implements Comparator<News>

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static QuickInfoDateComparatorDesc` | `comparator` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `QuickInfoDateComparatorDesc()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `compare​(News pd1, News pd2)` | This result is reversed as we want a descending sort.

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

    - #### comparator

          public static final QuickInfoDateComparatorDesc comparator

  - ### Constructor Detail

    - #### QuickInfoDateComparatorDesc

          public QuickInfoDateComparatorDesc()

  - ### Method Detail

    - #### compare

          public int compare​(News pd1,
                             News pd2)

      This result is reversed as we want a descending sort.
      Specified by:
        `compare` in interface `Comparator<News>`