commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Keith Bennett <>
Subject [collections] Functors: why in commons.collections and not commons.lang?
Date Mon, 01 Dec 2003 23:23:50 GMT
I understand that Functor interfaces (Factory, Predicate, Closure,
Transformer) are used by classes in the collections library, and need
to be accessible by that library.

However, I believe these interfaces are universally useful in cases
having nothing to do with collections.

It's too bad they're not in java.lang.  I wonder if they could have
placed in commons.lang instead of commons.collections.  I guess that
would have required that commons.lang *always* be present when
commons.collections was used, and that is undesirable.  Is this how
the decison was made to include them in commons.collections?

- Keith Bennett

Do you Yahoo!?
Free Pop-Up Blocker - Get it now

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

View raw message