You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2011/10/07 22:02:38 UTC
svn commit: r1180193 -
/commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransformedBinaryFunction.java
Author: simonetripodi
Date: Fri Oct 7 20:02:37 2011
New Revision: 1180193
URL: http://svn.apache.org/viewvc?rev=1180193&view=rev
Log:
added missing javadoc comments
Modified:
commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransformedBinaryFunction.java
Modified: commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransformedBinaryFunction.java
URL: http://svn.apache.org/viewvc/commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransformedBinaryFunction.java?rev=1180193&r1=1180192&r2=1180193&view=diff
==============================================================================
--- commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransformedBinaryFunction.java (original)
+++ commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransformedBinaryFunction.java Fri Oct 7 20:02:37 2011
@@ -23,6 +23,10 @@ import org.apache.commons.functor.UnaryF
/**
* A BinaryFunction whose result is then run through a UnaryFunction.
+ *
+ * @param <L> the left argument type.
+ * @param <R> the right argument type.
+ * @param <T> the returned value type.
* @version $Revision$ $Date$
* @author Matt Benson
*/
@@ -33,15 +37,22 @@ public class TransformedBinaryFunction<L
private static final long serialVersionUID = 3312781645741807814L;
/**
- * Type-remembering helper
- * @param <X>
+ * Type-remembering helper.
+ *
+ * @param <X> the following function left argument.
*/
private static final class Helper<X, L, R, T> implements BinaryFunction<L, R, T>, Serializable {
/**
* serialVersionUID declaration.
*/
private static final long serialVersionUID = 8141488776884860650L;
+ /**
+ * The preceding function.
+ */
private BinaryFunction<? super L, ? super R, ? extends X> preceding;
+ /**
+ * The following function.
+ */
private UnaryFunction<? super X, ? extends T> following;
/**
@@ -67,7 +78,7 @@ public class TransformedBinaryFunction<L
/**
* Create a new TransformedBinaryFunction.
- * @param <X>
+ * @param <X> the following function left argument.
* @param preceding BinaryFunction
* @param following UnaryFunction
*/