commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1175251 - /commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/ComparatorFunction.java
Date Sat, 24 Sep 2011 20:37:41 GMT
Author: simonetripodi
Date: Sat Sep 24 20:37:40 2011
New Revision: 1175251

URL: http://svn.apache.org/viewvc?rev=1175251&view=rev
Log:
added missing javadoc comments

Modified:
    commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/ComparatorFunction.java

Modified: commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/ComparatorFunction.java
URL: http://svn.apache.org/viewvc/commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/ComparatorFunction.java?rev=1175251&r1=1175250&r2=1175251&view=diff
==============================================================================
--- commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/ComparatorFunction.java
(original)
+++ commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/ComparatorFunction.java
Sat Sep 24 20:37:40 2011
@@ -25,6 +25,7 @@ import org.apache.commons.functor.Binary
  * Adapts a {@link Comparator Comparator} to the
  * {@link BinaryFunction} interface.
  *
+ * @param <T> the binary function input types
  * @version $Revision$ $Date$
  * @author Rodney Waldhoff
  */
@@ -40,6 +41,9 @@ public final class ComparatorFunction<T>
      */
     private static final long serialVersionUID = 1642024869929206095L;
 
+    /**
+     * The comparator to wrap.
+     */
     private final Comparator<? super T> comparator;
 
     /**
@@ -92,6 +96,8 @@ public final class ComparatorFunction<T>
 
     /**
      * Get a basic ComparatorFunction instance.
+     *
+     * @param <T> the binary function input types
      * @return ComparatorFunction
      */
     @SuppressWarnings("unchecked")



Mime
View raw message