Example usage for java.util Map put

List of usage examples for java.util Map put

Introduction

In this page you can find the example usage for java.util Map put.

Prototype

V put(K key, V value);

Source Link

Document

Associates the specified value with the specified key in this map (optional operation).

Usage

From source file:Main.java

@SuppressWarnings({ "rawtypes", "unchecked" })
public static Map extractHitPointFromRect(Map rect) {
    Map hitPoint = new HashMap();
    hitPoint.put("x", rect.get("center_x"));
    hitPoint.put("y", rect.get("center_y"));
    return hitPoint;
}

From source file:Main.java

public static <K, V> Map<K, V> put(Map<K, V> map, K key, V value) {
    map.put(key, value);
    return map;
}

From source file:Main.java

public static void evalStatusEqMap(Map<String, Object> map, Integer status) {
    map.put("status", status);
}

From source file:Main.java

public static Map<String, Object> getPayOrder(Integer serviceOrderSeq) {
    Map<String, Object> map = getMap();
    map.put("serviceOrderSeq", serviceOrderSeq);
    return map;// w ww .ja va2 s.c  om
}

From source file:Main.java

public static Map<String, Object> getProvinceInfoMap(String sysDictCode) {
    Map<String, Object> map = getMap();
    map.put("sysDictCode", sysDictCode);
    return map;/*  w w  w. j  av  a2 s .  c  om*/
}

From source file:Main.java

public static Map<String, Object> getInsuranceAndOrderDetailMap(String insurancePackageSeq) {
    Map<String, Object> map = getMap();
    map.put("insurancePackageSeq", insurancePackageSeq);
    return map;//  w  w  w .j  a v a2s . co  m
}

From source file:Main.java

public static Map<String, Object> getWalletMap(String carOwnerSeq) {
    Map<String, Object> map = getMap();
    map.put("carOwnerSeq", carOwnerSeq);
    return map;/*from  w  w w. jav  a2  s  . co  m*/
}

From source file:Main.java

public static Map<String, Object> getPayOrderMap(String serviceOrderSeq) {
    Map<String, Object> map = getMap();
    map.put("serviceOrderSeq", serviceOrderSeq);
    return map;//  w ww .j  a  v  a2  s.  c  om
}

From source file:Main.java

public static Map<String, Object> getInsurancePackageDetailMap(String insurancePackageSeq) {
    Map<String, Object> map = getMap();
    map.put("insurancePackageSeq", insurancePackageSeq);
    return map;//  w  w  w.j ava2 s  .  co  m
}

From source file:Main.java

public static Map<String, Object> getCarInsurance(Integer carOwnerSeq) {
    Map<String, Object> map = getMap();
    map.put("carOwnerSeq", carOwnerSeq);
    return map;//from   ww  w  .  j  a va2  s  .c o m
}