谷歌工具导包-com.google.common.collect

时间:2024-02-23 22:29:10

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