Java tutorial
//package com.java2s; import java.util.HashMap; public class Main { /** * @param key * @return */ protected static final HashMap<String, Object> paramsWithKey(final String key) { final HashMap<String, Object> params = new HashMap<String, Object>(); params.put("key", key); return params; } }