Moved part letter to BaseGlyphSet support

This commit is contained in:
Willem Cazander 2022-02-03 01:07:12 +01:00
parent 30287a48b7
commit 0bd9a27ffa
30 changed files with 206 additions and 252 deletions

View file

@ -63,7 +63,7 @@ public class BasePartRenderer extends ImGuiRendererMain {
ImGui.tableSetupColumn("16Korean"); ImGui.tableSetupColumn("16Korean");
ImGui.tableSetupColumn("36LBasic"); ImGui.tableSetupColumn("36LBasic");
ImGui.tableSetupColumn("36Greek"); ImGui.tableSetupColumn("36Greek");
ImGui.tableSetupColumn("36Arabic"); ImGui.tableSetupColumn("36Hebrew");
ImGui.tableSetupColumn("ChinaK"); ImGui.tableSetupColumn("ChinaK");
ImGui.tableSetupColumn("ChinaV"); ImGui.tableSetupColumn("ChinaV");
ImGui.tableSetupColumn("Alt1"); ImGui.tableSetupColumn("Alt1");
@ -93,7 +93,7 @@ public class BasePartRenderer extends ImGuiRendererMain {
ImGui.tableNextColumn(); ImGui.tableNextColumn();
ImGui.text(part.BȍőnGlyphSetNumber36Greek()); ImGui.text(part.BȍőnGlyphSetNumber36Greek());
ImGui.tableNextColumn(); ImGui.tableNextColumn();
ImGui.text(part.BȍőnGlyphSetNumber36Arabic()); ImGui.text(part.BȍőnGlyphSetNumber36Hebrew());
ImGui.tableNextColumn(); ImGui.tableNextColumn();
ImGui.text(part.BȍőnChinaKey()); ImGui.text(part.BȍőnChinaKey());
ImGui.tableNextColumn(); ImGui.tableNextColumn();

View file

@ -7,7 +7,6 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinStoreKeyʸᴰ;
public enum BãßBȍőnPartKeyʸᴰ implements BãßBȍőnCoffinStoreKeyʸᴰ { public enum BãßBȍőnPartKeyʸᴰ implements BãßBȍőnCoffinStoreKeyʸᴰ {
ID_TONE, ID_TONE,
ID_LETTER,
CHINA_KEY, CHINA_KEY,
CHINA_VALUE, CHINA_VALUE,
SHIFT_BITS, SHIFT_BITS,

View file

@ -15,10 +15,6 @@ public interface BãßBȍőnPartʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> extends
return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.ID_TONE); return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.ID_TONE);
} }
default String BȍőnIdentifierLetter() {
return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.ID_LETTER);
}
default String BȍőnChinaKey() { default String BȍőnChinaKey() {
return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.CHINA_KEY); return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.CHINA_KEY);
} }
@ -41,21 +37,21 @@ public interface BãßBȍőnPartʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> extends
default String BȍőnGlyphSetNumber16(BaseGlyphSet glyphSet) { default String BȍőnGlyphSetNumber16(BaseGlyphSet glyphSet) {
T[] values = BãßInstances(); T[] values = BãßInstances();
if (values.length < 10) { if (values.length <= 16) {
return glyphSet.BȍőnGlyphSetNumber16().BȍőnCharFor(BȍőnRangTelNul()); return glyphSet.BȍőnGlyphSetNumber16().BȍőnCharFor(BȍőnRangTelNul());
} else if (values.length < 255) { } else if (values.length <= 256) {
StringBuilder buf = new StringBuilder(); StringBuilder buf = new StringBuilder();
buf.append(glyphSet.BȍőnGlyphSetNumber16().BȍőnCharFor(BȍőnRangTelNul() >> 4)); buf.append(glyphSet.BȍőnGlyphSetNumber16().BȍőnCharFor(BȍőnRangTelNul() >> 4));
buf.append(glyphSet.BȍőnGlyphSetNumber16().BȍőnCharFor(BȍőnRangTelNul() & 0x0F)); buf.append(glyphSet.BȍőnGlyphSetNumber16().BȍőnCharFor(BȍőnRangTelNul() & 0x0F));
return buf.toString(); return buf.toString();
} else if (values.length < 10000) { } else if (values.length <= 0xFFF+1) {
StringBuilder buf = new StringBuilder(); StringBuilder buf = new StringBuilder();
buf.append(glyphSet.BȍőnGlyphSetNumber16().BȍőnCharFor((BȍőnRangTelNul() >> 8) & 0x0F)); buf.append(glyphSet.BȍőnGlyphSetNumber16().BȍőnCharFor((BȍőnRangTelNul() >> 8) & 0x0F));
buf.append(glyphSet.BȍőnGlyphSetNumber16().BȍőnCharFor((BȍőnRangTelNul() >> 4) & 0x0F)); buf.append(glyphSet.BȍőnGlyphSetNumber16().BȍőnCharFor((BȍőnRangTelNul() >> 4) & 0x0F));
buf.append(glyphSet.BȍőnGlyphSetNumber16().BȍőnCharFor(BȍőnRangTelNul() & 0x0F)); buf.append(glyphSet.BȍőnGlyphSetNumber16().BȍőnCharFor(BȍőnRangTelNul() & 0x0F));
return buf.toString(); return buf.toString();
} else { } else {
throw new IllegalStateException("Can't handle more than 10000 values."); throw new IllegalStateException("Can't handle more than 0xFFF values.");
} }
} }
@ -76,31 +72,31 @@ public interface BãßBȍőnPartʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> extends
} }
default String BȍőnGlyphSetNumber36(BaseGlyphSet glyphSet) { default String BȍőnGlyphSetNumber36(BaseGlyphSet glyphSet) {
T[] values = BãßInstances();
if (values.length < 10) {
return glyphSet.BȍőnGlyphSetNumber36().BȍőnCharFor(BȍőnRangTelEen());
} else if (values.length < 100) {
int count = BȍőnRangTelNul();
int mod10 = count % 10 + 1;
int div10 = count / 10 + 1;
//System.out.println("count="+count+" div10="+div10+" mod10="+mod10);
StringBuilder buf = new StringBuilder(); StringBuilder buf = new StringBuilder();
T[] values = BãßInstances();
if (values.length <= 9) {
buf.append(glyphSet.BȍőnGlyphSetNumber36().BȍőnCharFor(BȍőnRangTelEen()));
} else if (values.length <= 99) {
int count = BȍőnRangTelNul();
int mod10 = count % 9 + 1;
int div10 = count / 9 + 1;
buf.append(glyphSet.BȍőnGlyphSetNumber36().BȍőnCharFor(div10)); buf.append(glyphSet.BȍőnGlyphSetNumber36().BȍőnCharFor(div10));
buf.append(glyphSet.BȍőnGlyphSetNumber36().BȍőnCharFor(mod10)); buf.append(glyphSet.BȍőnGlyphSetNumber36().BȍőnCharFor(mod10));
return buf.toString(); } else if (values.length <= 999) {
} else if (values.length < 1000) {
int count = BȍőnRangTelNul(); int count = BȍőnRangTelNul();
int mod10 = count % 10 + 1; int mod10 = count % 9 + 1;
int div10 = count / 10 + 1; int div10 = count / 90 + 1;
int div100 = count / 100 + 1; int div100 = count / 900 + 1;
StringBuilder buf = new StringBuilder();
buf.append(glyphSet.BȍőnGlyphSetNumber16().BȍőnCharFor(div10)); buf.append(glyphSet.BȍőnGlyphSetNumber16().BȍőnCharFor(div10));
buf.append(glyphSet.BȍőnGlyphSetNumber16().BȍőnCharFor(div100)); buf.append(glyphSet.BȍőnGlyphSetNumber16().BȍőnCharFor(div100));
buf.append(glyphSet.BȍőnGlyphSetNumber16().BȍőnCharFor(mod10)); buf.append(glyphSet.BȍőnGlyphSetNumber16().BȍőnCharFor(mod10));
return buf.toString();
} else { } else {
throw new IllegalStateException("Can't handle more than 1000 values."); throw new IllegalStateException("Can't handle more than 1000 values.");
} }
if (BaseGlyphSet.HEBREW.equals(glyphSet)) {
return buf.reverse().toString();
}
return buf.toString();
} }
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")

View file

@ -9,17 +9,16 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnClassInfoʸᴰ(name = "T02PartBinary", purpose = "The distribution by 2.") @BãßBȍőnClassInfoʸᴰ(name = "T02PartBinary", purpose = "The distribution by 2.")
public enum T02PartBinary implements BãßBȍőnPartʸᴰ<T02PartBinary> { public enum T02PartBinary implements BãßBȍőnPartʸᴰ<T02PartBinary> {
PART_1("˧","0", "", "low"), PART_1("˧", "", "low"),
PART_2("","1", "", "high"), PART_2("", "", "high"),
; ;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance(); private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; } public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public static int LENGTH() { return values().length; }; public static int LENGTH() { return values().length; };
private T02PartBinary(String idTone, String idLetter, String chinaKey, String chinaValue) { private T02PartBinary(String idTone, String chinaKey, String chinaValue) {
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_TONE, idTone); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_TONE, idTone);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_LETTER, idLetter);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue);
BBC.PUT_MAP(BãßBȍőnPartKeyʸᴰ.MAP_TONE); BBC.PUT_MAP(BãßBȍőnPartKeyʸᴰ.MAP_TONE);

View file

@ -9,18 +9,17 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnClassInfoʸᴰ(name = "T03PartTrit", purpose = "The distribution by 3.") @BãßBȍőnClassInfoʸᴰ(name = "T03PartTrit", purpose = "The distribution by 3.")
public enum T03PartTrit implements BãßBȍőnPartʸᴰ<T03PartTrit> { public enum T03PartTrit implements BãßBȍőnPartʸᴰ<T03PartTrit> {
PART_1("˦","0","","1"), PART_1("˦","","1"),
PART_2("˧","1","","2"), PART_2("˧","","2"),
PART_3("˨","2","","3"), PART_3("˨","","3"),
; ;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance(); private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; } public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public static int LENGTH() { return values().length; }; public static int LENGTH() { return values().length; };
private T03PartTrit(String idTone, String idLetter, String chinaKey, String chinaValue) { private T03PartTrit(String idTone, String chinaKey, String chinaValue) {
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_TONE, idTone); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_TONE, idTone);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_LETTER, idLetter);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue);
BBC.PUT_MAP(BãßBȍőnPartKeyʸᴰ.MAP_TONE); BBC.PUT_MAP(BãßBȍőnPartKeyʸᴰ.MAP_TONE);

View file

@ -10,19 +10,18 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnPartAlt1Infoʸᴰ(name = "Cardinal direction", website = "https://simple.wikipedia.org/wiki/Cardinal_direction") @BãßBȍőnPartAlt1Infoʸᴰ(name = "Cardinal direction", website = "https://simple.wikipedia.org/wiki/Cardinal_direction")
public enum T04PartQuad implements BãßBȍőnPartAlt1ʸᴰ<T04PartQuad> { public enum T04PartQuad implements BãßBȍőnPartAlt1ʸᴰ<T04PartQuad> {
PART_1("˥","0","","north","N"), PART_1("˥","","north","N"),
PART_2("","1","","east", "E"), PART_2("","","east", "E"),
PART_3("","2","西","west", "W"), PART_3("","西","west", "W"),
PART_4("˩","3","","south","S"), PART_4("˩","","south","S"),
; ;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance(); private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; } public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public static int LENGTH() { return values().length; }; public static int LENGTH() { return values().length; };
private T04PartQuad(String idTone, String idLetter, String chinaKey, String chinaValue, String alt1Value) { private T04PartQuad(String idTone, String chinaKey, String chinaValue, String alt1Value) {
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_TONE, idTone); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_TONE, idTone);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_LETTER, idLetter);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value);

View file

@ -11,20 +11,19 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnPartAlt2Infoʸᴰ(name = "Pythagorean Interpretations", website = "http://wisdomofhypatia.com/OM/BA/PP.html") @BãßBȍőnPartAlt2Infoʸᴰ(name = "Pythagorean Interpretations", website = "http://wisdomofhypatia.com/OM/BA/PP.html")
public enum T05PartPental implements BãßBȍőnPartAlt2ʸᴰ<T05PartPental> { public enum T05PartPental implements BãßBȍőnPartAlt2ʸᴰ<T05PartPental> {
PART_1("˥","0","","fire", "EI","heile"), PART_1("˥","","fire", "EI","heile"),
PART_2("˦","1","","water","U", "hudor"), PART_2("˦","","water","U", "hudor"),
PART_3("˧","2","","wood" ,"I", "idea"), PART_3("˧","","wood" ,"I", "idea"),
PART_4("˨","3","","gold", "A", "aer"), PART_4("˨","","gold", "A", "aer"),
PART_5("˩","4","","earth","G", "gaia"), PART_5("˩","","earth","G", "gaia"),
; ;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance(); private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; } public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public static int LENGTH() { return values().length; }; public static int LENGTH() { return values().length; };
private T05PartPental(String idTone, String idLetter, String chinaKey, String chinaValue, String alt1Value, String alt2Value) { private T05PartPental(String idTone, String chinaKey, String chinaValue, String alt1Value, String alt2Value) {
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_TONE, idTone); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_TONE, idTone);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_LETTER, idLetter);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value);

View file

@ -10,21 +10,20 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnPartAlt1Infoʸᴰ(name = "ADFGVX cipher", website = "https://en.wikipedia.org/wiki/ADFGVX_cipher") @BãßBȍőnPartAlt1Infoʸᴰ(name = "ADFGVX cipher", website = "https://en.wikipedia.org/wiki/ADFGVX_cipher")
public enum T06PartSeximal implements BãßBȍőnPartAlt1ʸᴰ<T06PartSeximal> { public enum T06PartSeximal implements BãßBȍőnPartAlt1ʸᴰ<T06PartSeximal> {
PART_1("˦","0","","4","A"), PART_1("˦","","4","A"),
PART_2("˨","1","","5","D"), PART_2("˨","","5","D"),
PART_3("","2","","6","F"), PART_3("","","6","F"),
PART_4("","3","","7","G"), PART_4("","","7","G"),
PART_5("","4","","8","V"), PART_5("","","8","V"),
PART_6("","5","","9","X"), PART_6("","","9","X"),
; ;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance(); private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; } public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public static int LENGTH() { return values().length; }; public static int LENGTH() { return values().length; };
private T06PartSeximal(String idTone, String idLetter, String chinaKey, String chinaValue, String alt1Value) { private T06PartSeximal(String idTone, String chinaKey, String chinaValue, String alt1Value) {
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_TONE, idTone); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_TONE, idTone);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_LETTER, idLetter);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value);

View file

@ -10,22 +10,21 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnPartAlt1Infoʸᴰ(name = "Fallen sign", website = "https://en.wikipedia.org/wiki/Classical_planet#Western_astrology") @BãßBȍőnPartAlt1Infoʸᴰ(name = "Fallen sign", website = "https://en.wikipedia.org/wiki/Classical_planet#Western_astrology")
public enum T07PartPlanIt implements BãßBȍőnPartAlt1ʸᴰ<T07PartPlanIt> { public enum T07PartPlanIt implements BãßBȍőnPartAlt1ʸᴰ<T07PartPlanIt> {
PART_1("˥","0","♎︎","libra", "天秤座"), PART_1("˥","♎︎","libra", "天秤座"),
PART_2("","1","♏︎","scorpio", "天蠍座"), PART_2("","♏︎","scorpio", "天蠍座"),
PART_3("","2","♓︎","pisces", "雙魚座"), PART_3("","♓︎","pisces", "雙魚座"),
PART_4("","3","♍︎","virgo", "處女座"), PART_4("","♍︎","virgo", "處女座"),
PART_5("","4","♋︎","cancer", "癌症"), PART_5("","♋︎","cancer", "癌症"),
PART_6("","5","♑︎","capricorn","摩羯座"), PART_6("","♑︎","capricorn","摩羯座"),
PART_7("˩","7","♈︎","aries", "白羊座"), PART_7("˩","♈︎","aries", "白羊座"),
; ;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance(); private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; } public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public static int LENGTH() { return values().length; }; public static int LENGTH() { return values().length; };
private T07PartPlanIt(String idTone, String idLetter, String chinaKey, String chinaValue, String alt1Value) { private T07PartPlanIt(String idTone, String chinaKey, String chinaValue, String alt1Value) {
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_TONE, idTone); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_TONE, idTone);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_LETTER, idLetter);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value);

View file

@ -11,14 +11,14 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnPartAlt2Infoʸᴰ(name = "Relative Tone Sequence", website = "https://en.wikipedia.org/wiki/Tone_letter") @BãßBȍőnPartAlt2Infoʸᴰ(name = "Relative Tone Sequence", website = "https://en.wikipedia.org/wiki/Tone_letter")
public enum T08PartOctal implements BãßBȍőnPartAlt2ʸᴰ<T08PartOctal>,BãßBȍőnPartShiftBitsʸᴰ<T08PartOctal> { public enum T08PartOctal implements BãßBȍőnPartAlt2ʸᴰ<T08PartOctal>,BãßBȍőnPartShiftBitsʸᴰ<T08PartOctal> {
PART_1("˥","0","","heart","˧˥˩","˥˩˧", 0), PART_1("˥","","heart","˧˥˩","˥˩˧", 0),
PART_2("˩","1","","head", "˧˩˥","˩˥˧", 3), PART_2("˩","","head", "˧˩˥","˩˥˧", 3),
PART_3("","2","","eye", "˧˥˦","˥˦˧", 6), PART_3("","","eye", "˧˥˦","˥˦˧", 6),
PART_4("","3","","mouth","˧˩˨","˩˨˧", 9), PART_4("","","mouth","˧˩˨","˩˨˧", 9),
PART_5("","4","","arm", "˧˦˦","˦˦˧", 12), PART_5("","","arm", "˧˦˦","˦˦˧", 12),
PART_6("","5","","hand", "˧˨˨","˨˨˧", 15), PART_6("","","hand", "˧˨˨","˨˨˧", 15),
PART_7("","6","","leg", "˧˥˥","˥˥˧", 18), PART_7("","","leg", "˧˥˥","˥˥˧", 18),
PART_8("","7","","feet", "˧˩˩","˩˩˧", 21), PART_8("","","feet", "˧˩˩","˩˩˧", 21),
; ;
public static int BIT_COUNT = 3; public static int BIT_COUNT = 3;
@ -27,9 +27,8 @@ public enum T08PartOctal implements BãßBȍőnPartAlt2ʸᴰ<T08PartOctal>,Bãß
public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; } public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public static int LENGTH() { return values().length; }; public static int LENGTH() { return values().length; };
private T08PartOctal(String identifierTone, String identifierLetter, String chinaKey, String chinaValue, String alt1Value, String alt2Value, int shiftBits) { private T08PartOctal(String idTone, String chinaKey, String chinaValue, String alt1Value, String alt2Value, int shiftBits) {
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_TONE, identifierTone); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_TONE, idTone);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_LETTER, identifierLetter);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.SHIFT_BITS, Integer.valueOf(shiftBits)); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.SHIFT_BITS, Integer.valueOf(shiftBits));

View file

@ -7,27 +7,26 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnClassInfoʸᴰ(name = "T10PartDecimal", purpose = "The distribution by 10.") @BãßBȍőnClassInfoʸᴰ(name = "T10PartDecimal", purpose = "The distribution by 10.")
public enum T10PartDecimal implements BãßBȍőnPartAlt4ʸᴰ<T10PartDecimal> { public enum T10PartDecimal implements BãßBȍőnPartʸᴰ<T10PartDecimal> {
PART_1 ("˥","ō","","zero"), PART_1 ("˥","","zero"),
PART_2 ("˦","α","","one"), PART_2 ("˦","","one"),
PART_3 ("˧","β","","two"), PART_3 ("˧","","two"),
PART_4 ("˨","γ","","three"), PART_4 ("˨","","three"),
PART_5 ("˩","δ","","four"), PART_5 ("˩","","four"),
PART_6 ("","ε","","five"), PART_6 ("","","five"),
PART_7 ("","ϝ","","six"), PART_7 ("","","six"),
PART_8 ("","ζ","","seven"), PART_8 ("","","seven"),
PART_9 ("","η","","eight"), PART_9 ("","","eight"),
PART_10("","θ","","nine"), PART_10("","","nine"),
; ;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance(); private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; } public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public static int LENGTH() { return values().length; }; public static int LENGTH() { return values().length; };
private T10PartDecimal(String idTone, String idLetter, String chinaKey, String chinaValue) { private T10PartDecimal(String idTone, String chinaKey, String chinaValue) {
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_TONE, idTone); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_TONE, idTone);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_LETTER, idLetter);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue);
BBC.PUT_MAP(BãßBȍőnPartKeyʸᴰ.MAP_TONE); BBC.PUT_MAP(BãßBȍőnPartKeyʸᴰ.MAP_TONE);

View file

@ -10,26 +10,25 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnPartAlt1Infoʸᴰ(name = "Tamil numerals", website = "https://en.wikipedia.org/wiki/Tamil_numerals") @BãßBȍőnPartAlt1Infoʸᴰ(name = "Tamil numerals", website = "https://en.wikipedia.org/wiki/Tamil_numerals")
public enum T11PartUndecimal implements BãßBȍőnPartAlt1ʸᴰ<T11PartUndecimal> { public enum T11PartUndecimal implements BãßBȍőnPartAlt1ʸᴰ<T11PartUndecimal> {
PART_1 ("˥","0","","walk", ""), PART_1 ("˥","","walk", ""),
PART_2 ("","1","","run", ""), PART_2 ("","","run", ""),
PART_3 ("","2","","sit", ""), PART_3 ("","","sit", ""),
PART_4 ("","3","","hang", ""), PART_4 ("","","hang", ""),
PART_5 ("","4","","lay", ""), PART_5 ("","","lay", ""),
PART_6 ("","5","","jump", ""), PART_6 ("","","jump", ""),
PART_7 ("","6","","drop", ""), PART_7 ("","","drop", ""),
PART_8 ("","7","","lonely",""), PART_8 ("","","lonely",""),
PART_9 ("","8","","talk", ""), PART_9 ("","","talk", ""),
PART_10("","9","","life", ""), PART_10("","","life", ""),
PART_11("˩","=","","mate", ""), PART_11("˩","","mate", ""),
; ;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance(); private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; } public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public static int LENGTH() { return values().length; }; public static int LENGTH() { return values().length; };
private T11PartUndecimal(String idTone, String idLetter, String chinaKey, String chinaValue, String alt1Value) { private T11PartUndecimal(String idTone, String chinaKey, String chinaValue, String alt1Value) {
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_TONE, idTone); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_TONE, idTone);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_LETTER, idLetter);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value);

View file

@ -10,27 +10,26 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnPartAlt1Infoʸᴰ(name = "Transdecimal symbols", website = "https://en.wikipedia.org/wiki/Duodecimal#Transdecimal_symbols") @BãßBȍőnPartAlt1Infoʸᴰ(name = "Transdecimal symbols", website = "https://en.wikipedia.org/wiki/Duodecimal#Transdecimal_symbols")
public enum T12PartUncial implements BãßBȍőnPartAlt1ʸᴰ<T12PartUncial> { public enum T12PartUncial implements BãßBȍőnPartAlt1ʸᴰ<T12PartUncial> {
PART_1 ("˥","0","","sun", "0"), PART_1 ("˥","","sun", "0"),
PART_2 ("˧","1","","moon", "1"), PART_2 ("˧","","moon", "1"),
PART_3 ("˩","2","","star", "2"), PART_3 ("˩","","star", "2"),
PART_4 ("","3","","mountain","3"), PART_4 ("","","mountain","3"),
PART_5 ("","4","","dragon", "4"), PART_5 ("","","dragon", "4"),
PART_6 ("","5","","phoenix", "5"), PART_6 ("","","phoenix", "5"),
PART_7 ("","6","","cup", "6"), PART_7 ("","","cup", "6"),
PART_8 ("","7","","pondweed","7"), PART_8 ("","","pondweed","7"),
PART_9 ("","8","","furnace", "8"), PART_9 ("","","furnace", "8"),
PART_10("","9","","seed", "9"), PART_10("","","seed", "9"),
PART_11("","A","","axe", "\u218a"), // TURNED DIGIT TWO PART_11("","","axe", "\u218a"), // TURNED DIGIT TWO
PART_12("","B","","nozero", "\u218b"), // TURNED DIGIT THREE PART_12("","","nozero", "\u218b"), // TURNED DIGIT THREE
; ;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance(); private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; } public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public static int LENGTH() { return values().length; }; public static int LENGTH() { return values().length; };
private T12PartUncial(String idTone, String idLetter, String chinaKey, String chinaValue, String alt1Value) { private T12PartUncial(String idTone, String chinaKey, String chinaValue, String alt1Value) {
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_TONE, idTone); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_TONE, idTone);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_LETTER, idLetter);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value);

View file

@ -9,31 +9,30 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnClassInfoʸᴰ(name = "T16PartHex", purpose = "The distribution by 16.") @BãßBȍőnClassInfoʸᴰ(name = "T16PartHex", purpose = "The distribution by 16.")
public enum T16PartHex implements BãßBȍőnPartʸᴰ<T16PartHex> { public enum T16PartHex implements BãßBȍőnPartʸᴰ<T16PartHex> {
PART_1 ("˥","0","","hydrogen"), PART_1 ("˥","","hydrogen"),
PART_2 ("˦","1","","helium"), PART_2 ("˦","","helium"),
PART_3 ("˨","2","","lithium"), PART_3 ("˨","","lithium"),
PART_4 ("˩","3","","beryllium"), PART_4 ("˩","","beryllium"),
PART_5 ("","4","","boron"), PART_5 ("","","boron"),
PART_6 ("","5","","carbon"), PART_6 ("","","carbon"),
PART_7 ("","6","","nitrogen"), PART_7 ("","","nitrogen"),
PART_8 ("","7","","oxygen"), PART_8 ("","","oxygen"),
PART_9 ("","8","","fluorine"), PART_9 ("","","fluorine"),
PART_10("","9","","neon"), PART_10("","","neon"),
PART_11("","A","","sodium"), PART_11("","","sodium"),
PART_12("","B","","magnesium"), PART_12("","","magnesium"),
PART_13("","C","","aluminium"), PART_13("","","aluminium"),
PART_14("","D","","silicon"), PART_14("","","silicon"),
PART_15("","E","","phosphorus"), PART_15("","","phosphorus"),
PART_16("","F","","sulfur"), PART_16("","","sulfur"),
; ;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance(); private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; } public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public static int LENGTH() { return values().length; }; public static int LENGTH() { return values().length; };
private T16PartHex(String idTone, String idLetter, String chinaKey, String chinaValue) { private T16PartHex(String idTone, String chinaKey, String chinaValue) {
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_TONE, idTone); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_TONE, idTone);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_LETTER, idLetter);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue);
BBC.PUT_MAP(BãßBȍőnPartKeyʸᴰ.MAP_TONE); BBC.PUT_MAP(BãßBȍőnPartKeyʸᴰ.MAP_TONE);

View file

@ -12,31 +12,32 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnClassInfoʸᴰ(name = "T20PartScore", purpose = "The distribution by 20.") @BãßBȍőnClassInfoʸᴰ(name = "T20PartScore", purpose = "The distribution by 20.")
@BãßBȍőnPartAlt1Infoʸᴰ(name = "Vigesimal", website = "https://en.wikipedia.org/wiki/Vigesimal#Places") @BãßBȍőnPartAlt1Infoʸᴰ(name = "SI-Unit Types", website = "https://en.wikipedia.org/wiki/Metric_prefix")
@BãßBȍőnPartAlt2Infoʸᴰ(name = "Vigesimal Alternative", website = "https://en.wikipedia.org/wiki/Vigesimal#Places") @BãßBȍőnPartAlt2Infoʸᴰ(name = "Vigesimal", website = "https://en.wikipedia.org/wiki/Vigesimal#Places")
@BãßBȍőnPartAlt3Infoʸᴰ(name = "Open Location Code", website = "https://en.wikipedia.org/wiki/Open_Location_Code") @BãßBȍőnPartAlt3Infoʸᴰ(name = "Vigesimal Alternative", website = "https://en.wikipedia.org/wiki/Vigesimal#Places")
public enum T20PartScore implements BãßBȍőnPartAlt3ʸᴰ<T20PartScore> { @BãßBȍőnPartAlt4Infoʸᴰ(name = "Open Location Code", website = "https://en.wikipedia.org/wiki/Open_Location_Code")
public enum T20PartScore implements BãßBȍőnPartAlt4ʸᴰ<T20PartScore> {
PART_1 ("˥","Y", "","yotta","0","0","2"), PART_1 ("˥", "", "yotta", "Y", "0", "0", "2"),
PART_2 ("˦","Z", "","zetta","1","1","3"), PART_2 ("˦", "", "zetta", "Z", "1", "1", "3"),
PART_3 ("˧","E", "","exa", "2","2","4"), PART_3 ("˧", "", "exa", "E", "2", "2", "4"),
PART_4 ("˨","P", "","peta", "3","3","5"), PART_4 ("˨", "", "peta", "P", "3", "3", "5"),
PART_5 ("˩","T", "","tera", "4","4","6"), PART_5 ("˩", "", "tera", "T", "4", "4", "6"),
PART_6 ("","G", "","giga", "5","5","7"), PART_6 ("", "", "giga", "G", "5", "5", "7"),
PART_7 ("","M", "","mega", "6","6","8"), PART_7 ("", "", "mega", "M", "6", "6", "8"),
PART_8 ("","k", "","kilo", "7","7","9"), PART_8 ("", "", "kilo", "k", "7", "7", "9"),
PART_9 ("","h", "","hecto","8","8","C"), PART_9 ("", "", "hecto", "h", "8", "8", "C"),
PART_10("","da","","deca", "9","9","F"), PART_10("", "", "deca", "da","9", "9", "F"),
PART_11("","d", "","deci", "A","A","G"), PART_11("", "", "deci", "d", "A", "A", "G"),
PART_12("","c", "","centi","B","B","H"), PART_12("", "", "centi", "c", "B", "B", "H"),
PART_13("","m", "","milli","C","C","J"), PART_13("", "", "milli", "m", "C", "C", "J"),
PART_14("","µ", "","micro","D","D","M"), PART_14("", "", "micro", "µ", "D", "D", "M"),
PART_15("","n", "","nano", "E","E","P"), PART_15("", "", "nano", "n", "E", "E", "P"),
PART_16("","p", "","pico", "F","F","Q"), PART_16("", "", "pico", "p", "F", "F", "Q"),
PART_17("","f", "","femto","G","G","R"), PART_17("", "", "femto", "f", "G", "G", "R"),
PART_18("","a", "","atto", "H","H","V"), PART_18("", "", "atto", "a", "H", "H", "V"),
PART_19("","z", "","zepto","I","J","W"), PART_19("", "", "zepto", "z", "I", "J", "W"),
PART_20("","y", "","yocto","J","K","X"), PART_20("", "", "yocto", "y", "J", "K", "X"),
; ;
private static final Map<String, T20PartScore> OPENLC_MAP = Collections.unmodifiableMap( private static final Map<String, T20PartScore> OPENLC_MAP = Collections.unmodifiableMap(
@ -45,15 +46,15 @@ public enum T20PartScore implements BãßBȍőnPartAlt3ʸᴰ<T20PartScore> {
public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; } public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public static int LENGTH() { return values().length; }; public static int LENGTH() { return values().length; };
private T20PartScore(String idTone, String idLetter, String chinaKey, String chinaValue, private T20PartScore(String idTone, String chinaKey, String chinaValue,
String alt1Value, String alt2Value, String alt3Value) { String alt1Value, String alt2Value, String alt3Value, String alt4Value) {
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_TONE, idTone); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_TONE, idTone);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_LETTER, idLetter);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_2_VALUE, alt2Value); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_2_VALUE, alt2Value);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_3_VALUE, alt3Value); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_3_VALUE, alt3Value);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_4_VALUE, alt4Value);
BBC.PUT_MAP(BãßBȍőnPartKeyʸᴰ.MAP_TONE); BBC.PUT_MAP(BãßBȍőnPartKeyʸᴰ.MAP_TONE);
BBC.PUT_MAP(BãßBȍőnPartKeyʸᴰ.MAP_CHINA); BBC.PUT_MAP(BãßBȍőnPartKeyʸᴰ.MAP_CHINA);
} }

View file

@ -9,78 +9,77 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnClassInfoʸᴰ(name = "T60Sexagesimal", purpose = "The distribution by 60.") @BãßBȍőnClassInfoʸᴰ(name = "T60Sexagesimal", purpose = "The distribution by 60.")
public enum T60PartSexagesimal implements BãßBȍőnPartʸᴰ<T60PartSexagesimal> { public enum T60PartSexagesimal implements BãßBȍőnPartʸᴰ<T60PartSexagesimal> {
PART_1 ("˧˩˥","ια","","cow"), PART_1 ("˧˩˥","","cow"),
PART_2 ("˧˥˦","ιβ","","chicken"), PART_2 ("˧˥˦","","chicken"),
PART_3 ("˧˩˨","ιγ","","sheep"), PART_3 ("˧˩˨","","sheep"),
PART_4 ("˧˦˦","ιδ","","wolf"), PART_4 ("˧˦˦","","wolf"),
PART_5 ("˧˨˨","ιε","","rat"), PART_5 ("˧˨˨","","rat"),
PART_6 ("˧˥˥","ιϚ","","cat"), PART_6 ("˧˥˥","","cat"),
PART_7 ("˧˩˩","ιζ","","rabbit"), PART_7 ("˧˩˩","","rabbit"),
PART_8 ("˥˩˧","ιη","","ape"), PART_8 ("˥˩˧","","ape"),
PART_9 ("˩˥˧","ιθ","","snake"), PART_9 ("˩˥˧","","snake"),
PART_10("˥˦˧","κα","","horse"), PART_10("˥˦˧","","horse"),
PART_11("˩˨˧","κβ","","elepant"), PART_11("˩˨˧","","elepant"),
PART_12("˦˦˧","κγ","","leopard"), PART_12("˦˦˧","","leopard"),
PART_13("˨˨˧","κδ","","crow"), PART_13("˨˨˧","","crow"),
PART_14("˥˥˧","κε","","pig"), PART_14("˥˥˧","","pig"),
PART_15("˩˩˧","κϚ","","dog"), PART_15("˩˩˧","","dog"),
PART_16("꜔꜒꜖","κζ","","fish"), PART_16("꜔꜒꜖","","fish"),
PART_17("꜔꜒꜓","κη","","shrimp"), PART_17("꜔꜒꜓","","shrimp"),
PART_18("꜔꜖꜕","κθ","","whale"), PART_18("꜔꜖꜕","","whale"),
PART_19("꜔꜓꜓","λα","","bear"), PART_19("꜔꜓꜓","","bear"),
PART_20("꜔꜕꜕","λβ","鹿","deer"), PART_20("꜔꜕꜕","鹿","deer"),
PART_21("꜔꜒꜒","λγ","","donkey"), PART_21("꜔꜒꜒","","donkey"),
PART_22("꜔꜖꜖","λδ","","tapir"), PART_22("꜔꜖꜖","","tapir"),
PART_23("꜒꜖꜔","λε","","bird"), PART_23("꜒꜖꜔","","bird"),
PART_24("꜖꜒꜔","λϚ","","crane"), PART_24("꜖꜒꜔","","crane"),
PART_25("꜒꜓꜔","λζ","","eagle"), PART_25("꜒꜓꜔","","eagle"),
PART_26("꜖꜕꜔","λη","","falcon"), PART_26("꜖꜕꜔","","falcon"),
PART_27("꜓꜓꜔","λθ","","goose"), PART_27("꜓꜓꜔","","goose"),
PART_28("꜕꜕꜔","μα","","salamander"), PART_28("꜕꜕꜔","","salamander"),
PART_29("꜒꜒꜔","μβ","","turtle"), PART_29("꜒꜒꜔","","turtle"),
PART_30("꜖꜖꜔","μγ","","centipede"), PART_30("꜖꜖꜔","","centipede"),
PART_31("꜊꜌꜈","μδ","","fly"), PART_31("꜊꜌꜈","","fly"),
PART_32("꜊꜈꜉","με","","scorpion"), PART_32("꜊꜈꜉","","scorpion"),
PART_33("꜊꜌꜋","μϚ","","worm"), PART_33("꜊꜌꜋","","worm"),
PART_34("꜊꜉꜉","μζ","","tiger"), PART_34("꜊꜉꜉","","tiger"),
PART_35("꜊꜋꜋","μη","","camel"), PART_35("꜊꜋꜋","","camel"),
PART_36("꜊꜈꜈","μθ","","monkey"), PART_36("꜊꜈꜈","","monkey"),
PART_37("꜊꜌꜌","να","","shark"), PART_37("꜊꜌꜌","","shark"),
PART_38("꜈꜌꜊","νβ","","duck"), PART_38("꜈꜌꜊","","duck"),
PART_39("꜌꜈꜊","νγ","","mustard"), PART_39("꜌꜈꜊","","mustard"),
PART_40("꜈꜉꜊","νδ","","salt"), PART_40("꜈꜉꜊","","salt"),
PART_41("꜌꜋꜊","νε","","pepper"), PART_41("꜌꜋꜊","","pepper"),
PART_42("꜉꜉꜊","νϚ","","ginger"), PART_42("꜉꜉꜊","","ginger"),
PART_43("꜋꜋꜊","νζ","","corn"), PART_43("꜋꜋꜊","","corn"),
PART_44("꜈꜈꜊","νη","","beans"), PART_44("꜈꜈꜊","","beans"),
PART_45("꜌꜌꜊","νθ","","pomelos"), PART_45("꜌꜌꜊","","pomelos"),
PART_46("꜏꜍꜑","ξα","","jujube"), PART_46("꜏꜍꜑","","jujube"),
PART_47("꜏꜍꜎","ξβ","","melon"), PART_47("꜏꜍꜎","","melon"),
PART_48("꜏꜑꜐","ξγ","","grape"), PART_48("꜏꜑꜐","","grape"),
PART_49("꜏꜎꜎","ξδ","","plum"), PART_49("꜏꜎꜎","","plum"),
PART_50("꜏꜐꜐","ξε","","lime"), PART_50("꜏꜐꜐","","lime"),
PART_51("꜏꜍꜍","ξϚ","","pear"), PART_51("꜏꜍꜍","","pear"),
PART_52("꜏꜑꜑","ξζ","","banana"), PART_52("꜏꜑꜑","","banana"),
PART_53("꜍꜑꜏","ξη","","lemon"), PART_53("꜍꜑꜏","","lemon"),
PART_54("꜑꜍꜏","ξθ","","persimmon"), PART_54("꜑꜍꜏","","persimmon"),
PART_55("꜍꜎꜏","οα","","orange"), PART_55("꜍꜎꜏","","orange"),
PART_56("꜑꜐꜏","οβ","","peach"), PART_56("꜑꜐꜏","","peach"),
PART_57("꜎꜎꜏","ογ","","apricot"), PART_57("꜎꜎꜏","","apricot"),
PART_58("꜐꜐꜏","οδ","","strawberry"), PART_58("꜐꜐꜏","","strawberry"),
PART_59("꜍꜍꜏","οε","","patato"), PART_59("꜍꜍꜏","","patato"),
PART_60("꜑꜑꜏","οϚ","","apple"), PART_60("꜑꜑꜏","","apple"),
; ;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance(); private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; } public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public static int LENGTH() { return values().length; }; public static int LENGTH() { return values().length; };
private T60PartSexagesimal(String idTone, String idLetter, String chinaKey, String chinaValue) { private T60PartSexagesimal(String idTone, String chinaKey, String chinaValue) {
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_TONE, idTone); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_TONE, idTone);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ID_LETTER, idLetter);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue);
BBC.PUT_MAP(BãßBȍőnPartKeyʸᴰ.MAP_TONE); BBC.PUT_MAP(BãßBȍőnPartKeyʸᴰ.MAP_TONE);

View file

@ -60,21 +60,4 @@ public class BasePartFactoryTest {
Assertions.assertTrue(global.size() > 1); Assertions.assertTrue(global.size() > 1);
Assertions.assertTrue(duplicate); Assertions.assertTrue(duplicate);
} }
@Test
public void testGlobalLetterMap() {
boolean duplicate = false;
Map<String,String> global = new HashMap<>();
for (int base:BasePartFactory.INSTANCE.BãßBases()) {
for (BãßBȍőnPartʸᴰ<?> part:BasePartFactory.INSTANCE.BãßBuildPartsByBase(base)) {
if (global.containsKey(part.BȍőnIdentifierLetter())) {
duplicate = true;
break;
}
global.put(part.BȍőnIdentifierLetter(), part.BȍőnChinaValue());
}
}
Assertions.assertTrue(global.size() > 1);
Assertions.assertTrue(duplicate);
}
} }

View file

@ -13,7 +13,6 @@ public class T02PartBinaryTest {
public void testBasePart() { public void testBasePart() {
for (T02PartBinary value:T02PartBinary.values()) { for (T02PartBinary value:T02PartBinary.values()) {
Assertions.assertNotNull(value.BȍőnIdentifierTone()); Assertions.assertNotNull(value.BȍőnIdentifierTone());
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
Assertions.assertNotNull(value.BȍőnChinaKey()); Assertions.assertNotNull(value.BȍőnChinaKey());
Assertions.assertNotNull(value.BȍőnChinaValue()); Assertions.assertNotNull(value.BȍőnChinaValue());
} }

View file

@ -13,7 +13,6 @@ public class T03PartTritTest {
public void testBasePart() { public void testBasePart() {
for (T03PartTrit value:T03PartTrit.values()) { for (T03PartTrit value:T03PartTrit.values()) {
Assertions.assertNotNull(value.BȍőnIdentifierTone()); Assertions.assertNotNull(value.BȍőnIdentifierTone());
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
Assertions.assertNotNull(value.BȍőnChinaKey()); Assertions.assertNotNull(value.BȍőnChinaKey());
Assertions.assertNotNull(value.BȍőnChinaValue()); Assertions.assertNotNull(value.BȍőnChinaValue());
} }

View file

@ -13,7 +13,6 @@ public class T04PartQuadTest {
public void testBasePart() { public void testBasePart() {
for (T04PartQuad value:T04PartQuad.values()) { for (T04PartQuad value:T04PartQuad.values()) {
Assertions.assertNotNull(value.BȍőnIdentifierTone()); Assertions.assertNotNull(value.BȍőnIdentifierTone());
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
Assertions.assertNotNull(value.BȍőnChinaKey()); Assertions.assertNotNull(value.BȍőnChinaKey());
Assertions.assertNotNull(value.BȍőnChinaValue()); Assertions.assertNotNull(value.BȍőnChinaValue());
Assertions.assertNotNull(value.BȍőnAlt1Value()); Assertions.assertNotNull(value.BȍőnAlt1Value());

View file

@ -13,7 +13,6 @@ public class T05PartPentalTest {
public void testBasePart() { public void testBasePart() {
for (T05PartPental value:T05PartPental.values()) { for (T05PartPental value:T05PartPental.values()) {
Assertions.assertNotNull(value.BȍőnIdentifierTone()); Assertions.assertNotNull(value.BȍőnIdentifierTone());
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
Assertions.assertNotNull(value.BȍőnChinaKey()); Assertions.assertNotNull(value.BȍőnChinaKey());
Assertions.assertNotNull(value.BȍőnChinaValue()); Assertions.assertNotNull(value.BȍőnChinaValue());
} }

View file

@ -13,7 +13,6 @@ public class T06PartSeximalTest {
public void testBasePart() { public void testBasePart() {
for (T06PartSeximal value:T06PartSeximal.values()) { for (T06PartSeximal value:T06PartSeximal.values()) {
Assertions.assertNotNull(value.BȍőnIdentifierTone()); Assertions.assertNotNull(value.BȍőnIdentifierTone());
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
Assertions.assertNotNull(value.BȍőnChinaKey()); Assertions.assertNotNull(value.BȍőnChinaKey());
Assertions.assertNotNull(value.BȍőnChinaValue()); Assertions.assertNotNull(value.BȍőnChinaValue());
Assertions.assertNotNull(value.BȍőnAlt1Value()); Assertions.assertNotNull(value.BȍőnAlt1Value());

View file

@ -13,7 +13,6 @@ public class T07PartPlanItTest {
public void testBasePart() { public void testBasePart() {
for (T07PartPlanIt value:T07PartPlanIt.values()) { for (T07PartPlanIt value:T07PartPlanIt.values()) {
Assertions.assertNotNull(value.BȍőnIdentifierTone()); Assertions.assertNotNull(value.BȍőnIdentifierTone());
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
Assertions.assertNotNull(value.BȍőnChinaKey()); Assertions.assertNotNull(value.BȍőnChinaKey());
Assertions.assertNotNull(value.BȍőnChinaValue()); Assertions.assertNotNull(value.BȍőnChinaValue());
Assertions.assertNotNull(value.BȍőnAlt1Value()); Assertions.assertNotNull(value.BȍőnAlt1Value());

View file

@ -13,7 +13,6 @@ public class T08PartOctalTest {
public void testBasePart() { public void testBasePart() {
for (T08PartOctal value:T08PartOctal.values()) { for (T08PartOctal value:T08PartOctal.values()) {
Assertions.assertNotNull(value.BȍőnIdentifierTone()); Assertions.assertNotNull(value.BȍőnIdentifierTone());
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
Assertions.assertNotNull(value.BȍőnChinaKey()); Assertions.assertNotNull(value.BȍőnChinaKey());
Assertions.assertNotNull(value.BȍőnChinaValue()); Assertions.assertNotNull(value.BȍőnChinaValue());
Assertions.assertNotNull(value.BȍőnAlt1Value()); Assertions.assertNotNull(value.BȍőnAlt1Value());

View file

@ -13,7 +13,6 @@ public class T10PartDecimalTest {
public void testBasePart() { public void testBasePart() {
for (T10PartDecimal value:T10PartDecimal.values()) { for (T10PartDecimal value:T10PartDecimal.values()) {
Assertions.assertNotNull(value.BȍőnIdentifierTone()); Assertions.assertNotNull(value.BȍőnIdentifierTone());
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
Assertions.assertNotNull(value.BȍőnChinaKey()); Assertions.assertNotNull(value.BȍőnChinaKey());
Assertions.assertNotNull(value.BȍőnChinaValue()); Assertions.assertNotNull(value.BȍőnChinaValue());
} }

View file

@ -13,7 +13,6 @@ public class T11PartUndecimalTest {
public void testBasePart() { public void testBasePart() {
for (T11PartUndecimal value:T11PartUndecimal.values()) { for (T11PartUndecimal value:T11PartUndecimal.values()) {
Assertions.assertNotNull(value.BȍőnIdentifierTone()); Assertions.assertNotNull(value.BȍőnIdentifierTone());
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
Assertions.assertNotNull(value.BȍőnChinaKey()); Assertions.assertNotNull(value.BȍőnChinaKey());
Assertions.assertNotNull(value.BȍőnChinaValue()); Assertions.assertNotNull(value.BȍőnChinaValue());
} }

View file

@ -13,7 +13,6 @@ public class T12PartUncialTest {
public void testBasePart() { public void testBasePart() {
for (T12PartUncial value:T12PartUncial.values()) { for (T12PartUncial value:T12PartUncial.values()) {
Assertions.assertNotNull(value.BȍőnIdentifierTone()); Assertions.assertNotNull(value.BȍőnIdentifierTone());
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
Assertions.assertNotNull(value.BȍőnChinaKey()); Assertions.assertNotNull(value.BȍőnChinaKey());
Assertions.assertNotNull(value.BȍőnChinaValue()); Assertions.assertNotNull(value.BȍőnChinaValue());
Assertions.assertNotNull(value.BȍőnAlt1Value()); Assertions.assertNotNull(value.BȍőnAlt1Value());

View file

@ -13,7 +13,6 @@ public class T16PartHexTest {
public void testBasePart() { public void testBasePart() {
for (T16PartHex value:T16PartHex.values()) { for (T16PartHex value:T16PartHex.values()) {
Assertions.assertNotNull(value.BȍőnIdentifierTone()); Assertions.assertNotNull(value.BȍőnIdentifierTone());
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
Assertions.assertNotNull(value.BȍőnChinaKey()); Assertions.assertNotNull(value.BȍőnChinaKey());
Assertions.assertNotNull(value.BȍőnChinaValue()); Assertions.assertNotNull(value.BȍőnChinaValue());
} }

View file

@ -13,7 +13,6 @@ public class T20PartScoreTest {
public void testBasePart() { public void testBasePart() {
for (T20PartScore value:T20PartScore.values()) { for (T20PartScore value:T20PartScore.values()) {
Assertions.assertNotNull(value.BȍőnIdentifierTone()); Assertions.assertNotNull(value.BȍőnIdentifierTone());
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
Assertions.assertNotNull(value.BȍőnChinaKey()); Assertions.assertNotNull(value.BȍőnChinaKey());
Assertions.assertNotNull(value.BȍőnChinaValue()); Assertions.assertNotNull(value.BȍőnChinaValue());
Assertions.assertNotNull(value.BȍőnAlt1Value()); Assertions.assertNotNull(value.BȍőnAlt1Value());

View file

@ -13,7 +13,6 @@ public class T60SexagesimalTest {
public void testBasePart() { public void testBasePart() {
for (T60PartSexagesimal value:T60PartSexagesimal.values()) { for (T60PartSexagesimal value:T60PartSexagesimal.values()) {
Assertions.assertNotNull(value.BȍőnIdentifierTone()); Assertions.assertNotNull(value.BȍőnIdentifierTone());
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
Assertions.assertNotNull(value.BȍőnChinaKey()); Assertions.assertNotNull(value.BȍőnChinaKey());
Assertions.assertNotNull(value.BȍőnChinaValue()); Assertions.assertNotNull(value.BȍőnChinaValue());
} }