谷歌工具导包-com.google.common.collect
1. google工具jar
import com.google.common.collect.Lists; import com.google.common.collect.Maps; // ====================================== ArrayList<Object> newArrayList = Lists.newArrayList(); HashMap<Object,Object> newHashMap = Maps.newHashMap();
2.guava-27.0.1-jre.jar包,如下:
3.下载jar地址
maven:repostory:http://mvnrepository.com/artifact/com.google.guava