> From: Leo Simons [mailto:[EMAIL PROTECTED]] > one more thing: > > Why is a role a string? > ----------------------- > Because strings are easy for humans. > > consider: > > interface ComponentManager > { > Object lookup(Role role); > boolean exists(role role); > } > > or even: > > interface ComponentManager > { > Object lookup(Object role); > boolean exists(Object role); > } > > and what we have is basically a read-only HashMap with a > specific contract and no unneccessary "convenience" methods.
Yes, but sometimes we need the hint. Don't remove that ability. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
