Sylvain Wallez wrote:
> Berin Loritsch wrote:
> >
> To have the equivalent of ComponentSelector.hasComponent(Object hint),
> you also need :
>
> boolean hasComponent( String role, Parameters params);
No. All we need to check is that there is at least one implementation of
a role. If there is none that are specialized, the default implmentation
is returned.
>
> This also applies to Stephen's last proposal in the "[VOTE] Re:
> ComponentManager interface" thread. I also like better his replacement
> of Parameter by Map because, being an interface, Map allows the use of
> efficient specialized implementations, e.g. singleton Map for CS hints.
Sounds good.
--
"They that give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety."
- Benjamin Franklin
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>