All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.houbb.chinese.idiom.constant.enums.IdiomChineseNum Maven / Gradle / Ivy

There is a newer version: 0.0.2
Show newest version
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;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy