When a Key-Value pair is added to a HashMap in Java, in order to determine the bucket location for value object, the hash map implementation uses hashCode of "key" object and applies hashing to it. And finally the key value pair is stored in the bucket. The key object is stored so that in case of collisions the object can be retrieved correctly.
My question is, is "key" object stored twice in HashMap, once as a key and then in the bucket where key -value pair is stored in a Linked List?