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 02D089FA7 for ; Fri, 7 Oct 2011 19:13:28 +0000 (UTC) Received: (qmail 99394 invoked by uid 500); 7 Oct 2011 19:13:27 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 99333 invoked by uid 500); 7 Oct 2011 19:13:27 -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 99326 invoked by uid 99); 7 Oct 2011 19:13:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Oct 2011 19:13:27 +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 19:13:25 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 603D5238897D for ; Fri, 7 Oct 2011 19:13:04 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1180163 - /commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/ConditionalBinaryPredicate.java Date: Fri, 07 Oct 2011 19:13:04 -0000 To: commits@commons.apache.org From: simonetripodi@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20111007191304.603D5238897D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: simonetripodi Date: Fri Oct 7 19:13:03 2011 New Revision: 1180163 URL: http://svn.apache.org/viewvc?rev=1180163&view=rev Log: added missing javadoc comments Modified: commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/ConditionalBinaryPredicate.java Modified: commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/ConditionalBinaryPredicate.java URL: http://svn.apache.org/viewvc/commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/ConditionalBinaryPredicate.java?rev=1180163&r1=1180162&r2=1180163&view=diff ============================================================================== --- commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/ConditionalBinaryPredicate.java (original) +++ commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/ConditionalBinaryPredicate.java Fri Oct 7 19:13:03 2011 @@ -37,6 +37,8 @@ import org.apache.commons.functor.Binary * an instance whose delegates are not all * Serializable will result in an exception. *

+ * @param the left argument type. + * @param the right argument type. * @version $Revision$ $Date$ * @author Rodney Waldhoff */ @@ -46,12 +48,21 @@ public final class ConditionalBinaryPred */ private static final long serialVersionUID = -4511946801764080748L; - /** 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 BinaryPredicate ifPred; + /** + * the predicate executed if the condition is satisfied. + */ private final BinaryPredicate thenPred; + /** + * the predicate executed if the condition is not satisfied. + */ private final BinaryPredicate elsePred; // constructor