def lines = file.readLines() Copy. The lines is a collection ( java.util.ArrayList ) that you can iterate over with the usual collection iterator:.
確定! 回上一頁