commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruno P. Kinoshita" <brunodepau...@yahoo.com.br>
Subject [functor] Change default arity of Function, Predicate and Procedure
Date Tue, 29 Jan 2013 22:55:37 GMT
Hi all, 

In Java 8 and Guava the default arity of a Function is 1, but in [functor] it is 0, IOW, in
Java 8 and Guava a Function is by default a UnaryFunction, while in [functor] it is a NullaryFunction.

What do you guys think of changing the default arity of Function, Procedure and Predicate
in [functor] to 1, rather than 0?

Cheers
 
Bruno P. Kinoshita
http://kinoshita.eti.br
http://tupilabs.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message