com.google.common.collect.MapBuilder Maven / Gradle / Ivy
package com.google.common.collect;
import java.util.concurrent.ConcurrentMap;
import static com.google.common.base.DeepEquivalence.DEEP_EQUIVALENCE;
/**
*
* @author guyadong
*
*/
public class MapBuilder {
/**
* 创建支持Object[]为key的map
* @return
*/
public static ConcurrentMap newConcurrentMap() {
return new MapMaker().keyEquivalence(DEEP_EQUIVALENCE).makeMap();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy