More Duytschen Code
This commit is contained in:
parent
559054cddf
commit
4c9fdbd756
|
@ -11,11 +11,11 @@ import imgui.type.ImInt;
|
||||||
import love.distributedrebirth.demo4d.Demo4DMain;
|
import love.distributedrebirth.demo4d.Demo4DMain;
|
||||||
import love.distributedrebirth.demo4d.ImGuiRendererMain;
|
import love.distributedrebirth.demo4d.ImGuiRendererMain;
|
||||||
import love.distributedrebirth.numberxd.base2t.BasePartFactory;
|
import love.distributedrebirth.numberxd.base2t.BasePartFactory;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBone;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPart;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt1;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt2;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt2;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt3;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt3;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt4;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt4;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -44,11 +44,11 @@ public class BasePartRenderer extends ImGuiRendererMain {
|
||||||
items = bases.toArray(items);
|
items = bases.toArray(items);
|
||||||
String selectedItem = items[selectedBasePart.get()];
|
String selectedItem = items[selectedBasePart.get()];
|
||||||
Integer baseNumber = Integer.valueOf(selectedItem);
|
Integer baseNumber = Integer.valueOf(selectedItem);
|
||||||
BassBone<?>[] baseParts = BasePartFactory.buildBassBonesByBase(baseNumber);
|
BãßBȍőnPart<?>[] baseParts = BasePartFactory.buildBassBonesByBase(baseNumber);
|
||||||
|
|
||||||
ImGui.text("Base:");
|
ImGui.text("Base:");
|
||||||
ImGui.sameLine();
|
ImGui.sameLine();
|
||||||
ImGui.text(baseParts[0].staticBoneNaam());
|
ImGui.text(baseParts[0].BãßNaam());
|
||||||
ImGui.sameLine();
|
ImGui.sameLine();
|
||||||
ImGui.combo("Type", selectedBasePart, items);
|
ImGui.combo("Type", selectedBasePart, items);
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ public class BasePartRenderer extends ImGuiRendererMain {
|
||||||
ImGui.tableSetupColumn("Alt4");
|
ImGui.tableSetupColumn("Alt4");
|
||||||
ImGui.tableHeadersRow();
|
ImGui.tableHeadersRow();
|
||||||
|
|
||||||
for (BassBone<?> part:baseParts) {
|
for (BãßBȍőnPart<?> part:baseParts) {
|
||||||
ImGui.tableNextRow();
|
ImGui.tableNextRow();
|
||||||
ImGui.tableNextColumn();
|
ImGui.tableNextColumn();
|
||||||
ImGui.text(part.name());
|
ImGui.text(part.name());
|
||||||
|
@ -82,26 +82,26 @@ public class BasePartRenderer extends ImGuiRendererMain {
|
||||||
ImGui.text(part.getChinaValue());
|
ImGui.text(part.getChinaValue());
|
||||||
|
|
||||||
ImGui.tableNextColumn();
|
ImGui.tableNextColumn();
|
||||||
if (part instanceof BassBoneAlt1) {
|
if (part instanceof BãßBȍőnPartAlt1) {
|
||||||
ImGui.text(BassBoneAlt1.class.cast(part).getAlt1Value());
|
ImGui.text(BãßBȍőnPartAlt1.class.cast(part).getAlt1Value());
|
||||||
} else {
|
} else {
|
||||||
ImGui.text("");
|
ImGui.text("");
|
||||||
}
|
}
|
||||||
ImGui.tableNextColumn();
|
ImGui.tableNextColumn();
|
||||||
if (part instanceof BassBoneAlt2) {
|
if (part instanceof BãßBȍőnPartAlt2) {
|
||||||
ImGui.text(BassBoneAlt2.class.cast(part).getAlt2Value());
|
ImGui.text(BãßBȍőnPartAlt2.class.cast(part).getAlt2Value());
|
||||||
} else {
|
} else {
|
||||||
ImGui.text("");
|
ImGui.text("");
|
||||||
}
|
}
|
||||||
ImGui.tableNextColumn();
|
ImGui.tableNextColumn();
|
||||||
if (part instanceof BassBoneAlt3) {
|
if (part instanceof BãßBȍőnPartAlt3) {
|
||||||
ImGui.text(BassBoneAlt3.class.cast(part).getAlt3Value());
|
ImGui.text(BãßBȍőnPartAlt3.class.cast(part).getAlt3Value());
|
||||||
} else {
|
} else {
|
||||||
ImGui.text("");
|
ImGui.text("");
|
||||||
}
|
}
|
||||||
ImGui.tableNextColumn();
|
ImGui.tableNextColumn();
|
||||||
if (part instanceof BassBoneAlt4) {
|
if (part instanceof BãßBȍőnPartAlt4) {
|
||||||
ImGui.text(BassBoneAlt4.class.cast(part).getAlt4Value());
|
ImGui.text(BãßBȍőnPartAlt4.class.cast(part).getAlt4Value());
|
||||||
} else {
|
} else {
|
||||||
ImGui.text("");
|
ImGui.text("");
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
package love.distributedrebirth.numberxd.alu;
|
package love.distributedrebirth.numberxd.alu;
|
||||||
|
|
||||||
|
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
|
||||||
|
|
||||||
|
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
||||||
public class ŌctopǔsALU {
|
public class ŌctopǔsALU {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
package love.distributedrebirth.numberxd.alu;
|
package love.distributedrebirth.numberxd.alu;
|
||||||
|
|
||||||
|
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
|
||||||
|
|
||||||
|
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
||||||
public enum ŌctopǔsBreukOpểrǟtiẻ {
|
public enum ŌctopǔsBreukOpểrǟtiẻ {
|
||||||
|
|
||||||
OP_TEL,
|
OP_TEL,
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
package love.distributedrebirth.numberxd.alu;
|
package love.distributedrebirth.numberxd.alu;
|
||||||
|
|
||||||
|
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
|
||||||
|
|
||||||
|
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
||||||
public enum ŌctopǔsSnijOpểrǟtiẻ {
|
public enum ŌctopǔsSnijOpểrǟtiẻ {
|
||||||
|
|
||||||
OP_TEL,
|
OP_TEL,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package love.distributedrebirth.numberxd.base2t;
|
package love.distributedrebirth.numberxd.base2t;
|
||||||
|
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBone;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPart;
|
||||||
|
|
||||||
public final class BasePartFactory {
|
public final class BasePartFactory {
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ public final class BasePartFactory {
|
||||||
return SUPPORTED_BASES;
|
return SUPPORTED_BASES;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static BassBone<?>[] buildBassBonesByBase(int base) {
|
public static BãßBȍőnPart<?>[] buildBassBonesByBase(int base) {
|
||||||
switch (base) {
|
switch (base) {
|
||||||
case 2:
|
case 2:
|
||||||
return T02PartBinary.values();
|
return T02PartBinary.values();
|
||||||
|
|
|
@ -4,8 +4,8 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBone;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPart;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartKey;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The distribution by 2.
|
* The distribution by 2.
|
||||||
|
@ -14,22 +14,22 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
*/
|
*/
|
||||||
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
||||||
@BãßBȍőnInfoʸᴰ(name = "T02PartBinary", purpose = "The distribution by 2.")
|
@BãßBȍőnInfoʸᴰ(name = "T02PartBinary", purpose = "The distribution by 2.")
|
||||||
public enum T02PartBinary implements BassBone<T02PartBinary> {
|
public enum T02PartBinary implements BãßBȍőnPart<T02PartBinary> {
|
||||||
|
|
||||||
PART_1("˧","0", "低", "low"),
|
PART_1("˧","0", "低", "low"),
|
||||||
PART_2("꜔","1", "高", "high"),
|
PART_2("꜔","1", "高", "high"),
|
||||||
;
|
;
|
||||||
|
|
||||||
private final BãßBȍőnCoffinOpenʸᴰ<BassBoneStoreKey> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
|
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKey> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
|
||||||
public BãßBȍőnCoffinʸᴰ<BassBoneStoreKey> 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 idLetter, String chinaKey, String chinaValue) {
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ID_TONE, idTone);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ID_LETTER, idLetter);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.CHINA_KEY, chinaKey);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.CHINA_VALUE, chinaValue);
|
||||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
BBC.PUT_MAP(BãßBȍőnPartKey.MAP_TONE);
|
||||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
BBC.PUT_MAP(BãßBȍőnPartKey.MAP_CHINA);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,8 +3,8 @@ package love.distributedrebirth.numberxd.base2t;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBone;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPart;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartKey;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The distribution by 3.
|
* The distribution by 3.
|
||||||
|
@ -12,23 +12,23 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
*/
|
*/
|
||||||
@BãßBȍőnInfoʸᴰ(name = "T03PartTrit", purpose = "The distribution by 3.")
|
@BãßBȍőnInfoʸᴰ(name = "T03PartTrit", purpose = "The distribution by 3.")
|
||||||
public enum T03PartTrit implements BassBone<T03PartTrit> {
|
public enum T03PartTrit implements BãßBȍőnPart<T03PartTrit> {
|
||||||
|
|
||||||
PART_1("˦","0","一","1"),
|
PART_1("˦","0","一","1"),
|
||||||
PART_2("˧","1","二","2"),
|
PART_2("˧","1","二","2"),
|
||||||
PART_3("˨","2","三","3"),
|
PART_3("˨","2","三","3"),
|
||||||
;
|
;
|
||||||
|
|
||||||
private final BãßBȍőnCoffinOpenʸᴰ<BassBoneStoreKey> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
|
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKey> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
|
||||||
public BãßBȍőnCoffinʸᴰ<BassBoneStoreKey> 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 idLetter, String chinaKey, String chinaValue) {
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ID_TONE, idTone);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ID_LETTER, idLetter);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.CHINA_KEY, chinaKey);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.CHINA_VALUE, chinaValue);
|
||||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
BBC.PUT_MAP(BãßBȍőnPartKey.MAP_TONE);
|
||||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
BBC.PUT_MAP(BãßBȍőnPartKey.MAP_CHINA);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,9 +3,9 @@ package love.distributedrebirth.numberxd.base2t;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt1;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt1Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartKey;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The distribution by 4.
|
* The distribution by 4.
|
||||||
|
@ -13,8 +13,8 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
*/
|
*/
|
||||||
@BãßBȍőnInfoʸᴰ(name = "T04PartQuad", purpose = "The distribution by 4.")
|
@BãßBȍőnInfoʸᴰ(name = "T04PartQuad", purpose = "The distribution by 4.")
|
||||||
@BassBoneAlt1Info(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 BassBoneAlt1<T04PartQuad> {
|
public enum T04PartQuad implements BãßBȍőnPartAlt1<T04PartQuad> {
|
||||||
|
|
||||||
PART_1("˥","0","北","north","N"),
|
PART_1("˥","0","北","north","N"),
|
||||||
PART_2("꜒","1","東","east", "E"),
|
PART_2("꜒","1","東","east", "E"),
|
||||||
|
@ -22,18 +22,18 @@ public enum T04PartQuad implements BassBoneAlt1<T04PartQuad> {
|
||||||
PART_4("˩","3","南","south","S"),
|
PART_4("˩","3","南","south","S"),
|
||||||
;
|
;
|
||||||
|
|
||||||
private final BãßBȍőnCoffinOpenʸᴰ<BassBoneStoreKey> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
|
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKey> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
|
||||||
public BãßBȍőnCoffinʸᴰ<BassBoneStoreKey> 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 idLetter, String chinaKey, String chinaValue, String alt1Value) {
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ID_TONE, idTone);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ID_LETTER, idLetter);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.CHINA_KEY, chinaKey);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.CHINA_VALUE, chinaValue);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ALT_1_VALUE, alt1Value);
|
||||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
BBC.PUT_MAP(BãßBȍőnPartKey.MAP_TONE);
|
||||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
BBC.PUT_MAP(BãßBȍőnPartKey.MAP_CHINA);
|
||||||
}
|
}
|
||||||
|
|
||||||
public T02PartBinary splitPartBinary(T02PartBinary part) {
|
public T02PartBinary splitPartBinary(T02PartBinary part) {
|
||||||
|
|
|
@ -3,10 +3,10 @@ package love.distributedrebirth.numberxd.base2t;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt1Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt2;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt2;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt2Info;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt2Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartKey;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The distribution by 5 called Wuxing.
|
* The distribution by 5 called Wuxing.
|
||||||
|
@ -14,9 +14,9 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
*/
|
*/
|
||||||
@BãßBȍőnInfoʸᴰ(name = "T05PartPental", purpose = "The distribution by 5 called Wuxing.")
|
@BãßBȍőnInfoʸᴰ(name = "T05PartPental", purpose = "The distribution by 5 called Wuxing.")
|
||||||
@BassBoneAlt1Info(name="Pentagram", website="https://en.wikipedia.org/wiki/Pentagram")
|
@BãßBȍőnPartAlt1Info(name="Pentagram", website="https://en.wikipedia.org/wiki/Pentagram")
|
||||||
@BassBoneAlt2Info(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 BassBoneAlt2<T05PartPental> {
|
public enum T05PartPental implements BãßBȍőnPartAlt2<T05PartPental> {
|
||||||
|
|
||||||
PART_1("˥","0","火","fire", "EI","heile"),
|
PART_1("˥","0","火","fire", "EI","heile"),
|
||||||
PART_2("˦","1","水","water","U", "hudor"),
|
PART_2("˦","1","水","water","U", "hudor"),
|
||||||
|
@ -25,18 +25,18 @@ public enum T05PartPental implements BassBoneAlt2<T05PartPental> {
|
||||||
PART_5("˩","4","土","earth","G", "gaia"),
|
PART_5("˩","4","土","earth","G", "gaia"),
|
||||||
;
|
;
|
||||||
|
|
||||||
private final BãßBȍőnCoffinOpenʸᴰ<BassBoneStoreKey> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
|
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKey> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
|
||||||
public BãßBȍőnCoffinʸᴰ<BassBoneStoreKey> 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 idLetter, String chinaKey, String chinaValue, String alt1Value, String alt2Value) {
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ID_TONE, idTone);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ID_LETTER, idLetter);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.CHINA_KEY, chinaKey);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.CHINA_VALUE, chinaValue);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ALT_1_VALUE, alt1Value);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_2_VALUE, alt2Value);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ALT_2_VALUE, alt2Value);
|
||||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
BBC.PUT_MAP(BãßBȍőnPartKey.MAP_TONE);
|
||||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
BBC.PUT_MAP(BãßBȍőnPartKey.MAP_CHINA);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,9 +3,9 @@ package love.distributedrebirth.numberxd.base2t;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt1;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt1Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartKey;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The distribution by 6.
|
* The distribution by 6.
|
||||||
|
@ -15,8 +15,8 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
*/
|
*/
|
||||||
@BãßBȍőnInfoʸᴰ(name = "T06PartSeximal", purpose = "The distribution by 6.")
|
@BãßBȍőnInfoʸᴰ(name = "T06PartSeximal", purpose = "The distribution by 6.")
|
||||||
@BassBoneAlt1Info(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 BassBoneAlt1<T06PartSeximal> {
|
public enum T06PartSeximal implements BãßBȍőnPartAlt1<T06PartSeximal> {
|
||||||
|
|
||||||
PART_1("˦","0","四","4","A"),
|
PART_1("˦","0","四","4","A"),
|
||||||
PART_2("˨","1","五","5","D"),
|
PART_2("˨","1","五","5","D"),
|
||||||
|
@ -26,18 +26,18 @@ public enum T06PartSeximal implements BassBoneAlt1<T06PartSeximal> {
|
||||||
PART_6("꜏","5","九","9","X"),
|
PART_6("꜏","5","九","9","X"),
|
||||||
;
|
;
|
||||||
|
|
||||||
private final BãßBȍőnCoffinOpenʸᴰ<BassBoneStoreKey> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
|
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKey> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
|
||||||
public BãßBȍőnCoffinʸᴰ<BassBoneStoreKey> 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 idLetter, String chinaKey, String chinaValue, String alt1Value) {
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ID_TONE, idTone);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ID_LETTER, idLetter);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.CHINA_KEY, chinaKey);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.CHINA_VALUE, chinaValue);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ALT_1_VALUE, alt1Value);
|
||||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
BBC.PUT_MAP(BãßBȍőnPartKey.MAP_TONE);
|
||||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
BBC.PUT_MAP(BãßBȍőnPartKey.MAP_CHINA);
|
||||||
}
|
}
|
||||||
|
|
||||||
public T02PartBinary splitPartBinary() {
|
public T02PartBinary splitPartBinary() {
|
||||||
|
|
|
@ -3,9 +3,9 @@ package love.distributedrebirth.numberxd.base2t;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt1;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt1Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartKey;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The distribution by 7.
|
* The distribution by 7.
|
||||||
|
@ -13,8 +13,8 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
*/
|
*/
|
||||||
@BãßBȍőnInfoʸᴰ(name = "T07PartPlanIt", purpose = "The distribution by 7.")
|
@BãßBȍőnInfoʸᴰ(name = "T07PartPlanIt", purpose = "The distribution by 7.")
|
||||||
@BassBoneAlt1Info(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 BassBoneAlt1<T07PartPlanIt> {
|
public enum T07PartPlanIt implements BãßBȍőnPartAlt1<T07PartPlanIt> {
|
||||||
|
|
||||||
PART_1("˥","0","♎︎","libra", "天秤座"),
|
PART_1("˥","0","♎︎","libra", "天秤座"),
|
||||||
PART_2("꜉","1","♏︎","scorpio", "天蠍座"),
|
PART_2("꜉","1","♏︎","scorpio", "天蠍座"),
|
||||||
|
@ -25,17 +25,17 @@ public enum T07PartPlanIt implements BassBoneAlt1<T07PartPlanIt> {
|
||||||
PART_7("˩","7","♈︎","aries", "白羊座"),
|
PART_7("˩","7","♈︎","aries", "白羊座"),
|
||||||
;
|
;
|
||||||
|
|
||||||
private final BãßBȍőnCoffinOpenʸᴰ<BassBoneStoreKey> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
|
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKey> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
|
||||||
public BãßBȍőnCoffinʸᴰ<BassBoneStoreKey> 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 idLetter, String chinaKey, String chinaValue, String alt1Value) {
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ID_TONE, idTone);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ID_LETTER, idLetter);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.CHINA_KEY, chinaKey);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.CHINA_VALUE, chinaValue);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ALT_1_VALUE, alt1Value);
|
||||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
BBC.PUT_MAP(BãßBȍőnPartKey.MAP_TONE);
|
||||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
BBC.PUT_MAP(BãßBȍőnPartKey.MAP_CHINA);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
package love.distributedrebirth.numberxd.base2t;
|
package love.distributedrebirth.numberxd.base2t;
|
||||||
|
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneShiftBits;
|
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt1Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt2;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt2;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt2Info;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt2Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartKey;
|
||||||
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartShiftBits;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The distribution by 8.
|
* The distribution by 8.
|
||||||
|
@ -15,9 +15,9 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
*/
|
*/
|
||||||
@BãßBȍőnInfoʸᴰ(name = "T08PartOctal", purpose = "The distribution by 8.")
|
@BãßBȍőnInfoʸᴰ(name = "T08PartOctal", purpose = "The distribution by 8.")
|
||||||
@BassBoneAlt1Info(name="Absolute Tone Sequence", website="https://en.wikipedia.org/wiki/Tone_letter")
|
@BãßBȍőnPartAlt1Info(name="Absolute Tone Sequence", website="https://en.wikipedia.org/wiki/Tone_letter")
|
||||||
@BassBoneAlt2Info(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 BassBoneAlt2<T08PartOctal>,BassBoneShiftBits<T08PartOctal> {
|
public enum T08PartOctal implements BãßBȍőnPartAlt2<T08PartOctal>,BãßBȍőnPartShiftBits<T08PartOctal> {
|
||||||
|
|
||||||
PART_1("˥","0","心","heart","˧˥˩","˥˩˧", 0),
|
PART_1("˥","0","心","heart","˧˥˩","˥˩˧", 0),
|
||||||
PART_2("˩","1","頭","head", "˧˩˥","˩˥˧", 3),
|
PART_2("˩","1","頭","head", "˧˩˥","˩˥˧", 3),
|
||||||
|
@ -31,20 +31,20 @@ public enum T08PartOctal implements BassBoneAlt2<T08PartOctal>,BassBoneShiftBits
|
||||||
|
|
||||||
public static int BIT_COUNT = 3;
|
public static int BIT_COUNT = 3;
|
||||||
private static final byte BITMASK = 0x07;
|
private static final byte BITMASK = 0x07;
|
||||||
private final BãßBȍőnCoffinOpenʸᴰ<BassBoneStoreKey> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
|
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKey> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
|
||||||
public BãßBȍőnCoffinʸᴰ<BassBoneStoreKey> 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 identifierTone, String identifierLetter, String chinaKey, String chinaValue, String alt1Value, String alt2Value, int shiftBits) {
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_TONE, identifierTone);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ID_TONE, identifierTone);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_LETTER, identifierLetter);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ID_LETTER, identifierLetter);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.CHINA_KEY, chinaKey);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.CHINA_VALUE, chinaValue);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.SHIFT_BITS, Integer.valueOf(shiftBits));
|
BBC.PUT_OBJ(BãßBȍőnPartKey.SHIFT_BITS, Integer.valueOf(shiftBits));
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ALT_1_VALUE, alt1Value);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_2_VALUE, alt2Value);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ALT_2_VALUE, alt2Value);
|
||||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
BBC.PUT_MAP(BãßBȍőnPartKey.MAP_TONE);
|
||||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
BBC.PUT_MAP(BãßBȍőnPartKey.MAP_CHINA);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static T08PartOctal indexOf(T08PartOctal group, int value) {
|
public static T08PartOctal indexOf(T08PartOctal group, int value) {
|
||||||
|
|
|
@ -3,12 +3,12 @@ package love.distributedrebirth.numberxd.base2t;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt1Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt2Info;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt2Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt3Info;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt3Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt4;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt4;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt4Info;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt4Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartKey;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The distribution by 10.
|
* The distribution by 10.
|
||||||
|
@ -16,11 +16,11 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
*/
|
*/
|
||||||
@BãßBȍőnInfoʸᴰ(name = "T10PartDecimal", purpose = "The distribution by 10.")
|
@BãßBȍőnInfoʸᴰ(name = "T10PartDecimal", purpose = "The distribution by 10.")
|
||||||
@BassBoneAlt1Info(name="Korean numerals", website="https://en.wikipedia.org/wiki/Korean_numerals")
|
@BãßBȍőnPartAlt1Info(name="Korean numerals", website="https://en.wikipedia.org/wiki/Korean_numerals")
|
||||||
@BassBoneAlt2Info(name="Burmese numerals", website="https://en.wikipedia.org/wiki/Burmese_numerals")
|
@BãßBȍőnPartAlt2Info(name="Burmese numerals", website="https://en.wikipedia.org/wiki/Burmese_numerals")
|
||||||
@BassBoneAlt3Info(name="Bengali numerals", website="https://en.wikipedia.org/wiki/Bengali_numerals")
|
@BãßBȍőnPartAlt3Info(name="Bengali numerals", website="https://en.wikipedia.org/wiki/Bengali_numerals")
|
||||||
@BassBoneAlt4Info(name="Sinhala Lith Illakkam", website="https://en.wikipedia.org/wiki/Sinhala_numerals#Numerals")
|
@BãßBȍőnPartAlt4Info(name="Sinhala Lith Illakkam", website="https://en.wikipedia.org/wiki/Sinhala_numerals#Numerals")
|
||||||
public enum T10PartDecimal implements BassBoneAlt4<T10PartDecimal> {
|
public enum T10PartDecimal implements BãßBȍőnPartAlt4<T10PartDecimal> {
|
||||||
|
|
||||||
PART_1 ("˥","ō","零","zero", "영","\u1040","০", "෦"),
|
PART_1 ("˥","ō","零","zero", "영","\u1040","০", "෦"),
|
||||||
PART_2 ("˦","α","壹","one", "일","\u1041","১", "෧"),
|
PART_2 ("˦","α","壹","one", "일","\u1041","১", "෧"),
|
||||||
|
@ -34,21 +34,21 @@ public enum T10PartDecimal implements BassBoneAlt4<T10PartDecimal> {
|
||||||
PART_10("꜖","θ","玖","nine", "구","\u1049","৯","෯"),
|
PART_10("꜖","θ","玖","nine", "구","\u1049","৯","෯"),
|
||||||
;
|
;
|
||||||
|
|
||||||
private final BãßBȍőnCoffinOpenʸᴰ<BassBoneStoreKey> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
|
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKey> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
|
||||||
public BãßBȍőnCoffinʸᴰ<BassBoneStoreKey> 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 idLetter, String chinaKey, String chinaValue,
|
||||||
String alt1Value, String alt2Value, String alt3Value, String alt4Value) {
|
String alt1Value, String alt2Value, String alt3Value, String alt4Value) {
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ID_TONE, idTone);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ID_LETTER, idLetter);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.CHINA_KEY, chinaKey);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.CHINA_VALUE, chinaValue);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ALT_1_VALUE, alt1Value);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_2_VALUE, alt2Value);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ALT_2_VALUE, alt2Value);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_3_VALUE, alt3Value);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ALT_3_VALUE, alt3Value);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_4_VALUE, alt4Value);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ALT_4_VALUE, alt4Value);
|
||||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
BBC.PUT_MAP(BãßBȍőnPartKey.MAP_TONE);
|
||||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
BBC.PUT_MAP(BãßBȍőnPartKey.MAP_CHINA);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,9 +3,9 @@ package love.distributedrebirth.numberxd.base2t;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt1;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt1Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartKey;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The distribution by 11.
|
* The distribution by 11.
|
||||||
|
@ -13,8 +13,8 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
*/
|
*/
|
||||||
@BãßBȍőnInfoʸᴰ(name = "T11PartUndecimal", purpose = "The distribution by 11.")
|
@BãßBȍőnInfoʸᴰ(name = "T11PartUndecimal", purpose = "The distribution by 11.")
|
||||||
@BassBoneAlt1Info(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 BassBoneAlt1<T11PartUndecimal> {
|
public enum T11PartUndecimal implements BãßBȍőnPartAlt1<T11PartUndecimal> {
|
||||||
|
|
||||||
PART_1 ("˥","0","走","walk", "௦"),
|
PART_1 ("˥","0","走","walk", "௦"),
|
||||||
PART_2 ("꜈","1","跑","run", "௧"),
|
PART_2 ("꜈","1","跑","run", "௧"),
|
||||||
|
@ -29,17 +29,17 @@ public enum T11PartUndecimal implements BassBoneAlt1<T11PartUndecimal> {
|
||||||
PART_11("˩","=","耦","mate", "௰"),
|
PART_11("˩","=","耦","mate", "௰"),
|
||||||
;
|
;
|
||||||
|
|
||||||
private final BãßBȍőnCoffinOpenʸᴰ<BassBoneStoreKey> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
|
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKey> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
|
||||||
public BãßBȍőnCoffinʸᴰ<BassBoneStoreKey> 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 idLetter, String chinaKey, String chinaValue, String alt1Value) {
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ID_TONE, idTone);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ID_LETTER, idLetter);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.CHINA_KEY, chinaKey);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.CHINA_VALUE, chinaValue);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ALT_1_VALUE, alt1Value);
|
||||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
BBC.PUT_MAP(BãßBȍőnPartKey.MAP_TONE);
|
||||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
BBC.PUT_MAP(BãßBȍőnPartKey.MAP_CHINA);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,9 +3,9 @@ package love.distributedrebirth.numberxd.base2t;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt1;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt1Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartKey;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The distribution by 12.
|
* The distribution by 12.
|
||||||
|
@ -13,8 +13,8 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
*/
|
*/
|
||||||
@BãßBȍőnInfoʸᴰ(name = "T12PartUncial", purpose = "The distribution by 12.")
|
@BãßBȍőnInfoʸᴰ(name = "T12PartUncial", purpose = "The distribution by 12.")
|
||||||
@BassBoneAlt1Info(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 BassBoneAlt1<T12PartUncial> {
|
public enum T12PartUncial implements BãßBȍőnPartAlt1<T12PartUncial> {
|
||||||
|
|
||||||
PART_1 ("˥","0","日","sun", "0"),
|
PART_1 ("˥","0","日","sun", "0"),
|
||||||
PART_2 ("˧","1","月","moon", "1"),
|
PART_2 ("˧","1","月","moon", "1"),
|
||||||
|
@ -30,17 +30,17 @@ public enum T12PartUncial implements BassBoneAlt1<T12PartUncial> {
|
||||||
PART_12("꜑","B","亞","nozero", "\u218b"), // TURNED DIGIT THREE
|
PART_12("꜑","B","亞","nozero", "\u218b"), // TURNED DIGIT THREE
|
||||||
;
|
;
|
||||||
|
|
||||||
private final BãßBȍőnCoffinOpenʸᴰ<BassBoneStoreKey> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
|
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKey> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
|
||||||
public BãßBȍőnCoffinʸᴰ<BassBoneStoreKey> 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 idLetter, String chinaKey, String chinaValue, String alt1Value) {
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ID_TONE, idTone);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ID_LETTER, idLetter);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.CHINA_KEY, chinaKey);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.CHINA_VALUE, chinaValue);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ALT_1_VALUE, alt1Value);
|
||||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
BBC.PUT_MAP(BãßBȍőnPartKey.MAP_TONE);
|
||||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
BBC.PUT_MAP(BãßBȍőnPartKey.MAP_CHINA);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,9 +3,9 @@ package love.distributedrebirth.numberxd.base2t;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt1;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt1Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartKey;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The distribution by 16.
|
* The distribution by 16.
|
||||||
|
@ -13,8 +13,8 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
*/
|
*/
|
||||||
@BãßBȍőnInfoʸᴰ(name = "T16PartHex", purpose = "The distribution by 16.")
|
@BãßBȍőnInfoʸᴰ(name = "T16PartHex", purpose = "The distribution by 16.")
|
||||||
@BassBoneAlt1Info(name="Dual-tone multi-frequency signaling", website="https://en.wikipedia.org/wiki/Dual-tone_multi-frequency_signaling")
|
@BãßBȍőnPartAlt1Info(name="Dual-tone multi-frequency signaling", website="https://en.wikipedia.org/wiki/Dual-tone_multi-frequency_signaling")
|
||||||
public enum T16PartHex implements BassBoneAlt1<T16PartHex> {
|
public enum T16PartHex implements BãßBȍőnPartAlt1<T16PartHex> {
|
||||||
|
|
||||||
PART_1 ("˥","0","氫","hydrogen", "1"),
|
PART_1 ("˥","0","氫","hydrogen", "1"),
|
||||||
PART_2 ("˦","1","氦","helium", "2"),
|
PART_2 ("˦","1","氦","helium", "2"),
|
||||||
|
@ -34,18 +34,18 @@ public enum T16PartHex implements BassBoneAlt1<T16PartHex> {
|
||||||
PART_16("꜑","F","硫","sulfur", "D"),
|
PART_16("꜑","F","硫","sulfur", "D"),
|
||||||
;
|
;
|
||||||
|
|
||||||
private final BãßBȍőnCoffinOpenʸᴰ<BassBoneStoreKey> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
|
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKey> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
|
||||||
public BãßBȍőnCoffinʸᴰ<BassBoneStoreKey> 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, String alt1Value) {
|
private T16PartHex(String idTone, String idLetter, String chinaKey, String chinaValue, String alt1Value) {
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ID_TONE, idTone);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ID_LETTER, idLetter);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.CHINA_KEY, chinaKey);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.CHINA_VALUE, chinaValue);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ALT_1_VALUE, alt1Value);
|
||||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
BBC.PUT_MAP(BãßBȍőnPartKey.MAP_TONE);
|
||||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
BBC.PUT_MAP(BãßBȍőnPartKey.MAP_CHINA);
|
||||||
}
|
}
|
||||||
|
|
||||||
public T02PartBinary splitPartBinary(T04PartQuad part) {
|
public T02PartBinary splitPartBinary(T04PartQuad part) {
|
||||||
|
|
|
@ -8,11 +8,11 @@ import java.util.stream.Collectors;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt1Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt2Info;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt2Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt3;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt3;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt3Info;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartAlt3Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartKey;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The distribution by 20.
|
* The distribution by 20.
|
||||||
|
@ -20,10 +20,10 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
*/
|
*/
|
||||||
@BãßBȍőnInfoʸᴰ(name = "T20PartScore", purpose = "The distribution by 20.")
|
@BãßBȍőnInfoʸᴰ(name = "T20PartScore", purpose = "The distribution by 20.")
|
||||||
@BassBoneAlt1Info(name="Vigesimal", website="https://en.wikipedia.org/wiki/Vigesimal#Places")
|
@BãßBȍőnPartAlt1Info(name="Vigesimal", website="https://en.wikipedia.org/wiki/Vigesimal#Places")
|
||||||
@BassBoneAlt2Info(name="Vigesimal Alternative", website="https://en.wikipedia.org/wiki/Vigesimal#Places")
|
@BãßBȍőnPartAlt2Info(name="Vigesimal Alternative", website="https://en.wikipedia.org/wiki/Vigesimal#Places")
|
||||||
@BassBoneAlt3Info(name="Open Location Code", website="https://en.wikipedia.org/wiki/Open_Location_Code")
|
@BãßBȍőnPartAlt3Info(name="Open Location Code", website="https://en.wikipedia.org/wiki/Open_Location_Code")
|
||||||
public enum T20PartScore implements BassBoneAlt3<T20PartScore> {
|
public enum T20PartScore implements BãßBȍőnPartAlt3<T20PartScore> {
|
||||||
|
|
||||||
PART_1 ("˥","Y", "尧","yotta","0","0","2"),
|
PART_1 ("˥","Y", "尧","yotta","0","0","2"),
|
||||||
PART_2 ("˦","Z", "泽","zetta","1","1","3"),
|
PART_2 ("˦","Z", "泽","zetta","1","1","3"),
|
||||||
|
@ -49,21 +49,21 @@ public enum T20PartScore implements BassBoneAlt3<T20PartScore> {
|
||||||
|
|
||||||
private static final Map<String, T20PartScore> OPENLC_MAP = Collections.unmodifiableMap(
|
private static final Map<String, T20PartScore> OPENLC_MAP = Collections.unmodifiableMap(
|
||||||
Arrays.asList(values()).stream().collect(Collectors.toMap(v -> v.getAlt3Value(), v -> v)));
|
Arrays.asList(values()).stream().collect(Collectors.toMap(v -> v.getAlt3Value(), v -> v)));
|
||||||
private final BãßBȍőnCoffinOpenʸᴰ<BassBoneStoreKey> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
|
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKey> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
|
||||||
public BãßBȍőnCoffinʸᴰ<BassBoneStoreKey> 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 idLetter, String chinaKey, String chinaValue,
|
||||||
String alt1Value, String alt2Value, String alt3Value) {
|
String alt1Value, String alt2Value, String alt3Value) {
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ID_TONE, idTone);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ID_LETTER, idLetter);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.CHINA_KEY, chinaKey);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.CHINA_VALUE, chinaValue);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ALT_1_VALUE, alt1Value);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_2_VALUE, alt2Value);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ALT_2_VALUE, alt2Value);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_3_VALUE, alt3Value);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ALT_3_VALUE, alt3Value);
|
||||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
BBC.PUT_MAP(BãßBȍőnPartKey.MAP_TONE);
|
||||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
BBC.PUT_MAP(BãßBȍőnPartKey.MAP_CHINA);
|
||||||
}
|
}
|
||||||
|
|
||||||
public T20PartScore staticValueOfOpenLC(String openLCKey) {
|
public T20PartScore staticValueOfOpenLC(String openLCKey) {
|
||||||
|
|
|
@ -3,8 +3,8 @@ package love.distributedrebirth.numberxd.base2t;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBone;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPart;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartKey;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The distribution by 60.
|
* The distribution by 60.
|
||||||
|
@ -12,7 +12,7 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
*/
|
*/
|
||||||
@BãßBȍőnInfoʸᴰ(name = "T60Sexagesimal", purpose = "The distribution by 60.")
|
@BãßBȍőnInfoʸᴰ(name = "T60Sexagesimal", purpose = "The distribution by 60.")
|
||||||
public enum T60PartSexagesimal implements BassBone<T60PartSexagesimal> {
|
public enum T60PartSexagesimal implements BãßBȍőnPart<T60PartSexagesimal> {
|
||||||
|
|
||||||
PART_1 ("˧˩˥","ια","牛","cow"),
|
PART_1 ("˧˩˥","ια","牛","cow"),
|
||||||
PART_2 ("˧˥˦","ιβ","鸡","chicken"),
|
PART_2 ("˧˥˦","ιβ","鸡","chicken"),
|
||||||
|
@ -79,16 +79,16 @@ public enum T60PartSexagesimal implements BassBone<T60PartSexagesimal> {
|
||||||
PART_60("꜑꜑꜏","οϚ","蘋","apple"),
|
PART_60("꜑꜑꜏","οϚ","蘋","apple"),
|
||||||
;
|
;
|
||||||
|
|
||||||
private final BãßBȍőnCoffinOpenʸᴰ<BassBoneStoreKey> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
|
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKey> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
|
||||||
public BãßBȍőnCoffinʸᴰ<BassBoneStoreKey> 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 idLetter, String chinaKey, String chinaValue) {
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ID_TONE, idTone);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.ID_LETTER, idLetter);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.CHINA_KEY, chinaKey);
|
||||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
BBC.PUT_OBJ(BãßBȍőnPartKey.CHINA_VALUE, chinaValue);
|
||||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
BBC.PUT_MAP(BãßBȍőnPartKey.MAP_TONE);
|
||||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
BBC.PUT_MAP(BãßBȍőnPartKey.MAP_CHINA);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
package love.distributedrebirth.numberxd.base2t.bone;
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
|
||||||
*/
|
|
||||||
public interface BassBoneAlt1<T extends BassBone<T>> extends BassBone<T> {
|
|
||||||
|
|
||||||
default String getAlt1Value() {
|
|
||||||
return GET_BBC().GET_STR(BassBoneStoreKey.ALT_1_VALUE);
|
|
||||||
}
|
|
||||||
|
|
||||||
default String staticAlt1Name() {
|
|
||||||
return getClass().getAnnotation(BassBoneAlt1Info.class).name();
|
|
||||||
}
|
|
||||||
|
|
||||||
default String staticAlt1Website() {
|
|
||||||
return getClass().getAnnotation(BassBoneAlt1Info.class).website();
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,21 +0,0 @@
|
||||||
package love.distributedrebirth.numberxd.base2t.bone;
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
|
||||||
*/
|
|
||||||
public interface BassBoneAlt2<T extends BassBone<T>> extends BassBoneAlt1<T> {
|
|
||||||
|
|
||||||
default String getAlt2Value() {
|
|
||||||
return GET_BBC().GET_STR(BassBoneStoreKey.ALT_2_VALUE);
|
|
||||||
}
|
|
||||||
|
|
||||||
default String staticAlt2Name() {
|
|
||||||
return getClass().getAnnotation(BassBoneAlt2Info.class).name();
|
|
||||||
}
|
|
||||||
|
|
||||||
default String staticAlt2Website() {
|
|
||||||
return getClass().getAnnotation(BassBoneAlt2Info.class).website();
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,21 +0,0 @@
|
||||||
package love.distributedrebirth.numberxd.base2t.bone;
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
|
||||||
*/
|
|
||||||
public interface BassBoneAlt3<T extends BassBone<T>> extends BassBoneAlt2<T> {
|
|
||||||
|
|
||||||
default String getAlt3Value() {
|
|
||||||
return GET_BBC().GET_STR(BassBoneStoreKey.ALT_3_VALUE);
|
|
||||||
}
|
|
||||||
|
|
||||||
default String staticAlt3Name() {
|
|
||||||
return getClass().getAnnotation(BassBoneAlt3Info.class).name();
|
|
||||||
}
|
|
||||||
|
|
||||||
default String staticAlt3Website() {
|
|
||||||
return getClass().getAnnotation(BassBoneAlt3Info.class).website();
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,21 +0,0 @@
|
||||||
package love.distributedrebirth.numberxd.base2t.bone;
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
|
||||||
*/
|
|
||||||
public interface BassBoneAlt4<T extends BassBone<T>> extends BassBoneAlt3<T> {
|
|
||||||
|
|
||||||
default String getAlt4Value() {
|
|
||||||
return GET_BBC().GET_STR(BassBoneStoreKey.ALT_4_VALUE);
|
|
||||||
}
|
|
||||||
|
|
||||||
default String staticAlt4Name() {
|
|
||||||
return getClass().getAnnotation(BassBoneAlt4Info.class).name();
|
|
||||||
}
|
|
||||||
|
|
||||||
default String staticAlt4Website() {
|
|
||||||
return getClass().getAnnotation(BassBoneAlt4Info.class).website();
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,13 +0,0 @@
|
||||||
package love.distributedrebirth.numberxd.base2t.bone;
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
|
||||||
*/
|
|
||||||
public interface BassBoneShiftBits<T extends BassBone<T>> extends BassBone<T> {
|
|
||||||
|
|
||||||
default Integer getShiftBits() {
|
|
||||||
return GET_BBC().GET_INT(BassBoneStoreKey.SHIFT_BITS);
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,4 +1,4 @@
|
||||||
package love.distributedrebirth.numberxd.base2t.bone;
|
package love.distributedrebirth.numberxd.base2t.part;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
|
@ -11,27 +11,27 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnEnumSetʸᴰ;
|
||||||
*
|
*
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
*/
|
*/
|
||||||
public interface BassBone<T extends BassBone<T>> extends BãßBȍőnEnumSetʸᴰ<T>, BãßBȍőnCoffinStoreʸᴰ<BassBoneStoreKey> {
|
public interface BãßBȍőnPart<T extends BãßBȍőnPart<T>> extends BãßBȍőnEnumSetʸᴰ<T>, BãßBȍőnCoffinStoreʸᴰ<BãßBȍőnPartKey> {
|
||||||
|
|
||||||
default String getIdentifierTone() {
|
default String getIdentifierTone() {
|
||||||
return GET_BBC().GET_STR(BassBoneStoreKey.ID_TONE);
|
return GET_BBC().GET_STR(BãßBȍőnPartKey.ID_TONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
default String getIdentifierLetter() {
|
default String getIdentifierLetter() {
|
||||||
return GET_BBC().GET_STR(BassBoneStoreKey.ID_LETTER);
|
return GET_BBC().GET_STR(BãßBȍőnPartKey.ID_LETTER);
|
||||||
}
|
}
|
||||||
|
|
||||||
default String getChinaKey() {
|
default String getChinaKey() {
|
||||||
return GET_BBC().GET_STR(BassBoneStoreKey.CHINA_KEY);
|
return GET_BBC().GET_STR(BãßBȍőnPartKey.CHINA_KEY);
|
||||||
}
|
}
|
||||||
|
|
||||||
default String getChinaValue() {
|
default String getChinaValue() {
|
||||||
return GET_BBC().GET_STR(BassBoneStoreKey.CHINA_VALUE);
|
return GET_BBC().GET_STR(BãßBȍőnPartKey.CHINA_VALUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
default T staticValueOfTone(String identifierTone) {
|
default T staticValueOfTone(String identifierTone) {
|
||||||
Map<String,Object> mapTone = GET_BBC().GET_MAP_OBJ(BassBoneStoreKey.MAP_TONE);
|
Map<String,Object> mapTone = GET_BBC().GET_MAP_OBJ(BãßBȍőnPartKey.MAP_TONE);
|
||||||
if (mapTone.isEmpty()) {
|
if (mapTone.isEmpty()) {
|
||||||
mapTone.putAll(BãßInstancesStream().collect(Collectors.toMap(v -> v.getIdentifierTone(), v -> v)));
|
mapTone.putAll(BãßInstancesStream().collect(Collectors.toMap(v -> v.getIdentifierTone(), v -> v)));
|
||||||
}
|
}
|
||||||
|
@ -40,7 +40,7 @@ public interface BassBone<T extends BassBone<T>> extends BãßBȍőnEnumSetʸᴰ
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
default T staticValueOfChina(String chinaKey) {
|
default T staticValueOfChina(String chinaKey) {
|
||||||
Map<String,Object> mapChina = GET_BBC().GET_MAP_OBJ(BassBoneStoreKey.MAP_CHINA);
|
Map<String,Object> mapChina = GET_BBC().GET_MAP_OBJ(BãßBȍőnPartKey.MAP_CHINA);
|
||||||
if (mapChina.isEmpty()) {
|
if (mapChina.isEmpty()) {
|
||||||
mapChina.putAll(BãßInstancesStream().collect(Collectors.toMap(v -> v.getChinaKey(), v -> v)));
|
mapChina.putAll(BãßInstancesStream().collect(Collectors.toMap(v -> v.getChinaKey(), v -> v)));
|
||||||
}
|
}
|
|
@ -0,0 +1,21 @@
|
||||||
|
package love.distributedrebirth.numberxd.base2t.part;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
|
*/
|
||||||
|
public interface BãßBȍőnPartAlt1<T extends BãßBȍőnPart<T>> extends BãßBȍőnPart<T> {
|
||||||
|
|
||||||
|
default String getAlt1Value() {
|
||||||
|
return GET_BBC().GET_STR(BãßBȍőnPartKey.ALT_1_VALUE);
|
||||||
|
}
|
||||||
|
|
||||||
|
default String staticAlt1Name() {
|
||||||
|
return getClass().getAnnotation(BãßBȍőnPartAlt1Info.class).name();
|
||||||
|
}
|
||||||
|
|
||||||
|
default String staticAlt1Website() {
|
||||||
|
return getClass().getAnnotation(BãßBȍőnPartAlt1Info.class).website();
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
package love.distributedrebirth.numberxd.base2t.bone;
|
package love.distributedrebirth.numberxd.base2t.part;
|
||||||
|
|
||||||
import java.lang.annotation.ElementType;
|
import java.lang.annotation.ElementType;
|
||||||
import java.lang.annotation.Retention;
|
import java.lang.annotation.Retention;
|
||||||
|
@ -12,7 +12,7 @@ import java.lang.annotation.Target;
|
||||||
*/
|
*/
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
@Target({ElementType.TYPE})
|
@Target({ElementType.TYPE})
|
||||||
public @interface BassBoneAlt1Info {
|
public @interface BãßBȍőnPartAlt1Info {
|
||||||
|
|
||||||
String name();
|
String name();
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
package love.distributedrebirth.numberxd.base2t.part;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
|
*/
|
||||||
|
public interface BãßBȍőnPartAlt2<T extends BãßBȍőnPart<T>> extends BãßBȍőnPartAlt1<T> {
|
||||||
|
|
||||||
|
default String getAlt2Value() {
|
||||||
|
return GET_BBC().GET_STR(BãßBȍőnPartKey.ALT_2_VALUE);
|
||||||
|
}
|
||||||
|
|
||||||
|
default String staticAlt2Name() {
|
||||||
|
return getClass().getAnnotation(BãßBȍőnPartAlt2Info.class).name();
|
||||||
|
}
|
||||||
|
|
||||||
|
default String staticAlt2Website() {
|
||||||
|
return getClass().getAnnotation(BãßBȍőnPartAlt2Info.class).website();
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
package love.distributedrebirth.numberxd.base2t.bone;
|
package love.distributedrebirth.numberxd.base2t.part;
|
||||||
|
|
||||||
import java.lang.annotation.ElementType;
|
import java.lang.annotation.ElementType;
|
||||||
import java.lang.annotation.Retention;
|
import java.lang.annotation.Retention;
|
||||||
|
@ -12,7 +12,7 @@ import java.lang.annotation.Target;
|
||||||
*/
|
*/
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
@Target({ElementType.TYPE})
|
@Target({ElementType.TYPE})
|
||||||
public @interface BassBoneAlt2Info {
|
public @interface BãßBȍőnPartAlt2Info {
|
||||||
|
|
||||||
String name();
|
String name();
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
package love.distributedrebirth.numberxd.base2t.part;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
|
*/
|
||||||
|
public interface BãßBȍőnPartAlt3<T extends BãßBȍőnPart<T>> extends BãßBȍőnPartAlt2<T> {
|
||||||
|
|
||||||
|
default String getAlt3Value() {
|
||||||
|
return GET_BBC().GET_STR(BãßBȍőnPartKey.ALT_3_VALUE);
|
||||||
|
}
|
||||||
|
|
||||||
|
default String staticAlt3Name() {
|
||||||
|
return getClass().getAnnotation(BãßBȍőnPartAlt3Info.class).name();
|
||||||
|
}
|
||||||
|
|
||||||
|
default String staticAlt3Website() {
|
||||||
|
return getClass().getAnnotation(BãßBȍőnPartAlt3Info.class).website();
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
package love.distributedrebirth.numberxd.base2t.bone;
|
package love.distributedrebirth.numberxd.base2t.part;
|
||||||
|
|
||||||
import java.lang.annotation.ElementType;
|
import java.lang.annotation.ElementType;
|
||||||
import java.lang.annotation.Retention;
|
import java.lang.annotation.Retention;
|
||||||
|
@ -12,7 +12,7 @@ import java.lang.annotation.Target;
|
||||||
*/
|
*/
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
@Target({ElementType.TYPE})
|
@Target({ElementType.TYPE})
|
||||||
public @interface BassBoneAlt3Info {
|
public @interface BãßBȍőnPartAlt3Info {
|
||||||
|
|
||||||
String name();
|
String name();
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
package love.distributedrebirth.numberxd.base2t.part;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
|
*/
|
||||||
|
public interface BãßBȍőnPartAlt4<T extends BãßBȍőnPart<T>> extends BãßBȍőnPartAlt3<T> {
|
||||||
|
|
||||||
|
default String getAlt4Value() {
|
||||||
|
return GET_BBC().GET_STR(BãßBȍőnPartKey.ALT_4_VALUE);
|
||||||
|
}
|
||||||
|
|
||||||
|
default String staticAlt4Name() {
|
||||||
|
return getClass().getAnnotation(BãßBȍőnPartAlt4Info.class).name();
|
||||||
|
}
|
||||||
|
|
||||||
|
default String staticAlt4Website() {
|
||||||
|
return getClass().getAnnotation(BãßBȍőnPartAlt4Info.class).website();
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
package love.distributedrebirth.numberxd.base2t.bone;
|
package love.distributedrebirth.numberxd.base2t.part;
|
||||||
|
|
||||||
import java.lang.annotation.ElementType;
|
import java.lang.annotation.ElementType;
|
||||||
import java.lang.annotation.Retention;
|
import java.lang.annotation.Retention;
|
||||||
|
@ -12,7 +12,7 @@ import java.lang.annotation.Target;
|
||||||
*/
|
*/
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
@Target({ElementType.TYPE})
|
@Target({ElementType.TYPE})
|
||||||
public @interface BassBoneAlt4Info {
|
public @interface BãßBȍőnPartAlt4Info {
|
||||||
|
|
||||||
String name();
|
String name();
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package love.distributedrebirth.numberxd.base2t.bone;
|
package love.distributedrebirth.numberxd.base2t.part;
|
||||||
|
|
||||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinStoreKeyʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinStoreKeyʸᴰ;
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinStoreKeyʸᴰ;
|
||||||
*
|
*
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
*/
|
*/
|
||||||
public enum BassBoneStoreKey implements BãßBȍőnCoffinStoreKeyʸᴰ {
|
public enum BãßBȍőnPartKey implements BãßBȍőnCoffinStoreKeyʸᴰ {
|
||||||
|
|
||||||
ID_TONE,
|
ID_TONE,
|
||||||
ID_LETTER,
|
ID_LETTER,
|
|
@ -0,0 +1,13 @@
|
||||||
|
package love.distributedrebirth.numberxd.base2t.part;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
|
*/
|
||||||
|
public interface BãßBȍőnPartShiftBits<T extends BãßBȍőnPart<T>> extends BãßBȍőnPart<T> {
|
||||||
|
|
||||||
|
default Integer getShiftBits() {
|
||||||
|
return GET_BBC().GET_INT(BãßBȍőnPartKey.SHIFT_BITS);
|
||||||
|
}
|
||||||
|
}
|
|
@ -6,7 +6,7 @@ import java.util.Map;
|
||||||
import org.junit.jupiter.api.Assertions;
|
import org.junit.jupiter.api.Assertions;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBone;
|
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPart;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -27,7 +27,7 @@ public class BasePartFactoryTest {
|
||||||
public void testGlobalChinaKeyMap() {
|
public void testGlobalChinaKeyMap() {
|
||||||
Map<String,String> global = new HashMap<>();
|
Map<String,String> global = new HashMap<>();
|
||||||
for (int base:BasePartFactory.getSupportedBases()) {
|
for (int base:BasePartFactory.getSupportedBases()) {
|
||||||
for (BassBone part:BasePartFactory.buildBassBonesByBase(base)) {
|
for (BãßBȍőnPart part:BasePartFactory.buildBassBonesByBase(base)) {
|
||||||
Assertions.assertFalse(global.containsKey(part.getChinaKey()));
|
Assertions.assertFalse(global.containsKey(part.getChinaKey()));
|
||||||
global.put(part.getChinaKey(), part.getChinaValue());
|
global.put(part.getChinaKey(), part.getChinaValue());
|
||||||
}
|
}
|
||||||
|
@ -39,7 +39,7 @@ public class BasePartFactoryTest {
|
||||||
public void testGlobalChinaValueMap() {
|
public void testGlobalChinaValueMap() {
|
||||||
Map<String,String> global = new HashMap<>();
|
Map<String,String> global = new HashMap<>();
|
||||||
for (int base:BasePartFactory.getSupportedBases()) {
|
for (int base:BasePartFactory.getSupportedBases()) {
|
||||||
for (BassBone part:BasePartFactory.buildBassBonesByBase(base)) {
|
for (BãßBȍőnPart part:BasePartFactory.buildBassBonesByBase(base)) {
|
||||||
Assertions.assertFalse(global.containsKey(part.getChinaValue()));
|
Assertions.assertFalse(global.containsKey(part.getChinaValue()));
|
||||||
global.put(part.getChinaValue(), part.getChinaValue());
|
global.put(part.getChinaValue(), part.getChinaValue());
|
||||||
}
|
}
|
||||||
|
@ -52,7 +52,7 @@ public class BasePartFactoryTest {
|
||||||
boolean duplicate = false;
|
boolean duplicate = false;
|
||||||
Map<String,String> global = new HashMap<>();
|
Map<String,String> global = new HashMap<>();
|
||||||
for (int base:BasePartFactory.getSupportedBases()) {
|
for (int base:BasePartFactory.getSupportedBases()) {
|
||||||
for (BassBone part:BasePartFactory.buildBassBonesByBase(base)) {
|
for (BãßBȍőnPart part:BasePartFactory.buildBassBonesByBase(base)) {
|
||||||
if (global.containsKey(part.getIdentifierTone())) {
|
if (global.containsKey(part.getIdentifierTone())) {
|
||||||
duplicate = true;
|
duplicate = true;
|
||||||
break;
|
break;
|
||||||
|
@ -69,7 +69,7 @@ public class BasePartFactoryTest {
|
||||||
boolean duplicate = false;
|
boolean duplicate = false;
|
||||||
Map<String,String> global = new HashMap<>();
|
Map<String,String> global = new HashMap<>();
|
||||||
for (int base:BasePartFactory.getSupportedBases()) {
|
for (int base:BasePartFactory.getSupportedBases()) {
|
||||||
for (BassBone part:BasePartFactory.buildBassBonesByBase(base)) {
|
for (BãßBȍőnPart part:BasePartFactory.buildBassBonesByBase(base)) {
|
||||||
if (global.containsKey(part.getIdentifierLetter())) {
|
if (global.containsKey(part.getIdentifierLetter())) {
|
||||||
duplicate = true;
|
duplicate = true;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue