commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomas Viberg" <>
Subject [functor] CollectionAlgorithms as Functors
Date Mon, 19 May 2003 18:37:43 GMT

I've been using the functors package a bit lately, and I have come to think that it would
be nice if the functionality of the CollectionAlgorithms class also was available as separate
functors. For example, the collect method could be implemented as a UnaryFunction that returns
a List when it is evaluated with an Iterator, and the other methods could be provided as functors
in a similar manner.

Are there any plans for something like this, or is there some reason why it's not a good idea?

/ Tomas

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message