ccx_blog
  • 首页
  • 文章
  • 分类
  • 标签
  • 日志
  • 留言板
  • 关于

thumbnail of the cover of the post

为什么Java中lambda表达式不能改变外部变量的值

JLS 15.27.2 提到:The restriction to effectively final variables prohibits access to dynamically-changing local variables, whose capture would likely int


site logo

Welcome!

  • 首页
  • 文章
  • 分类
  • 标签
  • 日志
  • 留言板
  • 关于

© 2025 ccx_blog

© 2025 ccx_blog