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

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

The newest version!
package com.github.houbb.chinese.idiom.constant.enums;

import com.github.houbb.chinese.common.constant.enums.IChineseStyle;

/**
 * ABCC式 AABC式 AABB式 ABAC式 ABBC式 ABCB式 ABCA式 ABAB式
 * @author binbin.hou
 * @since 0.0.1
 */
public enum IdiomChineseStyle implements IChineseStyle {
    /**
     * 样式指定
     * @since 0.0.1
     */
    AABB("aabb"),
    AABC("aabc"),
    ABAC("abac"),
    ABBC("abbc"),
    ABCA("abca"),
    ABCB("abcb"),
    ABCC("abcc"),
    ABCD("abcd"),
    ;

    private final String style;

    IdiomChineseStyle(String style) {
        this.style = style;
    }

    @Override
    public String style() {
        return style;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy