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/09/26 14:54:32 UTC
svn commit: r1175845 -
/commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/CompositeUnaryProcedure.java
Author: simonetripodi
Date: Mon Sep 26 12:54:32 2011
New Revision: 1175845
URL: http://svn.apache.org/viewvc?rev=1175845&view=rev
Log:
added missing javadoc comments
Modified:
commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/CompositeUnaryProcedure.java
Modified: commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/CompositeUnaryProcedure.java
URL: http://svn.apache.org/viewvc/commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/CompositeUnaryProcedure.java?rev=1175845&r1=1175844&r2=1175845&view=diff
==============================================================================
--- commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/CompositeUnaryProcedure.java (original)
+++ commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/CompositeUnaryProcedure.java Mon Sep 26 12:54:32 2011
@@ -42,6 +42,7 @@ import org.apache.commons.functor.adapte
* an instance whose delegates are not all
* <code>Serializable</code> will result in an exception.
* </p>
+ * @param <A> the procedure argument type.
* @version $Revision$ $Date$
* @author Rodney Waldhoff
*/
@@ -52,6 +53,9 @@ public final class CompositeUnaryProcedu
private static final long serialVersionUID = -7496282561355676509L;
// attributes
// ------------------------------------------------------------------------
+ /**
+ * The adapted composite procedure.
+ */
private final CompositeUnaryFunction<? super A, Object> function;
// constructor
@@ -67,6 +71,10 @@ public final class CompositeUnaryProcedu
this.function = new CompositeUnaryFunction<A, Object>(new UnaryProcedureUnaryFunction<A, Object>(procedure));
}
+ /**
+ * Create a new CompositeUnaryProcedure.
+ * @param function final CompositeUnaryFunction to run
+ */
private CompositeUnaryProcedure(CompositeUnaryFunction<? super A, Object> function) {
this.function = function;
}
@@ -75,6 +83,7 @@ public final class CompositeUnaryProcedu
// ------------------------------------------------------------------------
/**
* Fluently obtain a CompositeUnaryProcedure that runs our procedure against the result of the preceding function.
+ * @param <T> the input function left argument and output procedure argument type
* @param preceding UnaryFunction
* @return CompositeUnaryProcedure<P>
*/