Moved part letter to BaseGlyphSet support
This commit is contained in:
parent
30287a48b7
commit
0bd9a27ffa
|
@ -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();
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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) {
|
||||||
|
StringBuilder buf = new StringBuilder();
|
||||||
T[] values = BãßInstances();
|
T[] values = BãßInstances();
|
||||||
if (values.length < 10) {
|
if (values.length <= 9) {
|
||||||
return glyphSet.BȍőnGlyphSetNumber36().BȍőnCharFor(BȍőnRangTelEen());
|
buf.append(glyphSet.BȍőnGlyphSetNumber36().BȍőnCharFor(BȍőnRangTelEen()));
|
||||||
} else if (values.length < 100) {
|
} else if (values.length <= 99) {
|
||||||
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 / 9 + 1;
|
||||||
//System.out.println("count="+count+" div10="+div10+" mod10="+mod10);
|
|
||||||
StringBuilder buf = new StringBuilder();
|
|
||||||
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")
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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));
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
|
@ -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());
|
||||||
|
|
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
|
@ -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());
|
||||||
|
|
|
@ -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());
|
||||||
|
|
|
@ -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());
|
||||||
|
|
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
|
@ -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());
|
||||||
|
|
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
|
@ -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());
|
||||||
|
|
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue