[jboss-user] [JBoss Cache: Core Edition] - Class.class as cache key - Generic Question

skajotde do-not-reply at jboss.com
Thu Nov 13 10:28:29 EST 2008


Hi All

I'm writing simple cache which is based on: Java Concurrency in Practise", 09 2006, Listing 5.19 and have generic cache question.

If java.lang.Class can be key for cache ? I know that java.lang.Class doesn't implement hashCode and equals but is only one instance per JVM.

Googling like "java.lang.class key cache" or "java.lang.class equals" return nothing matters.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189117#4189117

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189117



More information about the jboss-user mailing list