com.github.houbb.chinese.idiom.constant.enums.IdiomChineseNum Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chinese-idiom Show documentation
Show all versions of chinese-idiom Show documentation
The chinese-idiom tools for chinese by java.
package com.github.houbb.chinese.idiom.constant.enums;
import com.github.houbb.chinese.common.constant.enums.IChineseNum;
/**
* [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15]
* @author binbin.hou
* @since 0.0.1
*/
public enum IdiomChineseNum implements IChineseNum {
/**
* 样式指定
* @since 0.0.1
*/
THREE(3),
FOUR(4),
FIVE(5),
SIX(6),
SEVEN(7),
EIGHT(8),
NINE(9),
TEN(10),
ELEVEN(11),
TWELVE(12),
THIRTEEN(13),
FIFTEEN(15),
;
private final int num;
IdiomChineseNum(int num) {
this.num = num;
}
@Override
public int num() {
return num;
}
}