Why doesn't my get-method return the assigned value to my key?
问题 I've been assigned the following task in my Datastructures and Algorithms course, and I have no idea why it does not work. The task is to implement a Linked Hashtable. I have created two classes, one that acts as the key <-> value pair, representing an element (Entry class), and the Hashtable class that has the methods (currently only put and get), but I can't seem any of them to work. The Hashfunction method was provided by our teachers, so I can't answer any questions regarding that.