Sylvain Wallez wrote:
> So in essence, the get() method on object model, which can be a special
> subclass of HashMap would be:
>
> Object get(Object name) {
> // call the regular Map get method
> Object result = super.get(name);
> if (result instanceof Module) {
> // Dereference the module
> return ((Module)result).get();
> } else {
> return result;
> }
> }
>
Agreed - now we're talking about the same thing again :)
Carsten
--
Carsten Ziegeler - Open Source Group, S&N AG
http://www.s-und-n.de
http://www.osoco.org/weblogs/rael/