Map map = new HashMap;。
TreeMap map = new TreeMap;常用方法。
Map paramMap = new HashMap;。
使用Future可以获得异步执行结果Future future = executor.submit(task);String result = future.get;但是当我们使用get获得异步执行结果的时候,这个方法可能会阻塞。我们通过while循环反复调用isDone来判断异步结果是否已经完成。
HashMap map = new HashMap;基本方法:。