Here you can find the source of put(Map map, String k1, Object v1, String k2, Object v2)
public static void put(Map map, String k1, Object v1, String k2, Object v2)
//package com.java2s; //License from project: Open Source License import java.util.Map; public class Main { public static void put(Map map, String k1, Object v1, String k2, Object v2) { map.put(k1, v1);/* w w w.j a va 2s .c o m*/ map.put(k2, v2); } public static void put(Map map, String k1, Object v1, String k2, Object v2, String k3, Object v3) { map.put(k1, v1); map.put(k2, v2); map.put(k3, v3); } }