Package org.apache.maven.doxia.tools

## Class ReportComparator

- java.lang.Object
- - org.apache.maven.doxia.tools.ReportComparator

All Implemented Interfaces:
  `java.util.Comparator<org.apache.maven.reporting.MavenReport>`

    public class ReportComparator
    extends java.lang.Object
    implements java.util.Comparator<org.apache.maven.reporting.MavenReport>

Sorts reports.

Version:
  $Id: ReportComparator.java 1060702 2011-01-19 07:40:28Z ltheussl $
Author:
  Brett Porter

### Constructor Summary

Constructors
`ReportComparator​(java.util.Locale locale)` Default constructor.

### Method Summary

All Methods Instance Methods Concrete Methods
`int` `compare​(org.apache.maven.reporting.MavenReport r1, org.apache.maven.reporting.MavenReport r2)`

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

### Constructor Detail

#### ReportComparator

    public ReportComparator​(java.util.Locale locale)

Default constructor.

Parameters:
  `locale` - not null

### Method Detail

#### compare

    public int compare​(org.apache.maven.reporting.MavenReport r1,
                       org.apache.maven.reporting.MavenReport r2)

Specified by:
  `compare` in interface `java.util.Comparator<org.apache.maven.reporting.MavenReport>`