ConcurrentHashMap当Value为null时会报空指针异常。 这在很大程度上限制了其的应用,在value也可能为null的情况下还得使用Collections.synchronizedMap(new HashMap())这种传统的方式。