Skip to content

Conversation

@miorel
Copy link
Contributor

@miorel miorel commented Jul 14, 2024

This makes it easy to implement an Iterator while providing only a next() method. The hasNext() method is then filled in for you via the toIterator method.

This makes it easy to implement an `Iterator` while providing only a `next()` method. The `hasNext()` method is then filled in for you via the `toIterator` method.
@miorel miorel requested review from simona1 and volkmchl July 14, 2024 01:14
@github-actions
Copy link
Contributor

PR Health Report

Last checked commit cb64b04.

  • npx prettier --write .github .vscode && ! (git status --porcelain | grep .): ✅
  • (cd tools && yarn format && ! (git status --porcelain | grep .)): ✅
  • (cd tools && yarn lint): ✅
  • (cd tools && yarn typecheck): ✅
  • (cd tools && yarn test): ✅
  • (cd tools/adventure-pack && yarn build-app): ✅

@miorel miorel merged commit f839b64 into main Jul 14, 2024
@miorel miorel deleted the simple-iterator branch July 14, 2024 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants