Java tutorial
//package com.java2s; import java.util.HashMap; import java.util.Map; public class Main { public static Map<String, Object> getCarEndorsementMap(Integer carOwnerSeq, Integer status) { Map<String, Object> map = getMap(); map.put("carOwnerSeq", carOwnerSeq); map.put("status", status); return map; } public static <K, V> Map<K, V> getMap() { return new HashMap<K, V>(); } }