Java tutorial
//package com.java2s; import java.util.HashMap; import java.util.Map; public class Main { public static Map<String, Object> confirmMoneyListMap(String endorsementId, Double totalFee, String reqNo, Double arrdv, Integer carEndorsementSeq) { Map<String, Object> map = getMap(); map.put("endorsementId", endorsementId); map.put("totalFee", totalFee); map.put("reqNo", reqNo); map.put("arrdv", arrdv); map.put("carEndorsementSeq", carEndorsementSeq); return map; } public static <K, V> Map<K, V> getMap() { return new HashMap<K, V>(); } }