Java Map Put put(Map map, String k1, Object v1, String k2, Object v2)

Here you can find the source of put(Map map, String k1, Object v1, String k2, Object v2)

Description

put

License

Open Source License

Declaration

public static void put(Map map, String k1, Object v1, String k2, Object v2) 

Method Source Code

//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);
    }
}

Related

  1. put(Map map, Object key, int value)
  2. put(Map map, String keyValuePair)
  3. put(Map aMap, K aKey, V aValue)
  4. put(Map map, K key, V value)
  5. put(Map map, K key, V value)