We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://alstonwilliams.github.io/%E8%B7%AF%E6%BC%AB%E6%BC%AB%E5%85%B6%E4%BF%AE%E8%BF%9C%E5%85%AE/2019/05/31/2019%E5%B9%B4%E4%BA%94%E6%9C%88%E4%BB%BD%E6%80%BB%E7%BB%93%E4%B8%8E%E5%85%AD%E6%9C%88%E4%BB%BD%E8%AE%A1%E5%88%92/
Every failure is leading towards success.
The text was updated successfully, but these errors were encountered:
scala 导入的默认是不可变集合,内存上开销是要大一些,某些场景可以使用可变集合。至于后面一个问题使用 scala.collection.Iterator.single[A](elem:A) 获得与 singletonList 类似的效果
scala.collection.Iterator.single[A](elem:A)
Sorry, something went wrong.
No branches or pull requests
https://alstonwilliams.github.io/%E8%B7%AF%E6%BC%AB%E6%BC%AB%E5%85%B6%E4%BF%AE%E8%BF%9C%E5%85%AE/2019/05/31/2019%E5%B9%B4%E4%BA%94%E6%9C%88%E4%BB%BD%E6%80%BB%E7%BB%93%E4%B8%8E%E5%85%AD%E6%9C%88%E4%BB%BD%E8%AE%A1%E5%88%92/
Every failure is leading towards success.
The text was updated successfully, but these errors were encountered: