commons-commits mailing list archives

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

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

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

Modified: commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/Min.java
URL: http://svn.apache.org/viewvc/commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/Min.java?rev=1175263&r1=1175262&r2=1175263&view=diff
==============================================================================
--- commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/Min.java
(original)
+++ commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/Min.java
Sat Sep 24 21:05:08 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 Min<T> implements Bin
      */
     private static final long serialVersionUID = 9190170976707323848L;
 
+    /**
+     * The wrapped comparator.
+     */
     private final Comparator<T> comparator;
 
     /**
@@ -102,6 +106,8 @@ public final class Min<T> implements Bin
 
     /**
      * Get a basic Min instance.
+     *
+     * @param T the binary function arguments and return types.
      * @return Min
      */
     public static <T extends Comparable<?>> Min<T> instance() {
@@ -110,6 +116,8 @@ public final class Min<T> implements Bin
 
     /**
      * Get a Min UnaryFunction.
+     *
+     * @param T the binary function arguments and return types.
      * @param right the right side argument of the Min function
      * @return UnaryFunction<T, T>
      */



Mime
View raw message