HashMap<String, String>> hashMap= new HashMap<>(); code example Example: HashMap> hashMap = new HashMap<>(); HashMap<String, String>> hashMap = new HashMap<>();