commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1175261 - /commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/Max.java
Date Sat, 24 Sep 2011 21:02:34 GMT
Author: simonetripodi
Date: Sat Sep 24 21:02:34 2011
New Revision: 1175261

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

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

Modified: commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/Max.java
URL: http://svn.apache.org/viewvc/commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/Max.java?rev=1175261&r1=1175260&r2=1175261&view=diff
==============================================================================
--- commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/Max.java
(original)
+++ commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/Max.java
Sat Sep 24 21:02:34 2011
@@ -27,6 +27,7 @@ import org.apache.commons.functor.adapte
  * Adapts a {@link Comparator Comparator} to the
  * {@link BinaryFunction} interface.
  *
+ * @param T the binary function arguments and return types.
  * @version $Revision$ $Date$
  * @author Rodney Waldhoff
  */
@@ -42,6 +43,9 @@ public final class Max<T> implements Bin
      */
     private static final long serialVersionUID = 6514424464263828685L;
 
+    /**
+     * The wrapped comparator.
+     */
     private final Comparator<T> comparator;
 
     /**
@@ -102,6 +106,8 @@ public final class Max<T> implements Bin
 
     /**
      * Get a Max instance.
+     *
+     * @param T the binary function arguments and return types.
      * @return Max
      */
     public static <T extends Comparable<?>> Max<T> instance() {
@@ -110,6 +116,8 @@ public final class Max<T> implements Bin
 
     /**
      * Get a Max UnaryFunction.
+     *
+     * @param T the binary function arguments and return types.
      * @param right the right side argument of the Max function
      * @return UnaryFunction<T, T>
      */



Mime
View raw message