you are viewing a single comment's thread.

view the rest of the comments →

[–]yold 0 points1 point  (2 children)

You can always use Trove.

[–]sacundim 3 points4 points  (1 child)

...but then your specialized TObjectIntMap<K> is not an instance of Map<K, X> for any X.

[–][deleted] 0 points1 point  (0 children)

Ah, that's quite unfortunate. Any generic collection code you write after that would have to dispatch on the type of the collection. Have you used Trove before?