commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1180188 - /commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/ConditionalUnaryProcedure.java
Date Fri, 07 Oct 2011 19:52:58 GMT
Author: simonetripodi
Date: Fri Oct  7 19:52:58 2011
New Revision: 1180188

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

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

Modified: commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/ConditionalUnaryProcedure.java
URL: http://svn.apache.org/viewvc/commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/ConditionalUnaryProcedure.java?rev=1180188&r1=1180187&r2=1180188&view=diff
==============================================================================
--- commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/ConditionalUnaryProcedure.java
(original)
+++ commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/ConditionalUnaryProcedure.java
Fri Oct  7 19:52:58 2011
@@ -38,6 +38,7 @@ import org.apache.commons.functor.core.N
  * an instance whose delegates are not all
  * <code>Serializable</code> will result in an exception.
  * </p>
+ * @param <A> the argument type.
  * @version $Revision$ $Date$
  * @author Rodney Waldhoff
  */
@@ -47,12 +48,21 @@ public final class ConditionalUnaryProce
      */
     private static final long serialVersionUID = -895833369740247391L;
 
-    /** Base hash integer used to shift hash */
+    /** Base hash integer used to shift hash. */
     private static final int HASH_SHIFT = 4;
     // attributes
     // ------------------------------------------------------------------------
+    /**
+     * the condition to be evaluated.
+     */
     private final UnaryPredicate<? super A> ifPred;
+    /**
+     * the procedure executed if the condition is satisfied.
+     */
     private final UnaryProcedure<? super A> thenProc;
+    /**
+     * the procedure executed if the condition is not satisfied.
+     */
     private final UnaryProcedure<? super A> elseProc;
 
     // constructor



Mime
View raw message