I am guessing you probably meant to say 'class' rather than constructor. That aside, to retrieve your object from the Map and call its function use the get method defined in HashTable


...