This has nothing to do with HashMap. It appears you've found a bug in Java's Zip File System Provider, namely that it converts a Path to a doubly-encoded URI. I can't find an existing bug for it, so I've submitted one. (There is this related bug, whose fix I suspect...
This line is the problem: result = prime * result + ((ch == null) ? 0 : ch.hashCode() This is the hashcode of the array not the hashcode of the content of the array, hence when you say: double[] ary = {1.5}; double[] ary3 = {1.5}; it is different besides...
java,android,data-structures,hashmap,containskey
When assigning values to Map, you may used different datatype and when checking for key, you are using integer, it won't work. Map a = new HashMap(); a.put("1", 12); a.put("2", 32); System.out.println(a.containsKey(1)); This will always return false....