package com.hcks.cmfds.commons.util; import java.util.HashMap; /** * @Author 刘厦(liusha.information@gmail.com) * @Date 创建时间:May 16, 2011 11:38:45 PM * @Version 0.0.0 * 类说明: 快速建立命名参数Map */ public class MapHelpler extends HashMap{ private static final long serialVersionUID = 2795245114015599778L; private MapHelpler() { super(5); } public MapHelpler put(String key,Object value){ super.put(key, value); return this; } public static MapHelpler build(){ return new MapHelpler(); } public static MapHelpler build(String key, Object value) { return new MapHelpler().put(key, value); } }