commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1180242 - /commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/UnaryNot.java
Date Fri, 07 Oct 2011 21:03:34 GMT
Author: simonetripodi
Date: Fri Oct  7 21:03:34 2011
New Revision: 1180242

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

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

Modified: commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/UnaryNot.java
URL: http://svn.apache.org/viewvc/commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/UnaryNot.java?rev=1180242&r1=1180241&r2=1180242&view=diff
==============================================================================
--- commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/UnaryNot.java
(original)
+++ commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/UnaryNot.java
Fri Oct  7 21:03:34 2011
@@ -31,6 +31,7 @@ import org.apache.commons.functor.UnaryP
  * an instance whose delegate is not
  * <code>Serializable</code> will result in an exception.
  * </p>
+ * @param <A> the argument type.
  * @version $Revision$ $Date$
  * @author Rodney Waldhoff
  */
@@ -41,6 +42,9 @@ public final class UnaryNot<A> implement
     private static final long serialVersionUID = -97785102566566058L;
     // attributes
     // ------------------------------------------------------------------------
+    /**
+     * The adapted predicate.
+     */
     private final UnaryPredicate<? super A> predicate;
 
     // constructor
@@ -103,8 +107,9 @@ public final class UnaryNot<A> implement
     // ------------------------------------------------------------------------
     /**
      * Invert a UnaryPredicate.
+     * @param <A> the argument type.
      * @param pred UnaryPredicate to invert
-     * @return UnaryPredicate<A
+     * @return UnaryPredicate<A>
      */
     public static <A> UnaryPredicate<A> not(UnaryPredicate<? super A> pred)
{
         return null == pred ? null : new UnaryNot<A>(pred);



Mime
View raw message