IEnum

interface IEnum

枚举继承用接口 可快速判断枚举值并报错

Inheritors

Functions

Link copied to clipboard
open fun check(code: Integer)
检查是否相同
Link copied to clipboard
open fun equals(code: Integer): Boolean
枚举值是否相同
Link copied to clipboard
abstract fun getCode(): Integer
code
Link copied to clipboard
abstract fun getName(): String
name