com.github.houbb.chinese.idiom.constant.enums.IdiomChineseStyle 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.
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;
}
}