摘要: 1 需要导包 ,感觉怎么是手动导入的啊。点不出来呀 import util.control.Breaks._ 2 需要在循环体外加一层 breakable() 案例 breakable( for(i <- 0 until 10 ){ ... 阅读全文
posted @ 2018-08-02 14:07 妖君你好 阅读(68) 评论(0) 推荐(0) 编辑
摘要: val stringdemo = "123456"val intdemo = stringdemo.toIntval longdemo = stringdemo.toLong 阅读全文
posted @ 2018-08-02 13:56 妖君你好 阅读(3634) 评论(0) 推荐(1) 编辑