Java tutorial
//package com.java2s; import java.util.Map; import java.util.TreeMap; public class Main { public static Map initParamsMap() { Map<String, Object> params = new TreeMap<>(); params.put("timespan", System.currentTimeMillis() / 1000L); return params; } }