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