You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mb...@apache.org on 2008/04/10 01:17:58 UTC
svn commit: r646590 -
/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/Composite.java
Author: mbenson
Date: Wed Apr 9 16:17:58 2008
New Revision: 646590
URL: http://svn.apache.org/viewvc?rev=646590&view=rev
Log:
utility-only class; make all its methods most generic
Modified:
commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/Composite.java
Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/Composite.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/Composite.java?rev=646590&r1=646589&r2=646590&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/Composite.java (original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/Composite.java Wed Apr 9 16:17:58 2008
@@ -39,9 +39,9 @@
* Create a composite UnaryProcedure.
* @param p UnaryProcedure to execute against output of <code>f</code>
* @param f UnaryFunction to apply
- * @return CompositeUnaryProcedure
+ * @return UnaryProcedure
*/
- public static final CompositeUnaryProcedure procedure(UnaryProcedure p, UnaryFunction f) {
+ public static final UnaryProcedure procedure(UnaryProcedure p, UnaryFunction f) {
return new CompositeUnaryProcedure(p, f);
}
@@ -49,9 +49,9 @@
* Create a composite UnaryPredicate.
* @param p UnaryPredicate to test the output of <code>f</code>
* @param f UnaryFunction to apply
- * @return CompositeUnaryPredicate
+ * @return UnaryPredicate
*/
- public static final CompositeUnaryPredicate predicate(UnaryPredicate p, UnaryFunction f) {
+ public static final UnaryPredicate predicate(UnaryPredicate p, UnaryFunction f) {
return new CompositeUnaryPredicate(p, f);
}
@@ -70,9 +70,9 @@
* Create a composite UnaryFunction.
* @param f UnaryFunction to apply to the output of <code>g</code>
* @param g UnaryFunction to apply first
- * @return CompositeUnaryFunction
+ * @return UnaryFunction
*/
- public static final CompositeUnaryFunction function(UnaryFunction f, UnaryFunction g) {
+ public static final UnaryFunction function(UnaryFunction f, UnaryFunction g) {
return new CompositeUnaryFunction(f, g);
}