... in a language such as Java or Rust — neither of which supports an equivalent of yield — you'd end up writing an iterator class.
確定! 回上一頁