commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1180229 - /commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/UnaryCompositeBinaryFunction.java
Date Fri, 07 Oct 2011 20:51:44 GMT
Author: simonetripodi
Date: Fri Oct  7 20:51:44 2011
New Revision: 1180229

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

Modified:
    commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/UnaryCompositeBinaryFunction.java

Modified: commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/UnaryCompositeBinaryFunction.java
URL: http://svn.apache.org/viewvc/commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/UnaryCompositeBinaryFunction.java?rev=1180229&r1=1180228&r2=1180229&view=diff
==============================================================================
--- commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/UnaryCompositeBinaryFunction.java
(original)
+++ commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/UnaryCompositeBinaryFunction.java
Fri Oct  7 20:51:44 2011
@@ -35,6 +35,9 @@ import org.apache.commons.functor.UnaryF
  * an instance whose delegates are not all
  * <code>Serializable</code> will result in an exception.
  * </p>
+ * @param <L> the left argument type.
+ * @param <R> the right argument type.
+ * @param <T> the returned value type.
  * @version $Revision$ $Date$
  * @author Rodney Waldhoff
  */
@@ -45,13 +48,31 @@ public class UnaryCompositeBinaryFunctio
      */
     private static final long serialVersionUID = 264219357293822629L;
 
+    /**
+     *
+     *
+     * @param <G> the adapted function left argument type.
+     * @param <H> the adapted function right argument type.
+     * @param <L> the left argument type.
+     * @param <R> the right argument type.
+     * @param <T> the returned value type.
+     */
     private static class Helper<G, H, L, R, T> implements BinaryFunction<L, R, T>,
Serializable {
         /**
          * serialVersionUID declaration.
          */
         private static final long serialVersionUID = 4513309646430305164L;
+        /**
+         * The adapted function to receive <code>(output(g), output(h))</code>.
+         */
         private BinaryFunction<? super G, ? super H, ? extends T> f;
+        /**
+         * The adapted left function.
+         */
         private UnaryFunction<? super L, ? extends G> g;
+        /**
+         * The adapted right function.
+         */
         private UnaryFunction<? super R, ? extends H> h;
 
         /**
@@ -75,12 +96,18 @@ public class UnaryCompositeBinaryFunctio
         }
     }
 
+    /**
+     * The adapted helper.
+     */
     private final Helper<?, ?, L, R, T> helper;
 
     // constructor
     // ------------------------------------------------------------------------
     /**
      * Create a new UnaryCompositeBinaryFunction.
+     *
+     * @param <G> the adapted function left argument type.
+     * @param <H> the adapted function right argument type.
      * @param f BinaryFunction to receive <code>(output(g), output(h))</code>
      * @param g left UnaryFunction
      * @param h right UnaryFunction



Mime
View raw message