Page 1 of 1

Finish programming the following Map implementation such that the map stores its key, value pairs as “MapEntry" objects

Posted: Fri Apr 29, 2022 6:35 am
by answerhappygod
Finish Programming The Following Map Implementation Such That The Map Stores Its Key Value Pairs As Mapentry Objects 1
Finish Programming The Following Map Implementation Such That The Map Stores Its Key Value Pairs As Mapentry Objects 1 (63.07 KiB) Viewed 95 times
Finish programming the following Map implementation such that the map stores its key, value pairs as “MapEntry" objects in an underlying SeparateChainingHashTable, which is in the book and has been provided in the gitlab repository I have shared with you. Each of the following methods must be implemented, and well tested (JUnits) to receive full credit. public class Map<KeyType, valueType> { private SeparatechainingHashTable<MapEntry<KeyType, ValueType>> elements; public Map ( ) public void put ( KeyType key, ValueType val ) public ValueType get ( KeyType key ) public boolean isEmpty ( ) public void makeEmpty ( ) private static class MapEntry<KeyType, Value Type> ( } // end class MapEntry 1 // end class Map