When a LazyMap creates a value on demand, it seems natural to use a
Transformer that takes the key as input. In many (most?) cases, the key
might be ignored, but it makes sense to make it available. LazyMap does
have a protected Transformer member that it uses to create values, but
the decorate method takes a Factory (which is converted to an
effectively argumentless Transformer using
TransformerUtils.asTransformer(Factory)). Why not have decorate take a
Transformer? This would seem to be more flexible. Am I missing something?
Phil
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]