接口的使用
cn.linjpxc.enumx.EnumValue
-
cn.linjpxc.enumx中EnumValue的使用
类型参数类型为EnumValue的cn.linjpxc.enumx中的方法修饰符和类型方法说明EnumValue.compare(E left, E right) 提供实例值比较。判断指定枚举类型的枚举值是否存在。Enums.getValueType(Class<E> clazz) EnumValue.toString(E e) 返回指定的枚举值,也可以是枚举名称(不区分大小写)的枚举常量。返回指定的枚举常量。Returns the enum constant of the specified enum type with the specified value.