Sep 26, 2011 Integer is a reference, you appear to want a reference to a reference which Java doesn't support. 4 Answers 4. The get method returns a copy of the reference to the stored integer Assigning a new value to the variable storing this copy to, point to the value 10 will not change the reference in the map.