anonymous wrote : do you mean, if I have Node<A,B>, then Cache must be <A,B>
too, and it's CacheFactory<A,B> ?
on the short - yes
anonymous wrote : It sound's like a limitation and means, I need use entire cache only
for A,B...
| Please, be forgiving to my ignorance... :)
It is not a limitation at all, as you can declare both K and V of type Object. It comes
with all the benefits Java Generics brings :)
(conceptually, the Cache is a collection of objects. Much nicer working with parametrized
collections.)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4155685#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...