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