![](/img/trans.png)
[英]Fastest way to read a file line by line with 2 sets of Strings on each line?
[英]Whats the fastest way to read line per line
我懷疑內置解決方案應該足夠快:
List<String> allLines = Files.readAllLines(Paths.get("location/of/your/file"));
(假設您的JVM有足夠的內存)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.