create a hash map in java .The key to map is of 'Class' type and Value is the method reference. code example
Example: how to create a hashmap in java
HashMap<Integer,String> map=new HashMap<Integer,String>();//key is integer, value is String
HashMap<Integer,String> map=new HashMap<Integer,String>();//key is integer, value is String