科技改变生活-雨落星辰 - 所有的伟大,都源于一个勇敢的开始
  •  首页
  •  运维笔记
  •  SEO心得
  •  软件程序
  •  网站源码
  •  旗下网站
  •  programmer
  •  登录
  1. 标签
  2. kotlinIs it possible to create a
  • kotlin - Is it possible to create a constant with a range of values? - Stack Overflow

    I have a condition like this:if (value in 0..10 || value in 20..30 || value in 40..50) {do something}
    kotlinIs it possible to create a constant with a range of valuesStack Overflow
    admin1月前
    270
CopyRight © 2022 All Rights Reserved 豫ICP备2021025688号-21
Processed: 0.033, SQL: 15