go top

类型安全枚举

网络释义

  typesafe enum

这种方案被称为类型安全枚举typesafe enum)模式。不幸的是, 它还沿未被广泛知晓。

基于24个网页-相关网页

  Typesafeenums

... 一件事值得注意:先前如果你取出(unbox)Null值它将变为0次源代码中编译器将自动地转换Integer为int然后加上10接着将其转换回Integer. 类型安全枚举Typesafeenums) 静态导入(Static import) ...

基于12个网页-相关网页

短语

类型安全枚举类 typesafe enum class

类型安全的枚举 Typesafeenums ; Type safe enums

类型安全的枚举类 typesafe enum class

类型安全的枚举模式 typesafe enum pattern

 更多收起网络短语

有道翻译

类型安全枚举

Type-safe enumeration

以上为机器翻译结果,长、整句建议使用 人工翻译

双语例句

  • Scala中的一个常见特色,它可以提供更简单类型安全枚举方式

    This is a common idiom in Scala to provide a simpler, more type-safe way of doing enumerations.

    youdao

  • 为了提高类型安全可以一个枚举

    To increase type safety, this could also be an enumeration.

    youdao

  • 地图枚举完全不同数据结构。地图是关键使类型安全枚举常数比较不可能的!

    Maps and enums are completely different data structures. Maps are for associating a value with a key. Enums are for make typesafe constants. Comparing the two is impossible!

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定