incubator-directmemory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Tripodi <>
Subject Re: [jira] [Commented] (DIRECTMEMORY-43) Cache should allow key objects instead of plain string
Date Sat, 18 Feb 2012 15:08:47 GMT

> Taking your Cache<String,String>
> So K = String, and V = String therefor ptr.clazz would = String not ByteBuffer , java.lang.String
doesn't extend ByteBuffer, thus this code would execute.

the would be in any case wrong - wouldn't be enough having the <V>?
there is a reason if ByteBuffer case is considered special, or not?


PS: I know that sounds strange, but my name is SimonE :) Italy is the
only country in the world AFAIK where that name si male :D

View raw message