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 11:38:36 UTC

svn commit: r1175749 - /commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/BaseUnaryPredicateList.java

Author: simonetripodi
Date: Mon Sep 26 09:38:35 2011
New Revision: 1175749

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

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

Modified: commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/BaseUnaryPredicateList.java
URL: http://svn.apache.org/viewvc/commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/BaseUnaryPredicateList.java?rev=1175749&r1=1175748&r2=1175749&view=diff
==============================================================================
--- commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/BaseUnaryPredicateList.java (original)
+++ commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/BaseUnaryPredicateList.java Mon Sep 26 09:38:35 2011
@@ -33,6 +33,7 @@ import org.apache.commons.functor.UnaryP
  * an instance whose delegates are not all
  * <code>Serializable</code> will result in an exception.
  * </p>
+ * @param <A> the predicate argument type.
  * @version $Revision$ $Date$
  * @author Rodney Waldhoff
  */
@@ -44,6 +45,9 @@ abstract class BaseUnaryPredicateList<A>
     private static final long serialVersionUID = 1467575113401282954L;
     // attributes
     // ------------------------------------------------------------------------
+    /**
+     * A list where storing the adapted predicates.
+     */
     private final List<UnaryPredicate<? super A>> list = new ArrayList<UnaryPredicate<? super A>>();
 
     // constructor
@@ -103,7 +107,7 @@ abstract class BaseUnaryPredicateList<A>
     // modifiers
     // ------------------------------------------------------------------------
     /**
-     * Add a UnaryPredicate to the list
+     * Add a UnaryPredicate to the list.
      * @param p UnaryPredicate to add
      */
     protected void addUnaryPredicate(UnaryPredicate<? super A> p) {
@@ -125,7 +129,7 @@ abstract class BaseUnaryPredicateList<A>
     }
 
     /**
-     * Learn whether another BaseUnaryPredicateList has content equal to this
+     * Learn whether another BaseUnaryPredicateList has content equal to this.
      * @param that the BaseUnaryPredicateList to test
      * @return boolean
      */