代码改变世界

随笔档案-2011年9月26日

Java SE 7 新特性[没有对集合的增强支持]

2011-09-26 11:21 by 会被淹死的鱼, 864 阅读, 收藏,
摘要: Enhancements in Java SE 7Binary Literals - In Java SE 7, the integral types (byte, short, int, and long) can also be expressed using the binary number system. To specify a binary literal, add the prefix 0b or 0B to the number.二进制数值的支持, 0b或0B表示二进制.Underscores in Numeric Literals - Any number of under 阅读全文