isWellFormed() for HashMap
Hello, I`m doing a project where I have to store the accounts of a bank in a hash table structure. I have managed to do that by using a HashMap object and storing the accounts using the pin numbers as keys.
The project demands that I use design by contract and I need to create a isWellFormed() method for the hash map in order to check the hash function it uses, whether the linked list is created properly... and I don't know how I could access the elements of the HashMap. Any ideas?