javadoc clarification

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130621 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Morgan James Delagrange 2002-03-01 18:58:05 +00:00
parent 0d95977a69
commit 28a71ba3ba
1 changed files with 3 additions and 1 deletions

View File

@ -60,7 +60,7 @@ import java.util.Comparator;
* Reverses the order of another comparator. * Reverses the order of another comparator.
* *
* @author bayard@generationjava.com * @author bayard@generationjava.com
* @version $Id: ReverseComparator.java,v 1.2 2002/03/01 18:56:53 morgand Exp $ * @version $Id: ReverseComparator.java,v 1.3 2002/03/01 18:58:05 morgand Exp $
*/ */
public class ReverseComparator implements Comparator { public class ReverseComparator implements Comparator {
@ -70,6 +70,8 @@ public class ReverseComparator implements Comparator {
* Creates a reverse comparator that will invert any List. * Creates a reverse comparator that will invert any List.
* It merely reverses the existing order; it does not * It merely reverses the existing order; it does not
* reorder the List according to reverse "natural" order. * reorder the List according to reverse "natural" order.
* In many cases, a better alternative to this is
* the reverse(List) method of java.util.Collection.
*/ */
public ReverseComparator() { public ReverseComparator() {
} }