I am making a graphing function using a hashmap to store all the nodes. I know how hashing works, but for hashmaps, I do not know if they use lin/quad probing to put/get nodes, or if it is a linked list. I want it to use polling as I only want one node per hash and not a linked list format (or any other format that has multiple nodes hashed out to the same location). Is this how it is done normally or do I need to set some value to change the linked list method to a lin/quad probing method.
I am basically wanting to know if one of my nodes maps out to the same place in the map as a previous node,
Will it replace the old node with the new node (deletion method for mapping), and if it does not replace then...
Will it just attach it on to the end of a linked list at that space in memory containing both nodes or...
Will it use some type of polling method to get a new location in the map that contains no new nodes
I only want one node in each available position in the map