1. continue

import scala.util.control.Breaks._

for(){
  breakable{
    if(){
      break // continue
    }
  } 
}

 

2.break

import scala.util.control.Breaks._

breakable{
  for(){
    if(){
      break // break
    }
  }
}

相关文章:

  • 2021-11-14
  • 2022-12-23
  • 2021-07-05
  • 2022-12-23
  • 2021-06-23
  • 2021-11-28
  • 2021-12-31
猜你喜欢
  • 2021-07-28
  • 2022-12-23
  • 2021-12-25
  • 2021-12-02
  • 2021-12-21
  • 2022-12-23
  • 2021-12-12
相关资源
相似解决方案