getValue method

int getValue()

获取枚举对应的值(对应Java的getValue()方法)

Implementation

int getValue() {
  return value;
}