In order to create your own hashmap, you need a key->value pair.

This would be helpful:

public class HashMapImp
{
public static void main(String args[])
{
MyHashMap mhm = new...