de.esprit.common.util

## Class ReverseComparator

- java.lang.Object
- - de.esprit.common.util.ReverseComparator

- All Implemented Interfaces:
    java.util.Comparator

      public class ReverseComparator
      extends java.lang.Object
      implements java.util.Comparator

  This Comparator reverses the sort order of the given Comparator
  Author:
    Rainer Buesch

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ReverseComparator(java.util.Comparator cmp)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(java.lang.Object o1, java.lang.Object 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

      `equals`

- - ### Constructor Detail

    - #### ReverseComparator

          public ReverseComparator(java.util.Comparator cmp)

  - ### Method Detail

    - #### compare

          public int compare(java.lang.Object o1,
                    java.lang.Object o2)

      Specified by:
        `compare` in interface `java.util.Comparator`

Copyright © 2014 EsprIT-Systems. All Rights Reserved.