3 ms·Java has IdentityHashMap for this use. I hesitate to claim it is more common.by taeric 8y agoJava has IdentityHashMap for this use. I hesitate to claim it is more common.