多線程(十): 併發中集合ConcurrentHashMap

public class HashTest { static Map<String, String> map = new HashMap<>(); public static void main(String[] args) { for (int i = 0; i < 2; i++) { new Thread(() -> {
相關文章
相關標籤/搜索