Made NaturalComparator member class static.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141354 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e403d2df9c
commit
b77e14987d
|
@ -35,7 +35,7 @@ import java.util.TreeMap;
|
|||
* The values are ordered using the default (natural order), unless a
|
||||
* <code>Comparator</code>is supplied in the constructor.
|
||||
*
|
||||
* @version $Revision: 1.24 $ $Date: 2004/06/23 16:26:17 $
|
||||
* @version $Revision: 1.25 $ $Date: 2004/07/02 05:27:41 $
|
||||
*/
|
||||
public class Frequency implements Serializable {
|
||||
|
||||
|
@ -398,7 +398,7 @@ public class Frequency implements Serializable {
|
|||
* A Comparator that compares comparable objects using the
|
||||
* natural order. Copied from Commons Collections ComparableComparator.
|
||||
*/
|
||||
private class NaturalComparator implements Comparator {
|
||||
private static class NaturalComparator implements Comparator {
|
||||
/**
|
||||
* Compare the two {@link Comparable Comparable} arguments.
|
||||
* This method is equivalent to:
|
||||
|
|
Loading…
Reference in New Issue