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