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