阅读背景:

在Scala中,如何在标准完成后立即停止从文件中读取行?

来源:互联网 

Reading lines in a foreach loop, a function looks for a value by a key in a CSV-like structured text file. After a specific line is found, it is senseless to continue reading lines looking for something there. How to stop as there is no break statement in Scala?Reading lines in a foreach loop, a function loo




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: