From 87c119e5e392d046746104277f5096a5c61020e1 Mon Sep 17 00:00:00 2001 From: Willem Date: Tue, 25 Oct 2022 15:00:12 +0200 Subject: [PATCH] Added mort parts --- .../numberxd/base2t/Base2PartsFactory.java | 38 +++- .../numberxd/base2t/part/T06PartSeximal.java | 18 +- .../numberxd/base2t/part/T07PartSeptet.java | 20 +- .../numberxd/base2t/part/T08PartOctal.java | 24 +- .../base2t/part/T11PartUndecimal.java | 28 ++- .../numberxd/base2t/part/T12PartUncial.java | 26 +-- .../base2t/part/T14PartTetradecimal.java | 36 +++ .../numberxd/base2t/part/T15PartPenta.java | 38 ++++ .../base2t/part/T17PartHeptadecimal.java | 43 ++++ .../base2t/part/T18PartOctodecimal.java | 38 ++++ .../base2t/part/T192PartCentebrailleimal.java | 212 ++++++++++++++++++ .../base2t/part/T21PartUnvigesimal.java | 48 ++++ .../base2t/part/T25PartPentavigesimal.java | 46 ++++ .../base2t/part/T60PartSexagesimal.java | 2 + .../base2t/part/T64PartTetrasexagesimal.java | 90 ++++++++ .../numberxd/base2t/part/T87PartXuanJing.java | 107 +++++++++ .../numberxd/unicode/BaseGlyphSet.java | 11 +- .../base2t/Base2PartsFactoryTest.java | 2 + ...PlanItTest.java => T07PartSeptetTest.java} | 10 +- .../base2t/part/T08PartOctalTest.java | 8 +- 20 files changed, 772 insertions(+), 73 deletions(-) create mode 100644 gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T14PartTetradecimal.java create mode 100644 gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T15PartPenta.java create mode 100644 gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T17PartHeptadecimal.java create mode 100644 gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T18PartOctodecimal.java create mode 100644 gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T192PartCentebrailleimal.java create mode 100644 gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T21PartUnvigesimal.java create mode 100644 gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T25PartPentavigesimal.java create mode 100644 gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T64PartTetrasexagesimal.java create mode 100644 gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T87PartXuanJing.java rename gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/{T07PartPlanItTest.java => T07PartSeptetTest.java} (87%) diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/Base2PartsFactory.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/Base2PartsFactory.java index 3d5ab28b..a2104da2 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/Base2PartsFactory.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/Base2PartsFactory.java @@ -19,9 +19,18 @@ import love.distributedrebirth.numberxd.base2t.part.T09PartNonary; import love.distributedrebirth.numberxd.base2t.part.T10PartDecimal; import love.distributedrebirth.numberxd.base2t.part.T11PartUndecimal; import love.distributedrebirth.numberxd.base2t.part.T12PartUncial; +import love.distributedrebirth.numberxd.base2t.part.T14PartTetradecimal; +import love.distributedrebirth.numberxd.base2t.part.T15PartPenta; import love.distributedrebirth.numberxd.base2t.part.T16PartHex; +import love.distributedrebirth.numberxd.base2t.part.T17PartHeptadecimal; +import love.distributedrebirth.numberxd.base2t.part.T18PartOctodecimal; +import love.distributedrebirth.numberxd.base2t.part.T192PartCentebrailleimal; import love.distributedrebirth.numberxd.base2t.part.T20PartScore; +import love.distributedrebirth.numberxd.base2t.part.T21PartUnvigesimal; +import love.distributedrebirth.numberxd.base2t.part.T25PartPentavigesimal; import love.distributedrebirth.numberxd.base2t.part.T60PartSexagesimal; +import love.distributedrebirth.numberxd.base2t.part.T64PartTetrasexagesimal; +import love.distributedrebirth.numberxd.base2t.part.T87PartXuanJing; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnDuytsFlüstern注(purpose = "Factory to access the bases.") @@ -72,7 +81,7 @@ public enum Base2PartsFactory implements BãßBȍőnAbacusInstanceMBeanʸᴰ { +@BãßBȍőnPartAlt2注(name = "Dice", website = "https://en.wikipedia.org/wiki/Dice") +public enum T06PartSeximal implements BãßBȍőnPartAlt2ʸᴰ { - PART_1("˦","四","4","A"), - PART_2("˨","五","5","D"), - PART_3("꜓","六","6","F"), - PART_4("꜕","七","7","G"), - PART_5("꜊","八","8","V"), - PART_6("꜏","九","9","X"), + PART_1("˦","四","4","A","⚀"), + PART_2("˨","五","5","D","⚁"), + PART_3("꜓","六","6","F","⚂"), + PART_4("꜕","七","7","G","⚃"), + PART_5("꜊","八","8","V","⚄"), + PART_6("꜏","九","9","X","⚅"), ; public final static T06PartSeximal STATIC = T06PartSeximal.PART_1; - private T06PartSeximal(String dialTone, String chinaKey, String chinaValue, String alt1Value) { + private T06PartSeximal(String dialTone, String chinaKey, String chinaValue, String alt1Value, String alt2Value) { BãßBȍőnPartʸᴰ.Ꝑŕḯṿª₮ḕ.יהוהʸᴰ(this, dialTone, enumPart -> { enumPart.PUT_OBJ(BãßBȍőnPartBullet.CHINA_KEY, chinaKey); enumPart.PUT_OBJ(BãßBȍőnPartBullet.CHINA_VALUE, chinaValue); enumPart.PUT_OBJ(BãßBȍőnPartBullet.ALT_1_VALUE, alt1Value); + enumPart.PUT_OBJ(BãßBȍőnPartBullet.ALT_2_VALUE, alt2Value); }); } diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T07PartSeptet.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T07PartSeptet.java index c3a8aed2..e37f4499 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T07PartSeptet.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T07PartSeptet.java @@ -4,17 +4,19 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; import love.distributedrebirth.bassboon.clazz.BãßBȍőnDuytsFlüstern注; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") -@BãßBȍőnDuytsFlüstern注(purpose = "The distribution by 7 (planets).") -@BãßBȍőnPartAlt1注(name = "Fallen sign", website = "https://en.wikipedia.org/wiki/Classical_planet#Western_astrology") +@BãßBȍőnDuytsFlüstern注(purpose = "The distribution by 7 (♩♪♫♬♭♮♯).") +@BãßBȍőnPartAlt1注(name = "Byzantine music", website = "https://en.wikipedia.org/wiki/Byzantine_Empire") public enum T07PartSeptet implements BãßBȍőnPartAlt1ʸᴰ { - PART_1("˥","♎︎","libra", "天秤座"), - PART_2("꜉","♏︎","scorpio", "天蠍座"), - PART_3("꜋","♓︎","pisces", "雙魚座"), - PART_4("꜔","♍︎","virgo", "處女座"), - PART_5("꜎","♋︎","cancer", "癌症"), - PART_6("꜐","♑︎","capricorn","摩羯座"), - PART_7("˩","♈︎","aries", "白羊座"), + // TODO: replace with global unique one char china key value. + + PART_1("˥","सा","sa", "Πα"), + PART_2("꜉","रे", "re", "Βου"), + PART_3("꜋","गा", "ga", "Γα"), + PART_4("꜔","म", "ma", "Δι"), + PART_5("꜎","प", "pa", "Κε"), + PART_6("꜐","ध", "dha", "Ζω"), + PART_7("˩","नि", "ni", "Νη"), ; public final static T07PartSeptet STATIC = T07PartSeptet.PART_1; diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T08PartOctal.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T08PartOctal.java index 05bbd9f1..a732f11e 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T08PartOctal.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T08PartOctal.java @@ -4,28 +4,30 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; import love.distributedrebirth.bassboon.clazz.BãßBȍőnDuytsFlüstern注; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") -@BãßBȍőnDuytsFlüstern注(purpose = "The distribution by 8 (human part).") -public enum T08PartOctal implements BãßBȍőnPartShiftBitsʸᴰ { +@BãßBȍőnDuytsFlüstern注(purpose = "The distribution by 8 (eight trigrams).") +@BãßBȍőnPartAlt1注(name = "The eight trigrams", website = "https://en.wikipedia.org/wiki/Bagua") +public enum T08PartOctal implements BãßBȍőnPartShiftBitsʸᴰ, BãßBȍőnPartAlt1ʸᴰ { - PART_1("˥","心","heart",0), - PART_2("˩","頭","head", 3), - PART_3("꜒","眼","eye", 6), - PART_4("꜖","嘴","mouth",9), - PART_5("꜈","臂","arm", 12), - PART_6("꜌","手","hand", 15), - PART_7("꜍","肢","leg", 18), - PART_8("꜑","腳","feet", 21), + PART_1("˥","乾","creative", 0, "☰"), + PART_2("˩","兌","joyous", 3, "☱"), + PART_3("꜒","離","clinging", 6, "☲"), + PART_4("꜖","震","arousing", 9, "☳"), + PART_5("꜈","巽","gentle", 12, "☴"), + PART_6("꜌","坎","abysmal", 15, "☵"), + PART_7("꜍","艮","silent", 18, "☶"), + PART_8("꜑","坤","receptive", 21, "☷"), ; public final static int BIT_COUNT = 3; private final static byte BITMASK = 0x07; public final static T08PartOctal STATIC = T08PartOctal.PART_1; - private T08PartOctal(String dialTone, String chinaKey, String chinaValue, int shiftBits) { + private T08PartOctal(String dialTone, String chinaKey, String chinaValue, int shiftBits, String alt1Value) { BãßBȍőnPartʸᴰ.Ꝑŕḯṿª₮ḕ.יהוהʸᴰ(this, dialTone, enumPart -> { enumPart.PUT_OBJ(BãßBȍőnPartBullet.CHINA_KEY, chinaKey); enumPart.PUT_OBJ(BãßBȍőnPartBullet.CHINA_VALUE, chinaValue); enumPart.PUT_OBJ(BãßBȍőnPartBullet.SHIFT_BITS, Integer.valueOf(shiftBits)); + enumPart.PUT_OBJ(BãßBȍőnPartBullet.ALT_1_VALUE, alt1Value); }); } diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T11PartUndecimal.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T11PartUndecimal.java index 5da92bdf..b47f458d 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T11PartUndecimal.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T11PartUndecimal.java @@ -5,29 +5,27 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnDuytsFlüstern注; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnDuytsFlüstern注(purpose = "The distribution by 11 (human activity).") -@BãßBȍőnPartAlt1注(name = "Tamil numerals", website = "https://en.wikipedia.org/wiki/Tamil_numerals") -public enum T11PartUndecimal implements BãßBȍőnPartAlt1ʸᴰ { +public enum T11PartUndecimal implements BãßBȍőnPartʸᴰ { - PART_1 ("˥","走","walk", "௦"), - PART_2 ("꜈","跑","run", "௧"), - PART_3 ("꜉","坐","sit", "௨"), - PART_4 ("꜋","掛","hang", "௩"), - PART_5 ("꜌","鋪","lay", "௪"), - PART_6 ("꜔","跳","jump", "௫"), - PART_7 ("꜍","落","drop", "௬"), - PART_8 ("꜎","寂","lonely","௭"), - PART_9 ("꜏","談","talk", "௮"), - PART_10("꜐","春","life", "௯"), - PART_11("˩","耦","mate", "௰"), + PART_1 ("˥","走","walk"), + PART_2 ("꜈","跑","run"), + PART_3 ("꜉","坐","sit"), + PART_4 ("꜋","掛","hang"), + PART_5 ("꜌","鋪","lay"), + PART_6 ("꜔","跳","jump"), + PART_7 ("꜍","落","drop"), + PART_8 ("꜎","寂","lonely"), + PART_9 ("꜏","談","talk"), + PART_10("꜐","春","life"), + PART_11("˩","耦","mate"), ; public final static T11PartUndecimal STATIC = T11PartUndecimal.PART_1; - private T11PartUndecimal(String dialTone, String chinaKey, String chinaValue, String alt1Value) { + private T11PartUndecimal(String dialTone, String chinaKey, String chinaValue) { BãßBȍőnPartʸᴰ.Ꝑŕḯṿª₮ḕ.יהוהʸᴰ(this, dialTone, enumPart -> { enumPart.PUT_OBJ(BãßBȍőnPartBullet.CHINA_KEY, chinaKey); enumPart.PUT_OBJ(BãßBȍőnPartBullet.CHINA_VALUE, chinaValue); - enumPart.PUT_OBJ(BãßBȍőnPartBullet.ALT_1_VALUE, alt1Value); }); } } diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T12PartUncial.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T12PartUncial.java index 99e7989f..50870c07 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T12PartUncial.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T12PartUncial.java @@ -5,21 +5,21 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnDuytsFlüstern注; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnDuytsFlüstern注(purpose = "The distribution by 12 (emperor).") -@BãßBȍőnPartAlt1注(name = "Transdecimal symbols", website = "https://en.wikipedia.org/wiki/Duodecimal#Transdecimal_symbols") +@BãßBȍőnPartAlt1注(name = "Indian (Bengali)", website = "https://en.wikipedia.org/wiki/Musical_note") public enum T12PartUncial implements BãßBȍőnPartAlt1ʸᴰ { - PART_1 ("˥","日","sun", "0"), - PART_2 ("˧","月","moon", "1"), - PART_3 ("˩","星","star", "2"), - PART_4 ("꜒","山","mountain","3"), - PART_5 ("꜔","龍","dragon", "4"), - PART_6 ("꜖","鳳","phoenix", "5"), - PART_7 ("꜈","杯","cup", "6"), - PART_8 ("꜊","藻","pondweed","7"), - PART_9 ("꜌","爐","furnace", "8"), - PART_10("꜍","種","seed", "9"), - PART_11("꜏","黼","axe", "\u218a"), // TURNED DIGIT TWO - PART_12("꜑","亞","nozero", "\u218b"), // TURNED DIGIT THREE + PART_1 ("˥","日","sun", "সা"), + PART_2 ("˧","月","moon", "ঋ"), + PART_3 ("˩","星","star", "রে"), + PART_4 ("꜒","山","mountain","জ্ঞ"), + PART_5 ("꜔","龍","dragon", "গ"), + PART_6 ("꜖","鳳","phoenix", "ম"), + PART_7 ("꜈","杯","cup", "হ্ম"), + PART_8 ("꜊","藻","pondweed","প"), + PART_9 ("꜌","爐","furnace", "দ"), + PART_10("꜍","種","seed", "ধ"), + PART_11("꜏","黼","axe", "ণ"), + PART_12("꜑","亞","nozero", "নি"), ; public final static T12PartUncial STATIC = T12PartUncial.PART_1; diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T14PartTetradecimal.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T14PartTetradecimal.java new file mode 100644 index 00000000..4f6b29cb --- /dev/null +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T14PartTetradecimal.java @@ -0,0 +1,36 @@ +package love.distributedrebirth.numberxd.base2t.part; + +import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; +import love.distributedrebirth.bassboon.clazz.BãßBȍőnDuytsFlüstern注; + +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +@BãßBȍőnDuytsFlüstern注(purpose = "The distribution by 14 (Liver meridian)") +public enum T14PartTetradecimal implements BãßBȍőnPartʸᴰ { + + // TODO: replace with global unique one char china key value. + + PART_1 ("˥˥", "大敦","dadun"), + PART_2 ("˥˦", "行間","xingjian"), + PART_3 ("˥˧", "太沖","taichong"), + PART_4 ("˥˨", "中封","zhongfeng"), + PART_5 ("˥˩", "蠡溝","ligou"), + PART_6 ("˥꜖", "中都","zhongdu"), + PART_7 ("˥꜕", "膝關","xiguan"), + PART_8 ("˥꜔", "曲泉","ququan"), + PART_9 ("˥꜓", "陰包","yinbao"), + PART_10 ("˥꜒","足五里","zuwuli"), + PART_11 ("˦˥","陰廉","yinlian"), + PART_12 ("˦˦","急脈","jimai"), + PART_13 ("˦˧","章門","zhangmen"), + PART_14 ("˦˨","期門","qimen"), + ; + + public final static T14PartTetradecimal STATIC = T14PartTetradecimal.PART_1; + + private T14PartTetradecimal(String dialTone, String chinaKey, String chinaValue) { + BãßBȍőnPartʸᴰ.Ꝑŕḯṿª₮ḕ.יהוהʸᴰ(this, dialTone, enumPart -> { + enumPart.PUT_OBJ(BãßBȍőnPartBullet.CHINA_KEY, chinaKey); + enumPart.PUT_OBJ(BãßBȍőnPartBullet.CHINA_VALUE, chinaValue); + }); + } +} diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T15PartPenta.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T15PartPenta.java new file mode 100644 index 00000000..d1c99ec9 --- /dev/null +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T15PartPenta.java @@ -0,0 +1,38 @@ +package love.distributedrebirth.numberxd.base2t.part; + +import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; +import love.distributedrebirth.bassboon.clazz.BãßBȍőnDuytsFlüstern注; + +// https://en.wikipedia.org/wiki/Chinese_dragon#Classical_depictions +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +@BãßBȍőnDuytsFlüstern注(purpose = "The distribution by 15 (dragons).") +public enum T15PartPenta implements BãßBȍőnPartʸᴰ { + + // TODO: replace with global unique one char china key value. + + PART_1 ("˥˥","天龍","heavenly_dragon"), + PART_2 ("˥˦","神龍","god_dragon"), + PART_3 ("˥˧","伏藏龍","hidden_dragon"), + PART_4 ("˥˨","地龍","earthly_dragon"), + PART_5 ("˥˩","應龍","responding_dragon"), + PART_6 ("˥꜖","蛟龍","crocodile_dragon"), + PART_7 ("˥꜕","蟠龍","coiled_dragon"), + PART_8 ("˥꜔","黃龍","yellow_dragon"), + PART_9 ("˥꜓","飛龍","flying_dragon"), + PART_10 ("˥꜒","青龍","azure_dragon"), + PART_11 ("˦˥","虯龍","curling_dragon"), + PART_12 ("˦˦","燭龍","torch_dragon"), + PART_13 ("˦˧","螭龍","demon_dragon"), + PART_14 ("˦˨","龍王","dragon_kings"), + PART_15 ("˦˩","龍馬","dragon_horse"), + ; + + public final static T15PartPenta STATIC = T15PartPenta.PART_1; + + private T15PartPenta(String dialTone, String chinaKey, String chinaValue) { + BãßBȍőnPartʸᴰ.Ꝑŕḯṿª₮ḕ.יהוהʸᴰ(this, dialTone, enumPart -> { + enumPart.PUT_OBJ(BãßBȍőnPartBullet.CHINA_KEY, chinaKey); + enumPart.PUT_OBJ(BãßBȍőnPartBullet.CHINA_VALUE, chinaValue); + }); + } +} diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T17PartHeptadecimal.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T17PartHeptadecimal.java new file mode 100644 index 00000000..ec352559 --- /dev/null +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T17PartHeptadecimal.java @@ -0,0 +1,43 @@ +package love.distributedrebirth.numberxd.base2t.part; + +import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; +import love.distributedrebirth.bassboon.clazz.BãßBȍőnDuytsFlüstern注; + +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +@BãßBȍőnDuytsFlüstern注(purpose = "The distribution by 17 (chromatic scale)") +@BãßBȍőnPartAlt1注(name = "Chromatic scale English", website = "https://en.wikipedia.org/wiki/Musical_note#12-tone_chromatic_scale") +@BãßBȍőnPartAlt2注(name = "Chromatic scale Romance", website = "https://en.wikipedia.org/wiki/Musical_note#12-tone_chromatic_scale") +public enum T17PartHeptadecimal implements BãßBȍőnPartAlt2ʸᴰ { + + // TODO: replace with global unique one char china key value. + + PART_1 ("˥˥","粤", "guangdong", "C", "do"), + PART_2 ("˥˦","鲁", "shandong","C♯", "do diesis"), + PART_3 ("˥˧","豫", "henan","D♭", "re bemolle"), + PART_4 ("˥˨","苏", "jiangsu","D", "re"), + PART_5 ("˥˩","川", "sichuan","D♯", "re diesis"), + PART_6 ("˥꜖","冀", "hebei","E♭", "mi bemolle"), + PART_7 ("˥꜕","湘", "hunan","E", "mi"), + PART_8 ("˥꜔","浙", "zhejiang","F", "fa"), + PART_9 ("˥꜓","皖", "anhui","F♯", "fa diesis"), + PART_10("˥꜒","鄂", "hubei","G♭", "sol bemolle"), + PART_11("˦˥","桂", "guangxi","G", "sol"), + PART_12("˦˦","云", "yunnan","G♯", "sol diesis"), + PART_13("˦˧","赣", "jiangxi","A♭", "la bemolle"), + PART_14("˦˨","辽", "liaoning","A", "la"), + PART_15("˦˩","闽", "fujian","A♯", "la diesis"), + PART_16("˦꜖","陕", "shaanxi","B♭", "si bemolle"), + PART_17("˦꜕","贵", "guizhou","B", "si"), + ; + + public final static T17PartHeptadecimal STATIC = T17PartHeptadecimal.PART_1; + + private T17PartHeptadecimal(String dialTone, String chinaKey, String chinaValue, String alt1Value, String alt2Value) { + BãßBȍőnPartʸᴰ.Ꝑŕḯṿª₮ḕ.יהוהʸᴰ(this, dialTone, enumPart -> { + enumPart.PUT_OBJ(BãßBȍőnPartBullet.CHINA_KEY, chinaKey); + enumPart.PUT_OBJ(BãßBȍőnPartBullet.CHINA_VALUE, chinaValue); + enumPart.PUT_OBJ(BãßBȍőnPartBullet.ALT_1_VALUE, alt1Value); + enumPart.PUT_OBJ(BãßBȍőnPartBullet.ALT_2_VALUE, alt2Value); + }); + } +} diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T18PartOctodecimal.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T18PartOctodecimal.java new file mode 100644 index 00000000..35eb2a85 --- /dev/null +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T18PartOctodecimal.java @@ -0,0 +1,38 @@ +package love.distributedrebirth.numberxd.base2t.part; + +import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; +import love.distributedrebirth.bassboon.clazz.BãßBȍőnDuytsFlüstern注; + +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +@BãßBȍőnDuytsFlüstern注(purpose = "The distribution by 18 (Human body)") +public enum T18PartOctodecimal implements BãßBȍőnPartʸᴰ { + + PART_1 ("˥˥","心", "heart"), + PART_2 ("˥˦","眼", "eye"), + PART_3 ("˥˧","舌", "tongue"), + PART_4 ("˥˨","嘴", "mouth"), + PART_5 ("˥˩","唇", "lips"), + PART_6 ("˥꜖","脚", "foot"), + PART_7 ("˥꜕","肝", "liver"), + PART_8 ("˥꜔","胸", "chest"), + PART_9 ("˥꜓","头", "head"), + PART_10("˥꜒","脸", "face"), + PART_11("˦˥","脑", "brain"), + PART_12("˦˦","臂", "arm"), + PART_13("˦˧","胃", "stomach"), + PART_14("˦˨","手", "hand"), + PART_15("˦˩","肺", "lungs"), + PART_16("˦꜖","胫", "shin"), + PART_17("˦꜕","腰", "waist"), + PART_18("˦꜔","背", "back"), + ; + + public final static T18PartOctodecimal STATIC = T18PartOctodecimal.PART_1; + + private T18PartOctodecimal(String dialTone, String chinaKey, String chinaValue) { + BãßBȍőnPartʸᴰ.Ꝑŕḯṿª₮ḕ.יהוהʸᴰ(this, dialTone, enumPart -> { + enumPart.PUT_OBJ(BãßBȍőnPartBullet.CHINA_KEY, chinaKey); + enumPart.PUT_OBJ(BãßBȍőnPartBullet.CHINA_VALUE, chinaValue); + }); + } +} diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T192PartCentebrailleimal.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T192PartCentebrailleimal.java new file mode 100644 index 00000000..7536ce78 --- /dev/null +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T192PartCentebrailleimal.java @@ -0,0 +1,212 @@ +package love.distributedrebirth.numberxd.base2t.part; + +import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; +import love.distributedrebirth.bassboon.clazz.BãßBȍőnDuytsFlüstern注; + +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +@BãßBȍőnDuytsFlüstern注(purpose = "The distribution by 192 (Left over Braille).") +public enum T192PartCentebrailleimal implements BãßBȍőnPartʸᴰ { + + PART_1("˥˥˥","⡀","2840"), + PART_2("˥˥˦","⡁","2841"), + PART_3("˥˥˧","⡂","2842"), + PART_4("˥˥˨","⡃","2843"), + PART_5("˥˥˩","⡄","2844"), + PART_6("˥˥꜖","⡅","2845"), + PART_7("˥˥꜕","⡆","2846"), + PART_8("˥˥꜔","⡇","2847"), + PART_9("˥˥꜓","⡈","2848"), + PART_10("˥˥꜒","⡉","2849"), + PART_11("˥˦˥","⡊","284A"), + PART_12("˥˦˦","⡋","284B"), + PART_13("˥˦˧","⡌","284C"), + PART_14("˥˦˨","⡍","284D"), + PART_15("˥˦˩","⡎","284E"), + PART_16("˥˦꜖","⡏","284F"), + PART_17("˥˦꜕","⡐","2850"), + PART_18("˥˦꜔","⡑","2851"), + PART_19("˥˦꜓","⡒","2852"), + PART_20("˥˦꜒","⡓","2853"), + PART_21("˥˧˥","⡔","2854"), + PART_22("˥˧˦","⡕","2855"), + PART_23("˥˧˧","⡖","2856"), + PART_24("˥˧˨","⡗","2857"), + PART_25("˥˧˩","⡘","2858"), + PART_26("˥˧꜖","⡙","2859"), + PART_27("˥˧꜕","⡚","285A"), + PART_28("˥˧꜔","⡛","285B"), + PART_29("˥˧꜓","⡜","285C"), + PART_30("˥˧꜒","⡝","285D"), + PART_31("˥˨˥","⡞","285E"), + PART_32("˥˨˦","⡟","285F"), + PART_33("˥˨˧","⡠","2860"), + PART_34("˥˨˨","⡡","2861"), + PART_35("˥˨˩","⡢","2862"), + PART_36("˥˨꜖","⡣","2863"), + PART_37("˥˨꜕","⡤","2864"), + PART_38("˥˨꜔","⡥","2865"), + PART_39("˥˨꜓","⡦","2866"), + PART_40("˥˨꜒","⡧","2867"), + PART_41("˥˩˥","⡨","2868"), + PART_42("˥˩˦","⡩","2869"), + PART_43("˥˩˧","⡪","286A"), + PART_44("˥˩˨","⡫","286B"), + PART_45("˥˩˩","⡬","286C"), + PART_46("˥˩꜖","⡭","286D"), + PART_47("˥˩꜕","⡮","286E"), + PART_48("˥˩꜔","⡯","286F"), + PART_49("˥˩꜓","⡰","2870"), + PART_50("˥˩꜒","⡱","2871"), + PART_51("˥꜖˥","⡲","2872"), + PART_52("˥꜖˦","⡳","2873"), + PART_53("˥꜖˧","⡴","2874"), + PART_54("˥꜖˨","⡵","2875"), + PART_55("˥꜖˩","⡶","2876"), + PART_56("˥꜖꜖","⡷","2877"), + PART_57("˥꜖꜕","⡸","2878"), + PART_58("˥꜖꜔","⡹","2879"), + PART_59("˥꜖꜓","⡺","287A"), + PART_60("˥꜖꜒","⡻","287B"), + PART_61("˥꜕˥","⡼","287C"), + PART_62("˥꜕˦","⡽","287D"), + PART_63("˥꜕˧","⡾","287E"), + PART_64("˥꜕˨","⡿","287F"), + PART_65("˥꜕˩","⢀","2880"), + PART_66("˥꜕꜖","⢁","2881"), + PART_67("˥꜕꜕","⢂","2882"), + PART_68("˥꜕꜔","⢃","2883"), + PART_69("˥꜕꜓","⢄","2884"), + PART_70("˥꜕꜒","⢅","2885"), + PART_71("˥꜔˥","⢆","2886"), + PART_72("˥꜔˦","⢇","2887"), + PART_73("˥꜔˧","⢈","2888"), + PART_74("˥꜔˨","⢉","2889"), + PART_75("˥꜔˩","⢊","288A"), + PART_76("˥꜔꜖","⢋","288B"), + PART_77("˥꜔꜕","⢌","288C"), + PART_78("˥꜔꜔","⢍","288D"), + PART_79("˥꜔꜓","⢎","288E"), + PART_80("˥꜔꜒","⢏","288F"), + PART_81("˥꜓˥","⢐","2890"), + PART_82("˥꜓˦","⢑","2891"), + PART_83("˥꜓˧","⢒","2892"), + PART_84("˥꜓˨","⢓","2893"), + PART_85("˥꜓˩","⢔","2894"), + PART_86("˥꜓꜖","⢕","2895"), + PART_87("˥꜓꜕","⢖","2896"), + PART_88("˥꜓꜔","⢗","2897"), + PART_89("˥꜓꜓","⢘","2898"), + PART_90("˥꜓꜒","⢙","2899"), + PART_91("˥꜒˥","⢚","289A"), + PART_92("˥꜒˦","⢛","289B"), + PART_93("˥꜒˧","⢜","289C"), + PART_94("˥꜒˨","⢝","289D"), + PART_95("˥꜒˩","⢞","289E"), + PART_96("˥꜒꜖","⢟","289F"), + PART_97("˥꜒꜕","⢠","28A0"), + PART_98("˥꜒꜔","⢡","28A1"), + PART_99("˥꜒꜓","⢢","28A2"), + PART_100("˥꜒꜒","⢣","28A3"), + PART_101("˦˥˥","⢤","28A4"), + PART_102("˦˥˦","⢥","28A5"), + PART_103("˦˥˧","⢦","28A6"), + PART_104("˦˥˨","⢧","28A7"), + PART_105("˦˥˩","⢨","28A8"), + PART_106("˦˥꜖","⢩","28A9"), + PART_107("˦˥꜕","⢪","28AA"), + PART_108("˦˥꜔","⢫","28AB"), + PART_109("˦˥꜓","⢬","28AC"), + PART_110("˦˥꜒","⢭","28AD"), + PART_111("˦˦˥","⢮","28AE"), + PART_112("˦˦˦","⢯","28AF"), + PART_113("˦˦˧","⢰","28B0"), + PART_114("˦˦˨","⢱","28B1"), + PART_115("˦˦˩","⢲","28B2"), + PART_116("˦˦꜖","⢳","28B3"), + PART_117("˦˦꜕","⢴","28B4"), + PART_118("˦˦꜔","⢵","28B5"), + PART_119("˦˦꜓","⢶","28B6"), + PART_120("˦˦꜒","⢷","28B7"), + PART_121("˦˧˥","⢸","28B8"), + PART_122("˦˧˦","⢹","28B9"), + PART_123("˦˧˧","⢺","28BA"), + PART_124("˦˧˨","⢻","28BB"), + PART_125("˦˧˩","⢼","28BC"), + PART_126("˦˧꜖","⢽","28BD"), + PART_127("˦˧꜕","⢾","28BE"), + PART_128("˦˧꜔","⢿","28BF"), + PART_129("˦˧꜓","⣀","28C0"), + PART_130("˦˧꜒","⣁","28C1"), + PART_131("˦˨˥","⣂","28C2"), + PART_132("˦˨˦","⣃","28C3"), + PART_133("˦˨˧","⣄","28C4"), + PART_134("˦˨˨","⣅","28C5"), + PART_135("˦˨˩","⣆","28C6"), + PART_136("˦˨꜖","⣇","28C7"), + PART_137("˦˨꜕","⣈","28C8"), + PART_138("˦˨꜔","⣉","28C9"), + PART_139("˦˨꜓","⣊","28CA"), + PART_140("˦˨꜒","⣋","28CB"), + PART_141("˦˩˥","⣌","28CC"), + PART_142("˦˩˦","⣍","28CD"), + PART_143("˦˩˧","⣎","28CE"), + PART_144("˦˩˨","⣏","28CF"), + PART_145("˦˩˩","⣐","28D0"), + PART_146("˦˩꜖","⣑","28D1"), + PART_147("˦˩꜕","⣒","28D2"), + PART_148("˦˩꜔","⣓","28D3"), + PART_149("˦˩꜓","⣔","28D4"), + PART_150("˦˩꜒","⣕","28D5"), + PART_151("˦꜖˥","⣖","28D6"), + PART_152("˦꜖˦","⣗","28D7"), + PART_153("˦꜖˧","⣘","28D8"), + PART_154("˦꜖˨","⣙","28D9"), + PART_155("˦꜖˩","⣚","28DA"), + PART_156("˦꜖꜖","⣛","28DB"), + PART_157("˦꜖꜕","⣜","28DC"), + PART_158("˦꜖꜔","⣝","28DD"), + PART_159("˦꜖꜓","⣞","28DE"), + PART_160("˦꜖꜒","⣟","28DF"), + PART_161("˦꜕˥","⣠","28E0"), + PART_162("˦꜕˦","⣡","28E1"), + PART_163("˦꜕˧","⣢","28E2"), + PART_164("˦꜕˨","⣣","28E3"), + PART_165("˦꜕˩","⣤","28E4"), + PART_166("˦꜕꜖","⣥","28E5"), + PART_167("˦꜕꜕","⣦","28E6"), + PART_168("˦꜕꜔","⣧","28E7"), + PART_169("˦꜕꜓","⣨","28E8"), + PART_170("˦꜕꜒","⣩","28E9"), + PART_171("˦꜔˥","⣪","28EA"), + PART_172("˦꜔˦","⣫","28EB"), + PART_173("˦꜔˧","⣬","28EC"), + PART_174("˦꜔˨","⣭","28ED"), + PART_175("˦꜔˩","⣮","28EE"), + PART_176("˦꜔꜖","⣯","28EF"), + PART_177("˦꜔꜕","⣰","28F0"), + PART_178("˦꜔꜔","⣱","28F1"), + PART_179("˦꜔꜓","⣲","28F2"), + PART_180("˦꜔꜒","⣳","28F3"), + PART_181("˦꜓˥","⣴","28F4"), + PART_182("˦꜓˦","⣵","28F5"), + PART_183("˦꜓˧","⣶","28F6"), + PART_184("˦꜓˨","⣷","28F7"), + PART_185("˦꜓˩","⣸","28F8"), + PART_186("˦꜓꜖","⣹","28F9"), + PART_187("˦꜓꜕","⣺","28FA"), + PART_188("˦꜓꜔","⣻","28FB"), + PART_189("˦꜓꜓","⣼","28FC"), + PART_190("˦꜓꜒","⣽","28FD"), + PART_191("˦꜒˥","⣾","28FE"), + PART_192("˦꜒˦","⣿","28FF"), + ; + + public final static T192PartCentebrailleimal STATIC = T192PartCentebrailleimal.PART_1; + + private T192PartCentebrailleimal(String dialTone, String chinaKey, String chinaValue) { + BãßBȍőnPartʸᴰ.Ꝑŕḯṿª₮ḕ.יהוהʸᴰ(this, dialTone, enumPart -> { + enumPart.PUT_OBJ(BãßBȍőnPartBullet.CHINA_KEY, chinaKey); + enumPart.PUT_OBJ(BãßBȍőnPartBullet.CHINA_VALUE, chinaValue); + }); + } +} diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T21PartUnvigesimal.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T21PartUnvigesimal.java new file mode 100644 index 00000000..a3908e01 --- /dev/null +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T21PartUnvigesimal.java @@ -0,0 +1,48 @@ +package love.distributedrebirth.numberxd.base2t.part; + +import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; +import love.distributedrebirth.bassboon.clazz.BãßBȍőnDuytsFlüstern注; + +// https://en.wikipedia.org/wiki/Solf%C3%A8ge#Fixed_do_solf%C3%A8ge +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +@BãßBȍőnDuytsFlüstern注(purpose = "The distribution by 21 (目的 Cities)") +@BãßBȍőnPartAlt1注(name = "Fixed do solfège English", website = "https://en.wikipedia.org/wiki/Solf%C3%A8ge#Fixed_do_solf%C3%A8ge") +@BãßBȍőnPartAlt2注(name = "Fixed do solfège Romance", website = "https://en.wikipedia.org/wiki/Solf%C3%A8ge#Fixed_do_solf%C3%A8ge") +public enum T21PartUnvigesimal implements BãßBȍőnPartAlt2ʸᴰ { + + // TODO: replace with global unique one char china key value. + + PART_1 ("˥˥","北京市","beijing", "C♭", "Do♭"), + PART_2 ("˥˦","上海市","shanghai", "C", "Do"), + PART_3 ("˥˧","蚌埠市","bengbu", "C♯", "Do♯"), + PART_4 ("˥˨","合肥市","hefei", "D♭", "Re♭"), + PART_5 ("˥˩","福州市","fuzhou", "D", "Re"), + PART_6 ("˥꜖","厦门市","ziamen", "D♯", "Re♯"), + PART_7 ("˥꜕","兰州市","lanzhou", "E♭", "Mi♭"), + PART_8 ("˥꜔","贵阳市","guiyang", "E", "Mi"), + PART_9 ("˥꜓","郑州市","zhengzhou","E♯", "Mi♯"), + PART_10("˥꜒","长沙市","changsha", "F♭", "Fa♭"), + PART_11("˦˥","无锡市","wuxi", "F", "Fa"), + PART_12("˦˦","南昌市","nanchang", "F♯", "Fa♯"), + PART_13("˦˧","吉林市","jilin", "G♭", "Sol♭"), + PART_14("˦˨","丹东市","dandong", "G", "Sol"), + PART_15("˦˩","阜新市","fuxin", "G♯", "Sol♯"), + PART_16("˦꜖","锦州市","jinzhou", "A♭", "La♭"), + PART_17("˦꜕","营口市","yingkou", "A", "La"), + PART_18("˦꜔","济南市","jinan", "A♯", "La♯"), + PART_19("˦꜓","青岛市","qingdao", "B♭", "Si♭"), + PART_20("˦꜒","太原市","taiyuan", "B", "Si"), + PART_21("˧˥","成都市","chengdu", "B♯", "Si♯"), + ; + + public final static T21PartUnvigesimal STATIC = T21PartUnvigesimal.PART_1; + + private T21PartUnvigesimal(String dialTone, String chinaKey, String chinaValue, String alt1Value, String alt2Value) { + BãßBȍőnPartʸᴰ.Ꝑŕḯṿª₮ḕ.יהוהʸᴰ(this, dialTone, enumPart -> { + enumPart.PUT_OBJ(BãßBȍőnPartBullet.CHINA_KEY, chinaKey); + enumPart.PUT_OBJ(BãßBȍőnPartBullet.CHINA_VALUE, chinaValue); + enumPart.PUT_OBJ(BãßBȍőnPartBullet.ALT_1_VALUE, alt1Value); + enumPart.PUT_OBJ(BãßBȍőnPartBullet.ALT_2_VALUE, alt2Value); + }); + } +} diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T25PartPentavigesimal.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T25PartPentavigesimal.java new file mode 100644 index 00000000..6a14a6af --- /dev/null +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T25PartPentavigesimal.java @@ -0,0 +1,46 @@ +package love.distributedrebirth.numberxd.base2t.part; + +import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; +import love.distributedrebirth.bassboon.clazz.BãßBȍőnDuytsFlüstern注; + +// https://en.wikipedia.org/wiki/Counting_Rod_Numerals_(Unicode_block) +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +@BãßBȍőnDuytsFlüstern注(purpose = "The distribution by 25 (Song counting rods)") +public enum T25PartPentavigesimal implements BãßBȍőnPartʸᴰ { + + PART_1("˥˥","𝍠","1D360"), + PART_2("˥˦","𝍡","1D361"), + PART_3("˥˧","𝍢","1D362"), + PART_4("˥˨","𝍣","1D363"), + PART_5("˥˩","𝍤","1D364"), + PART_6("˥꜖","𝍥","1D365"), + PART_7("˥꜕","𝍦","1D366"), + PART_8("˥꜔","𝍧","1D367"), + PART_9("˥꜓","𝍨","1D368"), + PART_10("˥꜒","𝍩","1D369"), + PART_11("˦˥","𝍪","1D36A"), + PART_12("˦˦","𝍫","1D36B"), + PART_13("˦˧","𝍬","1D36C"), + PART_14("˦˨","𝍭","1D36D"), + PART_15("˦˩","𝍮","1D36E"), + PART_16("˦꜖","𝍯","1D36F"), + PART_17("˦꜕","𝍰","1D370"), + PART_18("˦꜔","𝍱","1D371"), + PART_19("˦꜓","𝍲","1D372"), + PART_20("˦꜒","𝍳","1D373"), + PART_21("˧˥","𝍴","1D374"), + PART_22("˧˦","𝍵","1D375"), + PART_23("˧˧","𝍶","1D376"), + PART_24("˧˨","𝍷","1D377"), + PART_25("˧˩","𝍸","1D378"), + ; + + public final static T25PartPentavigesimal STATIC = T25PartPentavigesimal.PART_1; + + private T25PartPentavigesimal(String dialTone, String chinaKey, String chinaValue) { + BãßBȍőnPartʸᴰ.Ꝑŕḯṿª₮ḕ.יהוהʸᴰ(this, dialTone, enumPart -> { + enumPart.PUT_OBJ(BãßBȍőnPartBullet.CHINA_KEY, chinaKey); + enumPart.PUT_OBJ(BãßBȍőnPartBullet.CHINA_VALUE, chinaValue); + }); + } +} diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T60PartSexagesimal.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T60PartSexagesimal.java index 76e402a1..e416e3a4 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T60PartSexagesimal.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T60PartSexagesimal.java @@ -7,6 +7,8 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnDuytsFlüstern注; @BãßBȍőnDuytsFlüstern注(purpose = "The distribution by 60 (human food).") public enum T60PartSexagesimal implements BãßBȍőnPartʸᴰ { + // todo: convert to 60; https://en.wikipedia.org/wiki/Chinese_zodiac + PART_1 ("˥˥","牛","cow"), PART_2 ("˥˦","鸡","chicken"), PART_3 ("˥˧","羊","sheep"), diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T64PartTetrasexagesimal.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T64PartTetrasexagesimal.java new file mode 100644 index 00000000..b8b5ed4b --- /dev/null +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T64PartTetrasexagesimal.java @@ -0,0 +1,90 @@ +package love.distributedrebirth.numberxd.base2t.part; + +import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; +import love.distributedrebirth.bassboon.clazz.BãßBȍőnDuytsFlüstern注; + +//https://en.wikipedia.org/wiki/Bagua +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +@BãßBȍőnDuytsFlüstern注(purpose = "The distribution by 64 (Hexagrams).") +@BãßBȍőnPartAlt1注(name = "Braille 6-bit codes", website = "https://en.wikipedia.org/wiki/Six-bit_character_code#Example_of_six-bit_Braille_codes") +@BãßBȍőnPartAlt2注(name = "Base64 table from RFC 4648", website = "https://en.wikipedia.org/wiki/Base64") +public enum T64PartTetrasexagesimal implements BãßBȍőnPartAlt2ʸᴰ { + + PART_1 ("˥˥","䷀","force", "⠀","A"), + PART_2 ("˥˦","䷁","field", "⠁","B"), + PART_3 ("˥˧","䷂","sprouting", "⠂","C"), + PART_4 ("˥˨","䷃","enveloping", "⠃","D"), + PART_5 ("˥˩","䷄","attending", "⠄","E"), + PART_6 ("˥꜖","䷅","dispute", "⠅","F"), + PART_7 ("˥꜕","䷆","leading", "⠆","G"), + PART_8 ("˥꜔","䷇","grouping", "⠇","H"), + PART_9 ("˥꜓","䷈","domestication","⠈","I"), + PART_10("˥꜒","䷉","treading", "⠉","J"), + PART_11("˦˥","䷊","pervading", "⠊","K"), + PART_12("˦˦","䷋","obstruction", "⠋","L"), + PART_13("˦˧","䷌","concording", "⠌","M"), + PART_14("˦˨","䷍","possessing", "⠍","N"), + PART_15("˦˩","䷎","humbling", "⠎","O"), + PART_16("˦꜖","䷏","providing", "⠏","P"), + PART_17("˦꜕","䷐","following", "⠐","Q"), + PART_18("˦꜔","䷑","correcting", "⠑","R"), + PART_19("˦꜓","䷒","nearing", "⠒","S"), + PART_20("˦꜒","䷓","viewing", "⠓","T"), + PART_21("˧˥","䷔","bite", "⠔","U"), + PART_22("˧˦","䷕","adorning", "⠕","V"), + PART_23("˧˧","䷖","stripping", "⠖","W"), + PART_24("˧˨","䷗","returning", "⠗","X"), + PART_25("˧˩","䷘","embroiling", "⠘","Y"), + PART_26("˧꜖","䷙","accumulating", "⠙","Z"), + PART_27("˧꜕","䷚","swallowing", "⠚","a"), + PART_28("˧꜔","䷛","exceeding", "⠛","b"), + PART_29("˧꜓","䷜","gorge", "⠜","c"), + PART_30("˧꜒","䷝","radiance", "⠝","d"), + PART_31("˨˥","䷞","conjoining", "⠞","e"), + PART_32("˨˦","䷟","persevering", "⠟","f"), + PART_33("˨˧","䷠","retiring", "⠠","g"), + PART_34("˨˨","䷡","invigorating", "⠡","h"), + PART_35("˨˩","䷢","prospering", "⠢","i"), + PART_36("˨꜖","䷣","darkening", "⠣","j"), + PART_37("˨꜕","䷤","dwelling", "⠤","k"), + PART_38("˨꜔","䷥","polarising", "⠥","l"), + PART_39("˨꜓","䷦","limping", "⠦","m"), + PART_40("˨꜒","䷧","untangled", "⠧","n"), + PART_41("˩˥","䷨","diminishing", "⠨","o"), + PART_42("˩˦","䷩","augmenting", "⠩","p"), + PART_43("˩˧","䷪","displacement", "⠪","q"), + PART_44("˩˨","䷫","coupling", "⠫","r"), + PART_45("˩˩","䷬","clustering", "⠬","s"), + PART_46("˩꜖","䷭","ascending", "⠭","t"), + PART_47("˩꜕","䷮","confining", "⠮","u"), + PART_48("˩꜔","䷯","welling", "⠯","v"), + PART_49("˩꜓","䷰","skinning", "⠰","w"), + PART_50("˩꜒","䷱","holding", "⠱","x"), + PART_51("꜖˥","䷲","shake", "⠲","y"), + PART_52("꜖˦","䷳","bound", "⠳","z"), + PART_53("꜖˧","䷴","infiltrating", "⠴","0"), + PART_54("꜖˨","䷵","maiden", "⠵","1"), + PART_55("꜖˩","䷶","abounding", "⠶","2"), + PART_56("꜖꜖","䷷","sojourning", "⠷","3"), + PART_57("꜖꜕","䷸","ground", "⠸","4"), + PART_58("꜖꜔","䷹","open", "⠹","5"), + PART_59("꜖꜓","䷺","dispersing", "⠺","6"), + PART_60("꜖꜒","䷻","articulating", "⠻","7"), + PART_61("꜕˥","䷼","center", "⠼","8"), + PART_62("꜕˦","䷽","exceedings", "⠽","9"), + PART_63("꜕˧","䷾","completed", "⠾","+"), + PART_64("꜕˨","䷿","fording", "⠿","/"), + ; + + public final static T64PartTetrasexagesimal STATIC = T64PartTetrasexagesimal.PART_1; + + private T64PartTetrasexagesimal(String dialTone, String chinaKey, String chinaValue, String alt1Value, String alt2Value) { + BãßBȍőnPartʸᴰ.Ꝑŕḯṿª₮ḕ.יהוהʸᴰ(this, dialTone, enumPart -> { + enumPart.PUT_OBJ(BãßBȍőnPartBullet.CHINA_KEY, chinaKey); + enumPart.PUT_OBJ(BãßBȍőnPartBullet.CHINA_VALUE, chinaValue); + enumPart.PUT_OBJ(BãßBȍőnPartBullet.ALT_1_VALUE, alt1Value); + enumPart.PUT_OBJ(BãßBȍőnPartBullet.ALT_2_VALUE, alt2Value); + }); + } +} + \ No newline at end of file diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T87PartXuanJing.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T87PartXuanJing.java new file mode 100644 index 00000000..9515e063 --- /dev/null +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T87PartXuanJing.java @@ -0,0 +1,107 @@ +package love.distributedrebirth.numberxd.base2t.part; + +import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; +import love.distributedrebirth.bassboon.clazz.BãßBȍőnDuytsFlüstern注; + +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +@BãßBȍőnDuytsFlüstern注(purpose = "The distribution by 87 (Tai Xuan Jing)") +public enum T87PartXuanJing implements BãßBȍőnPartʸᴰ { + + PART_1("˥˥","𝌀","1D300"), + PART_2("˥˦","𝌁","1D301"), + PART_3("˥˧","𝌂","1D302"), + PART_4("˥˨","𝌃","1D303"), + PART_5("˥˩","𝌄","1D304"), + PART_6("˥꜖","𝌅","1D305"), + PART_7("˥꜕","𝌆","1D306"), + PART_8("˥꜔","𝌇","1D307"), + PART_9("˥꜓","𝌈","1D308"), + PART_10("˥꜒","𝌉","1D309"), + PART_11("˦˥","𝌊","1D30A"), + PART_12("˦˦","𝌋","1D30B"), + PART_13("˦˧","𝌌","1D30C"), + PART_14("˦˨","𝌍","1D30D"), + PART_15("˦˩","𝌎","1D30E"), + PART_16("˦꜖","𝌏","1D30F"), + PART_17("˦꜕","𝌐","1D310"), + PART_18("˦꜔","𝌑","1D311"), + PART_19("˦꜓","𝌒","1D312"), + PART_20("˦꜒","𝌓","1D313"), + PART_21("˧˥","𝌔","1D314"), + PART_22("˧˦","𝌕","1D315"), + PART_23("˧˧","𝌖","1D316"), + PART_24("˧˨","𝌗","1D317"), + PART_25("˧˩","𝌘","1D318"), + PART_26("˧꜖","𝌙","1D319"), + PART_27("˧꜕","𝌚","1D31A"), + PART_28("˧꜔","𝌛","1D31B"), + PART_29("˧꜓","𝌜","1D31C"), + PART_30("˧꜒","𝌝","1D31D"), + PART_31("˨˥","𝌞","1D31E"), + PART_32("˨˦","𝌟","1D31F"), + PART_33("˨˧","𝌠","1D320"), + PART_34("˨˨","𝌡","1D321"), + PART_35("˨˩","𝌢","1D322"), + PART_36("˨꜖","𝌣","1D323"), + PART_37("˨꜕","𝌤","1D324"), + PART_38("˨꜔","𝌥","1D325"), + PART_39("˨꜓","𝌦","1D326"), + PART_40("˨꜒","𝌧","1D327"), + PART_41("˩˥","𝌨","1D328"), + PART_42("˩˦","𝌩","1D329"), + PART_43("˩˧","𝌪","1D32A"), + PART_44("˩˨","𝌫","1D32B"), + PART_45("˩˩","𝌬","1D32C"), + PART_46("˩꜖","𝌭","1D32D"), + PART_47("˩꜕","𝌮","1D32E"), + PART_48("˩꜔","𝌯","1D32F"), + PART_49("˩꜓","𝌰","1D330"), + PART_50("˩꜒","𝌱","1D331"), + PART_51("꜖˥","𝌲","1D332"), + PART_52("꜖˦","𝌳","1D333"), + PART_53("꜖˧","𝌴","1D334"), + PART_54("꜖˨","𝌵","1D335"), + PART_55("꜖˩","𝌶","1D336"), + PART_56("꜖꜖","𝌷","1D337"), + PART_57("꜖꜕","𝌸","1D338"), + PART_58("꜖꜔","𝌹","1D339"), + PART_59("꜖꜓","𝌺","1D33A"), + PART_60("꜖꜒","𝌻","1D33B"), + PART_61("꜕˥","𝌼","1D33C"), + PART_62("꜕˦","𝌽","1D33D"), + PART_63("꜕˧","𝌾","1D33E"), + PART_64("꜕˨","𝌿","1D33F"), + PART_65("꜕˩","𝍀","1D340"), + PART_66("꜕꜖","𝍁","1D341"), + PART_67("꜕꜕","𝍂","1D342"), + PART_68("꜕꜔","𝍃","1D343"), + PART_69("꜕꜓","𝍄","1D344"), + PART_70("꜕꜒","𝍅","1D345"), + PART_71("꜔˥","𝍆","1D346"), + PART_72("꜔˦","𝍇","1D347"), + PART_73("꜔˧","𝍈","1D348"), + PART_74("꜔˨","𝍉","1D349"), + PART_75("꜔˩","𝍊","1D34A"), + PART_76("꜔꜖","𝍋","1D34B"), + PART_77("꜔꜕","𝍌","1D34C"), + PART_78("꜔꜔","𝍍","1D34D"), + PART_79("꜔꜓","𝍎","1D34E"), + PART_80("꜔꜒","𝍏","1D34F"), + PART_81("꜓˥","𝍐","1D350"), + PART_82("꜓˦","𝍑","1D351"), + PART_83("꜓˧","𝍒","1D352"), + PART_84("꜓˨","𝍓","1D353"), + PART_85("꜓˩","𝍔","1D354"), + PART_86("꜓꜖","𝍕","1D355"), + PART_87("꜓꜕","𝍖","1D356"), + ; + + public final static T87PartXuanJing STATIC = T87PartXuanJing.PART_1; + + private T87PartXuanJing(String dialTone, String chinaKey, String chinaValue) { + BãßBȍőnPartʸᴰ.Ꝑŕḯṿª₮ḕ.יהוהʸᴰ(this, dialTone, enumPart -> { + enumPart.PUT_OBJ(BãßBȍőnPartBullet.CHINA_KEY, chinaKey); + enumPart.PUT_OBJ(BãßBȍőnPartBullet.CHINA_VALUE, chinaValue); + }); + } +} diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/unicode/BaseGlyphSet.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/unicode/BaseGlyphSet.java index 8ea6b2d5..7feb89a1 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/unicode/BaseGlyphSet.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/unicode/BaseGlyphSet.java @@ -117,16 +117,13 @@ public enum BaseGlyphSet implements BãßBȍőnAbacusSetMBeanʸᴰ new BaseGlyphSetNumber("ᚠ","ᚢ","ᚦ","ᚨ","ᚱ","ᚲ","ᚷ","ᚹ","ᚺ","ᚾ","ᛁ","ᛃ","ᛇ","ᛈ","ᛉ","ᛊ","ᛏ","ᛒ","ᛖ","ᛗ","ᛚ","ᛜ","ᛟ","ᛞ","ᚡ","ᚤ","ᚧ")), KOREAN( new BaseGlyphSetNumber("영","일","이","삼","사","오","육","칠","팔","구"), - // TODO: replace Counting Rod Numerals Symbols are "T25PartCountingRod?" - new BaseGlyphSetNumber("𝍠","𝍡","𝍢","𝍣","𝍤","𝍥","𝍦","𝍧","𝍨","𝍩","𝍪","𝍫","𝍬","𝍭","𝍮","𝍯"), + null, new BaseGlyphSetNumber("ㄱ","ㄲ","ㄴ","ㄷ","ㄸ","ㄹ","ㅁ","ㅂ","ㅃ","ㅅ","ㅆ","ㅈ","ㅉ","ㅊ","ㅋ","ㅌ","ㅍ","ㅎ","ㄵ","ㄶ","ㄺ","ㄻ","ㄼ","ㄽ","ㄾ","ㄿ","ㅀ")), CHINA( new BaseGlyphSetNumber("零","一","二","三","四","五","六","七","八","九"), - // TODO: replace Yijing Hexagram Symbols are "T64PartYijing" + see add https://en.wikipedia.org/wiki/Six-bit_character_code - new BaseGlyphSetNumber("䷀", "䷁", "䷂", "䷃", "䷄", "䷅", "䷆", "䷇", "䷈", "䷉", "䷊", "䷋", "䷌", "䷍", "䷎", "䷏"), - // TODO: replace Tai Xuan Jing Symbols are "T87PartXuanJing" - new BaseGlyphSetNumber("𝌁","𝌂","𝌃","𝌄","𝌅","𝌆","𝌇","𝌈","𝌉","𝌊","𝌋","𝌌","𝌍","𝌎","𝌏","𝌐","𝌑","𝌒","𝌓","𝌔","𝌕","𝌖","𝌗","𝌘","𝌙","𝌚","𝌛")), + null, + null), CHINA_FORMAL( new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.teŀráàmVoorElk(x -> v.add(x.rȧñkChinaSleutel()))), null, @@ -137,7 +134,7 @@ public enum BaseGlyphSet implements BãßBȍőnAbacusSetMBeanʸᴰ null), JAPAN( CHINA.BȍőnNumber10(), - KOREAN.BȍőnNumber16(), + null, null), JAPAN_FORMAL( new BaseGlyphSetNumber("零","壱","弐","参","四","五","六","七","八","九"), diff --git a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/Base2PartsFactoryTest.java b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/Base2PartsFactoryTest.java index 905d6f83..bea018d3 100644 --- a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/Base2PartsFactoryTest.java +++ b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/Base2PartsFactoryTest.java @@ -25,6 +25,7 @@ public class Base2PartsFactoryTest { Map global = new HashMap<>(); for (int base:Base2PartsFactory.INSTANCE.BãßBases()) { for (BãßBȍőnPartʸᴰ part:Base2PartsFactory.INSTANCE.BãßBuildPartsByBase(base)) { + //System.out.println("part: "+part.rȧñkNaam()+" pf: "+base+ " check: "+part.rȧñkChinaWaarde()); Assertions.assertFalse(global.containsKey(part.rȧñkChinaSleutel()), "key: "+part.rȧñkChinaSleutel()); global.put(part.rȧñkChinaSleutel(), part.rȧñkChinaWaarde()); } @@ -37,6 +38,7 @@ public class Base2PartsFactoryTest { Map global = new HashMap<>(); for (int base:Base2PartsFactory.INSTANCE.BãßBases()) { for (BãßBȍőnPartʸᴰ part:Base2PartsFactory.INSTANCE.BãßBuildPartsByBase(base)) { + //System.out.println("part: "+part.rȧñkNaam()+" pf: "+base+ " check: "+part.rȧñkChinaWaarde()); Assertions.assertFalse(global.containsKey(part.rȧñkChinaWaarde())); global.put(part.rȧñkChinaWaarde(), part.rȧñkChinaWaarde()); } diff --git a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T07PartPlanItTest.java b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T07PartSeptetTest.java similarity index 87% rename from gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T07PartPlanItTest.java rename to gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T07PartSeptetTest.java index 497a5a71..a260123d 100644 --- a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T07PartPlanItTest.java +++ b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T07PartSeptetTest.java @@ -6,7 +6,7 @@ import org.junit.jupiter.api.Test; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") -public class T07PartPlanItTest { +public class T07PartSeptetTest { @Test public void testBasePart() { @@ -30,9 +30,9 @@ public class T07PartPlanItTest { @Test public void testChinaMap() { - Assertions.assertEquals(T07PartSeptet.PART_1, T07PartSeptet.PART_1.ráàmWaardeVanChinaSleutel("♎︎")); - Assertions.assertEquals(T07PartSeptet.PART_2, T07PartSeptet.PART_1.ráàmWaardeVanChinaSleutel("♏︎")); - Assertions.assertEquals(T07PartSeptet.PART_6, T07PartSeptet.PART_1.ráàmWaardeVanChinaSleutel("♑︎")); - Assertions.assertEquals(T07PartSeptet.PART_7, T07PartSeptet.PART_1.ráàmWaardeVanChinaSleutel("♈︎")); + Assertions.assertEquals(T07PartSeptet.PART_1, T07PartSeptet.PART_1.ráàmWaardeVanChinaSleutel("सा")); + Assertions.assertEquals(T07PartSeptet.PART_2, T07PartSeptet.PART_1.ráàmWaardeVanChinaSleutel("रे")); + Assertions.assertEquals(T07PartSeptet.PART_6, T07PartSeptet.PART_1.ráàmWaardeVanChinaSleutel("ध")); + Assertions.assertEquals(T07PartSeptet.PART_7, T07PartSeptet.PART_1.ráàmWaardeVanChinaSleutel("नि")); } } diff --git a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T08PartOctalTest.java b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T08PartOctalTest.java index a825a8aa..36e73f5a 100644 --- a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T08PartOctalTest.java +++ b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T08PartOctalTest.java @@ -27,9 +27,9 @@ public class T08PartOctalTest { @Test public void testChinaMap() { - Assertions.assertEquals(T08PartOctal.PART_1, T08PartOctal.PART_1.ráàmWaardeVanChinaSleutel("心")); - Assertions.assertEquals(T08PartOctal.PART_2, T08PartOctal.PART_1.ráàmWaardeVanChinaSleutel("頭")); - Assertions.assertEquals(T08PartOctal.PART_7, T08PartOctal.PART_1.ráàmWaardeVanChinaSleutel("肢")); - Assertions.assertEquals(T08PartOctal.PART_8, T08PartOctal.PART_1.ráàmWaardeVanChinaSleutel("腳")); + Assertions.assertEquals(T08PartOctal.PART_1, T08PartOctal.PART_1.ráàmWaardeVanChinaSleutel("乾")); + Assertions.assertEquals(T08PartOctal.PART_2, T08PartOctal.PART_1.ráàmWaardeVanChinaSleutel("兌")); + Assertions.assertEquals(T08PartOctal.PART_7, T08PartOctal.PART_1.ráàmWaardeVanChinaSleutel("艮")); + Assertions.assertEquals(T08PartOctal.PART_8, T08PartOctal.PART_1.ráàmWaardeVanChinaSleutel("坤")); } }