Return-Path:
X-Original-To: apmail-commons-commits-archive@minotaur.apache.org
Delivered-To: apmail-commons-commits-archive@minotaur.apache.org
Received: from mail.apache.org (hermes.apache.org [140.211.11.3])
by minotaur.apache.org (Postfix) with SMTP id 7D4FE94AD
for ;
Fri, 7 Oct 2011 21:03:56 +0000 (UTC)
Received: (qmail 57628 invoked by uid 500); 7 Oct 2011 21:03:56 -0000
Delivered-To: apmail-commons-commits-archive@commons.apache.org
Received: (qmail 57552 invoked by uid 500); 7 Oct 2011 21:03:56 -0000
Mailing-List: contact commits-help@commons.apache.org; run by ezmlm
Precedence: bulk
List-Help:
List-Unsubscribe:
List-Post:
List-Id:
Reply-To: dev@commons.apache.org
Delivered-To: mailing list commits@commons.apache.org
Received: (qmail 57545 invoked by uid 99); 7 Oct 2011 21:03:56 -0000
Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136)
by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Oct 2011 21:03:56 +0000
X-ASF-Spam-Status: No, hits=-2000.0 required=5.0
tests=ALL_TRUSTED
X-Spam-Check-By: apache.org
Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4)
by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Oct 2011 21:03:55 +0000
Received: from eris.apache.org (localhost [127.0.0.1])
by eris.apache.org (Postfix) with ESMTP id C48DF238897D
for ; Fri, 7 Oct 2011 21:03:34 +0000 (UTC)
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
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 -0000
To: commits@commons.apache.org
From: simonetripodi@apache.org
X-Mailer: svnmailer-1.0.8-patched
Message-Id: <20111007210334.C48DF238897D@eris.apache.org>
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
* Serializable
will result in an exception.
*
+ * @param the argument type.
* @version $Revision$ $Date$
* @author Rodney Waldhoff
*/
@@ -41,6 +42,9 @@ public final class UnaryNot 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 implement
// ------------------------------------------------------------------------
/**
* Invert a UnaryPredicate.
+ * @param the argument type.
* @param pred UnaryPredicate to invert
- * @return UnaryPredicate
*/
public static UnaryPredicate not(UnaryPredicate super A> pred) {
return null == pred ? null : new UnaryNot(pred);