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/24 02:32:59 UTC
svn commit: r1175082 -
/commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/collection/IsElementOf.java
Author: simonetripodi
Date: Sat Sep 24 00:32:58 2011
New Revision: 1175082
URL: http://svn.apache.org/viewvc?rev=1175082&view=rev
Log:
added missing javadoc comments
Modified:
commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/collection/IsElementOf.java
Modified: commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/collection/IsElementOf.java
URL: http://svn.apache.org/viewvc/commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/collection/IsElementOf.java?rev=1175082&r1=1175081&r2=1175082&view=diff
==============================================================================
--- commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/collection/IsElementOf.java (original)
+++ commons/proper/functor/trunk/src/main/java/org/apache/commons/functor/core/collection/IsElementOf.java Sat Sep 24 00:32:58 2011
@@ -29,6 +29,8 @@ import org.apache.commons.functor.adapte
* specified object is an element of the specified
* Collection.
*
+ * @param <L> the left argument type.
+ * @param <R> the right argument type.
* @since 1.0
* @version $Revision$ $Date$
* @author Jason Horman (jason@jhorman.org)
@@ -42,6 +44,9 @@ public final class IsElementOf<L, R> imp
* serialVersionUID declaration.
*/
private static final long serialVersionUID = -7639051806015321070L;
+ /**
+ * A static {@link IsElementOf} instance reference.
+ */
private static final IsElementOf<Object, Object> INSTANCE = new IsElementOf<Object, Object>();
// constructors
@@ -132,6 +137,8 @@ public final class IsElementOf<L, R> imp
/**
* Get an IsElementOf(collection|array) UnaryPredicate.
+ *
+ * @param <A> the UnaryPredicate argument generic type
* @param obj collection/array to search
* @return UnaryPredicate
*/