Simon Kitching wrote:

You mean that someone with special resolving requirements should provide
a custom class that implements Map?

Yes that's what I mean.


However for the other cases the user has to implement the Map interface
which it's quite a lot of work. As the resolve method actually uses only
the "get" method on the map it seems a shame to require the user to
implement the full Map interface.

On the other hand, if the resolve method guarantees that it will only use the get() method from the Map interface, the user is free to let the other methods unimplemented. The hint could be included in the javadoc, this should be enough for the minority of users interested in implementing a custom variable resolution.

Emmanuel Bourg


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to