Let's create your own HashMap and implement methods:
put(K key, V value)
getValue()
getSize()
Be attentive to basic requirements for the implementation of the map (initial capacity, load factor, resize ...)
P.S.: you can implement other methods of the Map interface.