public abstract class ExtraPropertyType extends java.lang.Object implements IntegerType
构造器和说明 |
---|
ExtraPropertyType() |
限定符和类型 | 方法和说明 |
---|---|
static ExtraPropertyType |
fromInteger(int value) |
protected abstract int |
getTypeValue() |
static void |
registerExtraPropertyType(ExtraPropertyType extraPropertyType) |
static void |
reset()
线程不安全,仅单线程环境调用
|
int |
toInteger()
枚举值转为整数结果
|
protected abstract int getTypeValue()
public int toInteger()
IntegerType
toInteger
在接口中 IntegerType
public static ExtraPropertyType fromInteger(int value)
public static void registerExtraPropertyType(ExtraPropertyType extraPropertyType) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public static void reset()