接口 BaseEnum<K>

类型参数:
K - 注解关键词类型

public interface BaseEnum<K>
标准注解接口
作者:
virens
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
    eq(K other)
    判断枚举键是否匹配
    获取枚举值
    获取枚举键
  • 方法详细资料

    • eq

      boolean eq(K other)
      判断枚举键是否匹配
      参数:
      other - 输入值
      返回:
      是否匹配
    • getKey

      K getKey()
      获取枚举键
      返回:
      枚举键
    • getDesc

      String getDesc()
      获取枚举值
      返回:
      枚举值