I have an object with stores information about specific instances. For that, i would like to use a Map, but as the keys are not by-reference (they aren\'t, rig
Map
You can also use IdentityHashMap together with scala.collection.JavaConversions.