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