xiaozi 2015-02-21 22:07:13

Java Integer的缓存, -128 to 127

java java
Integer.valueOf(10) == Integer.valueOf(10); // true
Integer.valueOf(1000) == Integer.valueOf(1000); // false 什么鬼

评论

Home - Wiki
Copyright © 2011-2025 iteam. Current version is 2.146.0. UTC+08:00, 2025-08-29 16:05
浙ICP备14020137号-1 $Map of visitor$