Integer.getInteger()与Integer.parseInt()的区别
Integer.parseInt()Parses the specified string as a signed decimal integer value. The ASCII character \u002d ('-') is recognized as the minus sign.源码如下 public static int parseInt(String string, i
原创
2015-12-03 14:50:47 ·
2713 阅读 ·
0 评论