HashMap引發的事故:jdk1.7和jdk1.8下的hash函數的不一樣

what? 咱們先看一端代碼。web JsonMapper jsonMapper = JsonMapper.nonDefaultMapper(); HashSet<String> objects = Sets.newHashSet(); for (int i = 0; i < 1000; i++) { Map<String, Object> map = new TreeMap<Strin
相關文章
相關標籤/搜索