摘要: String 转 int,用parse可能会数字转换异常 int foo;try { foo = Integer.parseInt(myString);}catch (NumberFormatException e){ foo = 0;}可以这样处理但是最好这样处理 import com.googl 阅读全文
posted @ 2020-03-10 10:20 乀海风 阅读(69) 评论(0) 推荐(0)
摘要: 主要记录下在工作中遇到的问题和解决方法 阅读全文
posted @ 2018-03-30 10:07 乀海风 阅读(49) 评论(0) 推荐(0)