Or we can call forEach() on the collection's stream: ... String next() { String next = list.get(currentIndex); currentIndex--; return next; } ...
確定! 回上一頁