From be5869a88e4fba81a88694feeee6452531a66510 Mon Sep 17 00:00:00 2001 From: Willem Date: Tue, 25 Oct 2022 15:09:02 +0200 Subject: [PATCH] Moved naming like others to support to 999 --- .../numberxd/AbstractGroßGetậlŌṁ1ⁿᴰ.java | 6 +- .../numberxd/AbstractGroßGetậlŌṁ6ˢᴰ.java | 14 +-- .../numberxd/GroßGetậl1ⁿᴰ.java | 6 +- .../numberxd/GroßGetậl6ˢᴰ.java | 12 +-- .../numberxd/Gê̄ldGetậl.java | 38 ++++---- .../numberxd/Gê̄ldGetậlÅtHebrew.java | 16 ++-- .../numberxd/KlompGetậl4ˢᴰ.java | 6 +- .../numberxd/KlompÅtŌṁKāassGetậl4ˢᴰ.java | 8 +- .../numberxd/alu/ŌctopǔsALU.java | 10 +-- .../numberxd/base2t/Base2PartsFactory.java | 88 +++++++++---------- .../numberxd/base2t/Base2Terminator.java | 32 +++---- .../numberxd/base2t/BaseAppenderOctal.java | 6 +- .../numberxd/base2t/BaseIteratorOctal.java | 4 +- .../base2t/BaseIteratorOctalAdapter.java | 8 +- .../base2t/BaseIteratorOctalStack.java | 4 +- .../numberxd/base2t/BaseNumber.java | 4 +- ...T02PartBinary.java => T002PartBinary.java} | 6 +- .../{T03PartTrit.java => T003PartTrit.java} | 6 +- .../{T04PartQuad.java => T004PartQuad.java} | 10 +-- ...T05PartPental.java => T005PartPental.java} | 6 +- ...6PartSeximal.java => T006PartSeximal.java} | 14 +-- ...T07PartSeptet.java => T007PartSeptet.java} | 6 +- .../{T08PartOctal.java => T008PartOctal.java} | 16 ++-- ...T09PartNonary.java => T009PartNonary.java} | 6 +- ...0PartDecimal.java => T010PartDecimal.java} | 6 +- ...tUndecimal.java => T011PartUndecimal.java} | 6 +- ...T12PartUncial.java => T012PartUncial.java} | 6 +- ...decimal.java => T014PartTetradecimal.java} | 6 +- .../{T15PartPenta.java => T015PartPenta.java} | 6 +- .../{T16PartHex.java => T016PartHex.java} | 10 +-- ...decimal.java => T017PartHeptadecimal.java} | 6 +- ...odecimal.java => T018PartOctodecimal.java} | 6 +- .../{T20PartScore.java => T020PartScore.java} | 10 +-- ...igesimal.java => T021PartUnvigesimal.java} | 6 +- ...simal.java => T025PartPentavigesimal.java} | 6 +- ...agesimal.java => T060PartSexagesimal.java} | 6 +- ...mal.java => T064PartTetrasexagesimal.java} | 6 +- ...artXuanJing.java => T087PartXuanJing.java} | 6 +- .../numberxd/base2t/type/V006Tixte.java | 24 ++--- .../numberxd/base2t/type/V009Tyte.java | 40 ++++----- .../numberxd/base2t/type/V018Tord.java | 34 +++---- .../numberxd/base2t/type/V027Temvig.java | 20 ++--- .../numberxd/base2t/type/V036Teger.java | 40 ++++----- .../numberxd/base2t/type/V042Traw.java | 12 +-- .../numberxd/base2t/type/V072Tong.java | 38 ++++---- .../numberxd/base2t/type/V144Tocta.java | 62 ++++++------- .../numberxd/base2t/typexl/V0x000348ˣᴸ.java | 12 +-- .../numberxd/base2t/typexl/V0x000654ˣᴸ.java | 14 +-- .../numberxd/base2t/typexl/V0x000CA8ˣᴸ.java | 18 ++-- .../numberxd/base2t/typexl/V0x0013B0ˣᴸ.java | 12 +-- .../numberxd/unicode/BaseGlyphSet.java | 32 +++---- .../numberxd/x4o/NumberXDModuleLoader.java | 4 +- .../numberxd/x4o/V072TongBindingHandler.java | 10 +-- .../numberxd/base2t/Base2TerminatorTest.java | 10 +-- ...inaryTest.java => T002PartBinaryTest.java} | 12 +-- .../base2t/part/T003PartTritTest.java | 33 +++++++ .../base2t/part/T004PartQuadTest.java | 54 ++++++++++++ .../base2t/part/T005PartPentalTest.java | 37 ++++++++ .../base2t/part/T006PartSeximalTest.java | 38 ++++++++ .../base2t/part/T007PartSeptetTest.java | 38 ++++++++ .../base2t/part/T008PartOctalTest.java | 35 ++++++++ .../base2t/part/T009PartNonaryTest.java | 35 ++++++++ .../base2t/part/T010PartDecimalTest.java | 35 ++++++++ .../base2t/part/T011PartUndecimalTest.java | 35 ++++++++ .../base2t/part/T012PartUncialTest.java | 38 ++++++++ .../numberxd/base2t/part/T016PartHexTest.java | 35 ++++++++ .../base2t/part/T020PartScoreTest.java | 46 ++++++++++ .../numberxd/base2t/part/T03PartTritTest.java | 33 ------- .../numberxd/base2t/part/T04PartQuadTest.java | 54 ------------ .../base2t/part/T05PartPentalTest.java | 37 -------- .../base2t/part/T060SexagesimalTest.java | 35 ++++++++ .../base2t/part/T06PartSeximalTest.java | 38 -------- .../base2t/part/T07PartSeptetTest.java | 38 -------- .../base2t/part/T08PartOctalTest.java | 35 -------- .../base2t/part/T09PartNonaryTest.java | 35 -------- .../base2t/part/T10PartDecimalTest.java | 35 -------- .../base2t/part/T11PartUndecimalTest.java | 35 -------- .../base2t/part/T12PartUncialTest.java | 38 -------- .../numberxd/base2t/part/T16PartHexTest.java | 35 -------- .../base2t/part/T20PartScoreTest.java | 46 ---------- .../base2t/part/T60SexagesimalTest.java | 35 -------- .../unicode4d/CodePointᶻᴰ.java | 46 +++++----- .../unicode4d/CodePointTest.java | 18 ++-- .../unicode4d/TestConvFont.java | 52 +++++------ 84 files changed, 961 insertions(+), 961 deletions(-) rename gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/{T02PartBinary.java => T002PartBinary.java} (74%) rename gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/{T03PartTrit.java => T003PartTrit.java} (76%) rename gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/{T04PartQuad.java => T004PartQuad.java} (77%) rename gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/{T05PartPental.java => T005PartPental.java} (81%) rename gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/{T06PartSeximal.java => T006PartSeximal.java} (72%) rename gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/{T07PartSeptet.java => T007PartSeptet.java} (82%) rename gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/{T08PartOctal.java => T008PartOctal.java} (68%) rename gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/{T09PartNonary.java => T009PartNonary.java} (79%) rename gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/{T10PartDecimal.java => T010PartDecimal.java} (83%) rename gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/{T11PartUndecimal.java => T011PartUndecimal.java} (79%) rename gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/{T12PartUncial.java => T012PartUncial.java} (83%) rename gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/{T14PartTetradecimal.java => T014PartTetradecimal.java} (82%) rename gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/{T15PartPenta.java => T015PartPenta.java} (86%) rename gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/{T16PartHex.java => T016PartHex.java} (79%) rename gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/{T17PartHeptadecimal.java => T017PartHeptadecimal.java} (87%) rename gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/{T18PartOctodecimal.java => T018PartOctodecimal.java} (82%) rename gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/{T20PartScore.java => T020PartScore.java} (87%) rename gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/{T21PartUnvigesimal.java => T021PartUnvigesimal.java} (89%) rename gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/{T25PartPentavigesimal.java => T025PartPentavigesimal.java} (85%) rename gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/{T60PartSexagesimal.java => T060PartSexagesimal.java} (91%) rename gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/{T64PartTetrasexagesimal.java => T064PartTetrasexagesimal.java} (93%) rename gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/{T87PartXuanJing.java => T087PartXuanJing.java} (93%) rename gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/{T02PartBinaryTest.java => T002PartBinaryTest.java} (53%) create mode 100644 gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T003PartTritTest.java create mode 100644 gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T004PartQuadTest.java create mode 100644 gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T005PartPentalTest.java create mode 100644 gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T006PartSeximalTest.java create mode 100644 gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T007PartSeptetTest.java create mode 100644 gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T008PartOctalTest.java create mode 100644 gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T009PartNonaryTest.java create mode 100644 gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T010PartDecimalTest.java create mode 100644 gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T011PartUndecimalTest.java create mode 100644 gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T012PartUncialTest.java create mode 100644 gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T016PartHexTest.java create mode 100644 gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T020PartScoreTest.java delete mode 100644 gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T03PartTritTest.java delete mode 100644 gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T04PartQuadTest.java delete mode 100644 gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T05PartPentalTest.java create mode 100644 gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T060SexagesimalTest.java delete mode 100644 gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T06PartSeximalTest.java delete mode 100644 gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T07PartSeptetTest.java delete mode 100644 gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T08PartOctalTest.java delete mode 100644 gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T09PartNonaryTest.java delete mode 100644 gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T10PartDecimalTest.java delete mode 100644 gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T11PartUndecimalTest.java delete mode 100644 gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T12PartUncialTest.java delete mode 100644 gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T16PartHexTest.java delete mode 100644 gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T20PartScoreTest.java delete mode 100644 gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T60SexagesimalTest.java diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/AbstractGroßGetậlŌṁ1ⁿᴰ.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/AbstractGroßGetậlŌṁ1ⁿᴰ.java index 355845b6..9ae24a80 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/AbstractGroßGetậlŌṁ1ⁿᴰ.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/AbstractGroßGetậlŌṁ1ⁿᴰ.java @@ -2,7 +2,7 @@ package love.distributedrebirth.numberxd; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal; -import love.distributedrebirth.numberxd.base2t.part.T16PartHex; +import love.distributedrebirth.numberxd.base2t.part.T016PartHex; import love.distributedrebirth.numberxd.base2t.type.V009Tyte; import love.distributedrebirth.numberxd.base2t.type.V144Tocta; @@ -34,7 +34,7 @@ abstract public class AbstractGroßGetậlŌṁ1ⁿᴰ { - private final V144Tocta[] values = new V144Tocta[T12PartUncial.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()]; + private final V144Tocta[] values = new V144Tocta[T012PartUncial.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()]; public GroßGetậl6ˢᴰ() { for (int i=0;i> Gê̄ldGetậlÅtHebrewLetter.SHIFT_5); @@ -37,9 +37,9 @@ public class Gê̄ldGetậlÅtHebrew { public V009Tyte toTyte() { int combinedValue = letter.ordinal() + (vowel.ordinal() << Gê̄ldGetậlÅtHebrewLetter.SHIFT_5); - T08PartOctal value0 = T08PartOctal.indexOf(T08PartOctal.PART_1, combinedValue); - T08PartOctal value1 = T08PartOctal.indexOf(T08PartOctal.PART_2, combinedValue); - T08PartOctal value2 = T08PartOctal.indexOf(T08PartOctal.PART_3, combinedValue); + T008PartOctal value0 = T008PartOctal.indexOf(T008PartOctal.PART_1, combinedValue); + T008PartOctal value1 = T008PartOctal.indexOf(T008PartOctal.PART_2, combinedValue); + T008PartOctal value2 = T008PartOctal.indexOf(T008PartOctal.PART_3, combinedValue); return new V009Tyte(value0, value1, value2); } diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/KlompGetậl4ˢᴰ.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/KlompGetậl4ˢᴰ.java index 5eecaeab..fc943ba6 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/KlompGetậl4ˢᴰ.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/KlompGetậl4ˢᴰ.java @@ -4,12 +4,12 @@ import love.distributedrebirth.numberxd.base2t.typexl.V0x000CA8ˣᴸ; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal; import love.distributedrebirth.numberxd.base2t.BaseIteratorOctalStack; -import love.distributedrebirth.numberxd.base2t.part.T08PartOctal; +import love.distributedrebirth.numberxd.base2t.part.T008PartOctal; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") public class KlompGetậl4ˢᴰ extends AbstractBaseGetậlMatrix1 { - private final V0x000CA8ˣᴸ[] values = new V0x000CA8ˣᴸ[T08PartOctal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()]; + private final V0x000CA8ˣᴸ[] values = new V0x000CA8ˣᴸ[T008PartOctal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()]; public KlompGetậl4ˢᴰ() { for (int i=0;i octals = Bãß2ReadOctals(v0, v1, v2); + List octals = Bãß2ReadOctals(v0, v1, v2); output.add(new V072Tong(new BaseIteratorOctalAdapter(octals.iterator()))); totalBytes += BLOCK_TONG_SIZE; } @@ -102,7 +102,7 @@ public enum Base2Terminator implements BãßBȍőnAbacusInstanceMBeanʸᴰ octals = Bãß2ReadOctals(v0, v1, v2, v3, v4, v5); + List octals = Bãß2ReadOctals(v0, v1, v2, v3, v4, v5); output.add(new V144Tocta(new BaseIteratorOctalAdapter(octals.iterator()))); totalBytes += BLOCK_TOCTA_SIZE; } @@ -118,10 +118,10 @@ public enum Base2Terminator implements BãßBȍőnAbacusInstanceMBeanʸᴰ Bãß2ReadOctals(int...values) { - List octals = new ArrayList<>(); + private List Bãß2ReadOctals(int...values) { + List octals = new ArrayList<>(); for (int value:values) { - T08PartOctal.STATIC.teŀráàmVoorElk(v -> octals.add(T08PartOctal.indexOf(v, value))); + T008PartOctal.STATIC.teŀráàmVoorElk(v -> octals.add(T008PartOctal.indexOf(v, value))); } return octals; } @@ -147,20 +147,20 @@ public enum Base2Terminator implements BãßBȍőnAbacusInstanceMBeanʸᴰ> int Bãß2Write(List data, OutputStream output) throws IOException { int totalBytes = 0; // per 8 octa's is 3 bytes - List octals = new ArrayList<>(); + List octals = new ArrayList<>(); BaseAppenderOctal appender = new BaseAppenderOctal(octals); data.forEach(v -> v.fillOctalsByClone(appender)); - Iterator read = octals.iterator(); + Iterator read = octals.iterator(); while (read.hasNext()) { int byteTriplet = 0; - byteTriplet += read.next().ordinalOf(T08PartOctal.PART_1); - byteTriplet += read.next().ordinalOf(T08PartOctal.PART_2); - byteTriplet += read.next().ordinalOf(T08PartOctal.PART_3); - byteTriplet += read.next().ordinalOf(T08PartOctal.PART_4); - byteTriplet += read.next().ordinalOf(T08PartOctal.PART_5); - byteTriplet += read.next().ordinalOf(T08PartOctal.PART_6); - byteTriplet += read.next().ordinalOf(T08PartOctal.PART_7); - byteTriplet += read.next().ordinalOf(T08PartOctal.PART_8); + byteTriplet += read.next().ordinalOf(T008PartOctal.PART_1); + byteTriplet += read.next().ordinalOf(T008PartOctal.PART_2); + byteTriplet += read.next().ordinalOf(T008PartOctal.PART_3); + byteTriplet += read.next().ordinalOf(T008PartOctal.PART_4); + byteTriplet += read.next().ordinalOf(T008PartOctal.PART_5); + byteTriplet += read.next().ordinalOf(T008PartOctal.PART_6); + byteTriplet += read.next().ordinalOf(T008PartOctal.PART_7); + byteTriplet += read.next().ordinalOf(T008PartOctal.PART_8); output.write(byteTriplet); output.write(byteTriplet >> SHIFT_8); output.write(byteTriplet >> SHIFT_16); diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/BaseAppenderOctal.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/BaseAppenderOctal.java index 4650af81..4489e82b 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/BaseAppenderOctal.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/BaseAppenderOctal.java @@ -3,15 +3,15 @@ package love.distributedrebirth.numberxd.base2t; import java.util.Collection; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; -import love.distributedrebirth.numberxd.base2t.part.T08PartOctal; +import love.distributedrebirth.numberxd.base2t.part.T008PartOctal; /** * Appender model for Octals. */ @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") -public final class BaseAppenderOctal extends BaseAppenderAdapter { +public final class BaseAppenderOctal extends BaseAppenderAdapter { - public BaseAppenderOctal(Collection collection) { + public BaseAppenderOctal(Collection collection) { super(collection); } } diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/BaseIteratorOctal.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/BaseIteratorOctal.java index aacc0a28..7bab6810 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/BaseIteratorOctal.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/BaseIteratorOctal.java @@ -3,13 +3,13 @@ package love.distributedrebirth.numberxd.base2t; import java.util.Iterator; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; -import love.distributedrebirth.numberxd.base2t.part.T08PartOctal; +import love.distributedrebirth.numberxd.base2t.part.T008PartOctal; /** * Iterator model for Octals. */ @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") -public interface BaseIteratorOctal extends Iterator { +public interface BaseIteratorOctal extends Iterator { } diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/BaseIteratorOctalAdapter.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/BaseIteratorOctalAdapter.java index f8309b3c..a70043b7 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/BaseIteratorOctalAdapter.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/BaseIteratorOctalAdapter.java @@ -3,7 +3,7 @@ package love.distributedrebirth.numberxd.base2t; import java.util.Iterator; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; -import love.distributedrebirth.numberxd.base2t.part.T08PartOctal; +import love.distributedrebirth.numberxd.base2t.part.T008PartOctal; /** * Iterator model for Octals. @@ -11,9 +11,9 @@ import love.distributedrebirth.numberxd.base2t.part.T08PartOctal; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") public final class BaseIteratorOctalAdapter implements BaseIteratorOctal { - private final Iterator iterator; + private final Iterator iterator; - public BaseIteratorOctalAdapter(Iterator iterator) { + public BaseIteratorOctalAdapter(Iterator iterator) { this.iterator = iterator; } @@ -23,7 +23,7 @@ public final class BaseIteratorOctalAdapter implements BaseIteratorOctal { } @Override - public T08PartOctal next() { + public T008PartOctal next() { return iterator.next(); } } diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/BaseIteratorOctalStack.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/BaseIteratorOctalStack.java index 62ed9904..85ad0a40 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/BaseIteratorOctalStack.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/BaseIteratorOctalStack.java @@ -3,7 +3,7 @@ package love.distributedrebirth.numberxd.base2t; import java.util.Stack; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; -import love.distributedrebirth.numberxd.base2t.part.T08PartOctal; +import love.distributedrebirth.numberxd.base2t.part.T008PartOctal; /** * Stack model for octal iterators. @@ -36,7 +36,7 @@ public final class BaseIteratorOctalStack implements BaseIteratorOctal { } @Override - public T08PartOctal next() { + public T008PartOctal next() { if (stack.isEmpty()) { throw new IllegalStateException("Stack is empty."); } diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/BaseNumber.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/BaseNumber.java index f0cdf882..a7ca63db 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/BaseNumber.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/BaseNumber.java @@ -4,7 +4,7 @@ import java.util.ArrayList; import java.util.List; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; -import love.distributedrebirth.numberxd.base2t.part.T08PartOctal; +import love.distributedrebirth.numberxd.base2t.part.T008PartOctal; /** * Octal base based number interface. @@ -23,7 +23,7 @@ public interface BaseNumber> { void fillOctalsByClone(BaseAppenderOctal appender); default BaseIteratorOctal iteratorOctalsByClone() { - List octals = new ArrayList<>(); + List octals = new ArrayList<>(); fillOctalsByClone(new BaseAppenderOctal(octals)); return new BaseIteratorOctalAdapter(octals.iterator()); } diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T02PartBinary.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T002PartBinary.java similarity index 74% rename from gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T02PartBinary.java rename to gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T002PartBinary.java index 1098bf2f..990ba983 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T02PartBinary.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T002PartBinary.java @@ -5,15 +5,15 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnDuytsFlüstern注; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnDuytsFlüstern注(purpose = "The distribution by 2 (low/high).") -public enum T02PartBinary implements BãßBȍőnPartʸᴰ { +public enum T002PartBinary implements BãßBȍőnPartʸᴰ { PART_1("˧", "低", "low"), PART_2("꜔", "高", "high"), ; - public final static T02PartBinary STATIC = T02PartBinary.PART_1; + public final static T002PartBinary STATIC = T002PartBinary.PART_1; - private T02PartBinary(String dialTone, String chinaKey, String chinaValue) { + private T002PartBinary(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/T03PartTrit.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T003PartTrit.java similarity index 76% rename from gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T03PartTrit.java rename to gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T003PartTrit.java index c8ca6249..f8e3e569 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T03PartTrit.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T003PartTrit.java @@ -5,16 +5,16 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnDuytsFlüstern注; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnDuytsFlüstern注(purpose = "The distribution by 3 (number123).") -public enum T03PartTrit implements BãßBȍőnPartʸᴰ { +public enum T003PartTrit implements BãßBȍőnPartʸᴰ { PART_1("˦","一","1"), PART_2("˧","二","2"), PART_3("˨","三","3"), ; - public final static T03PartTrit STATIC = T03PartTrit.PART_1; + public final static T003PartTrit STATIC = T003PartTrit.PART_1; - private T03PartTrit(String dialTone, String chinaKey, String chinaValue) { + private T003PartTrit(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/T04PartQuad.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T004PartQuad.java similarity index 77% rename from gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T04PartQuad.java rename to gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T004PartQuad.java index 421e31f9..6634cfe1 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T04PartQuad.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T004PartQuad.java @@ -8,7 +8,7 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnDuytsFlüstern注; @BãßBȍőnPartAlt1注(name = "Cardinal direction china", website = "https://zh.wikipedia.org/wiki/罗盘方位") @BãßBȍőnPartAlt2注(name = "Cardinal direction key", website = "https://simple.wikipedia.org/wiki/Cardinal_direction") @BãßBȍőnPartAlt3注(name = "Cardinal direction value", website = "https://simple.wikipedia.org/wiki/Cardinal_direction") -public enum T04PartQuad implements BãßBȍőnPartAlt3ʸᴰ { +public enum T004PartQuad implements BãßBȍőnPartAlt3ʸᴰ { PART_1("˥","仙","HallA [the immortal]","北","N","north"), PART_2("꜒","上","above [the] ", "東", "E","east"), @@ -16,9 +16,9 @@ public enum T04PartQuad implements BãßBȍőnPartAlt3ʸᴰ { PART_4("˩","天","heaven","南", "S","south"), ; - public final static T04PartQuad STATIC = T04PartQuad.PART_1; + public final static T004PartQuad STATIC = T004PartQuad.PART_1; - private T04PartQuad(String dialTone, String chinaKey, String chinaValue, String alt1Value, String alt2Value, String alt3Value) { + private T004PartQuad(String dialTone, String chinaKey, String chinaValue, String alt1Value, String alt2Value, String alt3Value) { BãßBȍőnPartʸᴰ.Ꝑŕḯṿª₮ḕ.יהוהʸᴰ(this, dialTone, enumPart -> { enumPart.PUT_OBJ(BãßBȍőnPartBullet.CHINA_KEY, chinaKey); enumPart.PUT_OBJ(BãßBȍőnPartBullet.CHINA_VALUE, chinaValue); @@ -28,7 +28,7 @@ public enum T04PartQuad implements BãßBȍőnPartAlt3ʸᴰ { }); } - public T02PartBinary splitPartBinary(T02PartBinary part) { - return T02PartBinary.values()[(ordinal() >> part.ordinal()) & 1]; + public T002PartBinary splitPartBinary(T002PartBinary part) { + return T002PartBinary.values()[(ordinal() >> part.ordinal()) & 1]; } } diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T05PartPental.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T005PartPental.java similarity index 81% rename from gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T05PartPental.java rename to gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T005PartPental.java index d28a1be9..8fcaa61a 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T05PartPental.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T005PartPental.java @@ -7,7 +7,7 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnDuytsFlüstern注; @BãßBȍőnDuytsFlüstern注(purpose = "The distribution by 5 (wuxing).") @BãßBȍőnPartAlt1注(name = "Pentagram", website = "https://en.wikipedia.org/wiki/Pentagram") @BãßBȍőnPartAlt2注(name = "Pythagorean Interpretations", website = "http://wisdomofhypatia.com/OM/BA/PP.html") -public enum T05PartPental implements BãßBȍőnPartAlt2ʸᴰ { +public enum T005PartPental implements BãßBȍőnPartAlt2ʸᴰ { PART_1("˥","火","fire", "EI","heile"), PART_2("˦","水","water","U", "hudor"), @@ -16,9 +16,9 @@ public enum T05PartPental implements BãßBȍőnPartAlt2ʸᴰ { PART_5("˩","土","earth","G", "gaia"), ; - public final static T05PartPental STATIC = T05PartPental.PART_1; + public final static T005PartPental STATIC = T005PartPental.PART_1; - private T05PartPental(String dialTone, String chinaKey, String chinaValue, String alt1Value, String alt2Value) { + private T005PartPental(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); diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T06PartSeximal.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T006PartSeximal.java similarity index 72% rename from gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T06PartSeximal.java rename to gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T006PartSeximal.java index f1e982cd..10b5d079 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T06PartSeximal.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T006PartSeximal.java @@ -7,7 +7,7 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnDuytsFlüstern注; @BãßBȍőnDuytsFlüstern注(purpose = "The distribution by 6 (numbers4/9).") @BãßBȍőnPartAlt1注(name = "ADFGVX cipher", website = "https://en.wikipedia.org/wiki/ADFGVX_cipher") @BãßBȍőnPartAlt2注(name = "Dice", website = "https://en.wikipedia.org/wiki/Dice") -public enum T06PartSeximal implements BãßBȍőnPartAlt2ʸᴰ { +public enum T006PartSeximal implements BãßBȍőnPartAlt2ʸᴰ { PART_1("˦","四","4","A","⚀"), PART_2("˨","五","5","D","⚁"), @@ -17,9 +17,9 @@ public enum T06PartSeximal implements BãßBȍőnPartAlt2ʸᴰ { PART_6("꜏","九","9","X","⚅"), ; - public final static T06PartSeximal STATIC = T06PartSeximal.PART_1; + public final static T006PartSeximal STATIC = T006PartSeximal.PART_1; - private T06PartSeximal(String dialTone, String chinaKey, String chinaValue, String alt1Value, String alt2Value) { + private T006PartSeximal(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); @@ -28,11 +28,11 @@ public enum T06PartSeximal implements BãßBȍőnPartAlt2ʸᴰ { }); } - public T02PartBinary splitPartBinary() { - return T02PartBinary.values()[ordinal() & 1]; + public T002PartBinary splitPartBinary() { + return T002PartBinary.values()[ordinal() & 1]; } - public T03PartTrit splitPartTrit() { - return T03PartTrit.values()[ordinal() >> 1]; + public T003PartTrit splitPartTrit() { + return T003PartTrit.values()[ordinal() >> 1]; } } 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/T007PartSeptet.java similarity index 82% rename from gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T07PartSeptet.java rename to gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T007PartSeptet.java index e37f4499..f25fc427 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/T007PartSeptet.java @@ -6,7 +6,7 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnDuytsFlüstern注; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @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ʸᴰ { +public enum T007PartSeptet implements BãßBȍőnPartAlt1ʸᴰ { // TODO: replace with global unique one char china key value. @@ -19,9 +19,9 @@ public enum T07PartSeptet implements BãßBȍőnPartAlt1ʸᴰ { PART_7("˩","नि", "ni", "Νη"), ; - public final static T07PartSeptet STATIC = T07PartSeptet.PART_1; + public final static T007PartSeptet STATIC = T007PartSeptet.PART_1; - private T07PartSeptet(String dialTone, String chinaKey, String chinaValue, String alt1Value) { + private T007PartSeptet(String dialTone, String chinaKey, String chinaValue, 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); 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/T008PartOctal.java similarity index 68% rename from gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T08PartOctal.java rename to gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T008PartOctal.java index a732f11e..c3a65e4a 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/T008PartOctal.java @@ -6,7 +6,7 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnDuytsFlüstern注; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @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ʸᴰ { +public enum T008PartOctal implements BãßBȍőnPartShiftBitsʸᴰ, BãßBȍőnPartAlt1ʸᴰ { PART_1("˥","乾","creative", 0, "☰"), PART_2("˩","兌","joyous", 3, "☱"), @@ -20,9 +20,9 @@ public enum T08PartOctal implements BãßBȍőnPartShiftBitsʸᴰ, public final static int BIT_COUNT = 3; private final static byte BITMASK = 0x07; - public final static T08PartOctal STATIC = T08PartOctal.PART_1; + public final static T008PartOctal STATIC = T008PartOctal.PART_1; - private T08PartOctal(String dialTone, String chinaKey, String chinaValue, int shiftBits, String alt1Value) { + private T008PartOctal(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); @@ -31,15 +31,15 @@ public enum T08PartOctal implements BãßBȍőnPartShiftBitsʸᴰ, }); } - public static T08PartOctal indexOf(T08PartOctal group, int value) { - return T08PartOctal.values()[(value >> group.getShiftBits()) & BITMASK]; + public static T008PartOctal indexOf(T008PartOctal group, int value) { + return T008PartOctal.values()[(value >> group.getShiftBits()) & BITMASK]; } - public T02PartBinary splitPartBinary(T03PartTrit part) { - return T02PartBinary.values()[(ordinal() >> part.ordinal()) & 1]; + public T002PartBinary splitPartBinary(T003PartTrit part) { + return T002PartBinary.values()[(ordinal() >> part.ordinal()) & 1]; } - public int ordinalOf(T08PartOctal group) { + public int ordinalOf(T008PartOctal group) { return ordinal() << group.getShiftBits(); } } diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T09PartNonary.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T009PartNonary.java similarity index 79% rename from gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T09PartNonary.java rename to gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T009PartNonary.java index 34b448bf..feb32e15 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T09PartNonary.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T009PartNonary.java @@ -5,7 +5,7 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnDuytsFlüstern注; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnDuytsFlüstern注(purpose = "The distribution by 9 (colors).") -public enum T09PartNonary implements BãßBȍőnPartʸᴰ { +public enum T009PartNonary implements BãßBȍőnPartʸᴰ { PART_1 ("˦","藍","blue"), PART_2 ("˨","皓","white"), @@ -18,9 +18,9 @@ public enum T09PartNonary implements BãßBȍőnPartʸᴰ { PART_9 ("꜑","紺","purple"), ; - public final static T09PartNonary STATIC = T09PartNonary.PART_1; + public final static T009PartNonary STATIC = T009PartNonary.PART_1; - private T09PartNonary(String dialTone, String chinaKey, String chinaValue) { + private T009PartNonary(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/T10PartDecimal.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T010PartDecimal.java similarity index 83% rename from gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T10PartDecimal.java rename to gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T010PartDecimal.java index dd685251..6cb485f1 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T10PartDecimal.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T010PartDecimal.java @@ -7,7 +7,7 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnDuytsFlüstern注; @BãßBȍőnDuytsFlüstern注(purpose = "The distribution by 10 (finance numbers).") @BãßBȍőnPartAlt1注(name = "Tone Letter LR", website = "https://en.wikipedia.org/wiki/Tone_letter") @BãßBȍőnPartAlt2注(name = "Tone Letter RL", website = "https://en.wikipedia.org/wiki/Tone_letter") -public enum T10PartDecimal implements BãßBȍőnPartAlt2ʸᴰ { +public enum T010PartDecimal implements BãßBȍőnPartAlt2ʸᴰ { PART_1 ("˥","零","zero", "꜌","꜒"), PART_2 ("˦","壹","one", "꜋","꜓"), @@ -21,9 +21,9 @@ public enum T10PartDecimal implements BãßBȍőnPartAlt2ʸᴰ { PART_10("꜒","玖","nine", "˩","꜍"), ; - public final static T10PartDecimal STATIC = T10PartDecimal.PART_1; + public final static T010PartDecimal STATIC = T010PartDecimal.PART_1; - private T10PartDecimal(String dialTone, String chinaKey, String chinaValue, String alt1Value, String alt2Value) { + private T010PartDecimal(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); 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/T011PartUndecimal.java similarity index 79% rename from gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T11PartUndecimal.java rename to gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T011PartUndecimal.java index b47f458d..546b05de 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/T011PartUndecimal.java @@ -5,7 +5,7 @@ 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).") -public enum T11PartUndecimal implements BãßBȍőnPartʸᴰ { +public enum T011PartUndecimal implements BãßBȍőnPartʸᴰ { PART_1 ("˥","走","walk"), PART_2 ("꜈","跑","run"), @@ -20,9 +20,9 @@ public enum T11PartUndecimal implements BãßBȍőnPartʸᴰ { PART_11("˩","耦","mate"), ; - public final static T11PartUndecimal STATIC = T11PartUndecimal.PART_1; + public final static T011PartUndecimal STATIC = T011PartUndecimal.PART_1; - private T11PartUndecimal(String dialTone, String chinaKey, String chinaValue) { + private T011PartUndecimal(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/T12PartUncial.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T012PartUncial.java similarity index 83% rename from gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T12PartUncial.java rename to gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T012PartUncial.java index 50870c07..6a326f03 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/T012PartUncial.java @@ -6,7 +6,7 @@ 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 = "Indian (Bengali)", website = "https://en.wikipedia.org/wiki/Musical_note") -public enum T12PartUncial implements BãßBȍőnPartAlt1ʸᴰ { +public enum T012PartUncial implements BãßBȍőnPartAlt1ʸᴰ { PART_1 ("˥","日","sun", "সা"), PART_2 ("˧","月","moon", "ঋ"), @@ -22,9 +22,9 @@ public enum T12PartUncial implements BãßBȍőnPartAlt1ʸᴰ { PART_12("꜑","亞","nozero", "নি"), ; - public final static T12PartUncial STATIC = T12PartUncial.PART_1; + public final static T012PartUncial STATIC = T012PartUncial.PART_1; - private T12PartUncial(String dialTone, String chinaKey, String chinaValue, String alt1Value) { + private T012PartUncial(String dialTone, String chinaKey, String chinaValue, 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); 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/T014PartTetradecimal.java similarity index 82% rename from gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T14PartTetradecimal.java rename to gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T014PartTetradecimal.java index 4f6b29cb..7c4eb0fa 100644 --- 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/T014PartTetradecimal.java @@ -5,7 +5,7 @@ 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ʸᴰ { +public enum T014PartTetradecimal implements BãßBȍőnPartʸᴰ { // TODO: replace with global unique one char china key value. @@ -25,9 +25,9 @@ public enum T14PartTetradecimal implements BãßBȍőnPartʸᴰ { 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/T015PartPenta.java similarity index 86% rename from gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T15PartPenta.java rename to gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T015PartPenta.java index d1c99ec9..04d43f19 100644 --- 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/T015PartPenta.java @@ -6,7 +6,7 @@ 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ʸᴰ { +public enum T015PartPenta implements BãßBȍőnPartʸᴰ { // TODO: replace with global unique one char china key value. @@ -27,9 +27,9 @@ public enum T15PartPenta implements BãßBȍőnPartʸᴰ { PART_15 ("˦˩","龍馬","dragon_horse"), ; - public final static T15PartPenta STATIC = T15PartPenta.PART_1; + public final static T015PartPenta STATIC = T015PartPenta.PART_1; - private T15PartPenta(String dialTone, String chinaKey, String chinaValue) { + private T015PartPenta(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/T16PartHex.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T016PartHex.java similarity index 79% rename from gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T16PartHex.java rename to gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T016PartHex.java index bb4ad7da..f6cc00a4 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T16PartHex.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T016PartHex.java @@ -6,7 +6,7 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnDuytsFlüstern注; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnDuytsFlüstern注(purpose = "The distribution by 16 (elements).") @BãßBȍőnPartAlt1注(name = "Hexadecimal", website = "https://en.wikipedia.org/wiki/Hexadecimal") -public enum T16PartHex implements BãßBȍőnPartAlt1ʸᴰ { +public enum T016PartHex implements BãßBȍőnPartAlt1ʸᴰ { PART_1 ("˥","氫","hydrogen", "0"), PART_2 ("˦","氦","helium", "1"), @@ -26,9 +26,9 @@ public enum T16PartHex implements BãßBȍőnPartAlt1ʸᴰ { PART_16("꜑","硫","sulfur", "F"), ; - public final static T16PartHex STATIC = T16PartHex.PART_1; + public final static T016PartHex STATIC = T016PartHex.PART_1; - private T16PartHex(String dialTone, String chinaKey, String chinaValue, String alt1Value) { + private T016PartHex(String dialTone, String chinaKey, String chinaValue, 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); @@ -36,7 +36,7 @@ public enum T16PartHex implements BãßBȍőnPartAlt1ʸᴰ { }); } - public T02PartBinary splitPartBinary(T04PartQuad part) { - return T02PartBinary.values()[(ordinal() >> part.ordinal()) & 1]; + public T002PartBinary splitPartBinary(T004PartQuad part) { + return T002PartBinary.values()[(ordinal() >> part.ordinal()) & 1]; } } 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/T017PartHeptadecimal.java similarity index 87% rename from gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T17PartHeptadecimal.java rename to gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T017PartHeptadecimal.java index ec352559..34fb15bf 100644 --- 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/T017PartHeptadecimal.java @@ -7,7 +7,7 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnDuytsFlüstern注; @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ʸᴰ { +public enum T017PartHeptadecimal implements BãßBȍőnPartAlt2ʸᴰ { // TODO: replace with global unique one char china key value. @@ -30,9 +30,9 @@ public enum T17PartHeptadecimal implements BãßBȍőnPartAlt2ʸᴰ { 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/T18PartOctodecimal.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T018PartOctodecimal.java similarity index 82% rename from gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T18PartOctodecimal.java rename to gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T018PartOctodecimal.java index 35eb2a85..476b13b7 100644 --- 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/T018PartOctodecimal.java @@ -5,7 +5,7 @@ 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ʸᴰ { +public enum T018PartOctodecimal implements BãßBȍőnPartʸᴰ { PART_1 ("˥˥","心", "heart"), PART_2 ("˥˦","眼", "eye"), @@ -27,9 +27,9 @@ public enum T18PartOctodecimal implements BãßBȍőnPartʸᴰ { 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/T20PartScore.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T020PartScore.java similarity index 87% rename from gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T20PartScore.java rename to gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T020PartScore.java index e50e6be5..62afa939 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T20PartScore.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T020PartScore.java @@ -14,7 +14,7 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnDuytsFlüstern注; @BãßBȍőnPartAlt2注(name = "Vigesimal", website = "https://en.wikipedia.org/wiki/Vigesimal#Places") @BãßBȍőnPartAlt3注(name = "Vigesimal Alternative", website = "https://en.wikipedia.org/wiki/Vigesimal#Places") @BãßBȍőnPartAlt4注(name = "Open Location Code", website = "https://en.wikipedia.org/wiki/Open_Location_Code") -public enum T20PartScore implements BãßBȍőnPartAlt4ʸᴰ { +public enum T020PartScore implements BãßBȍőnPartAlt4ʸᴰ { PART_1 ("˥", "尧", "yotta", "Y", "0", "0", "2"), PART_2 ("˦", "泽", "zetta", "Z", "1", "1", "3"), @@ -38,12 +38,12 @@ public enum T20PartScore implements BãßBȍőnPartAlt4ʸᴰ { PART_20("꜑", "幺", "yocto", "y", "J", "K", "X"), ; - private static final Map OPENLC_MAP = Collections.unmodifiableMap( + private static final Map OPENLC_MAP = Collections.unmodifiableMap( Arrays.asList(values()).stream().collect(Collectors.toMap(v -> v.rȧñkAlt4Waarde(), v -> v))); - public final static T20PartScore STATIC = T20PartScore.PART_1; + public final static T020PartScore STATIC = T020PartScore.PART_1; - private T20PartScore(String dialTone, String chinaKey, String chinaValue, + private T020PartScore(String dialTone, String chinaKey, String chinaValue, String alt1Value, String alt2Value, String alt3Value, String alt4Value) { BãßBȍőnPartʸᴰ.Ꝑŕḯṿª₮ḕ.יהוהʸᴰ(this, dialTone, enumPart -> { enumPart.PUT_OBJ(BãßBȍőnPartBullet.CHINA_KEY, chinaKey); @@ -55,7 +55,7 @@ public enum T20PartScore implements BãßBȍőnPartAlt4ʸᴰ { }); } - public T20PartScore BãßValueOfOpenLC(String openLCKey) { + public T020PartScore BãßValueOfOpenLC(String openLCKey) { return OPENLC_MAP.get(openLCKey); } } 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/T021PartUnvigesimal.java similarity index 89% rename from gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T21PartUnvigesimal.java rename to gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T021PartUnvigesimal.java index a3908e01..614e1e0e 100644 --- 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/T021PartUnvigesimal.java @@ -8,7 +8,7 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnDuytsFlüstern注; @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ʸᴰ { +public enum T021PartUnvigesimal implements BãßBȍőnPartAlt2ʸᴰ { // TODO: replace with global unique one char china key value. @@ -35,9 +35,9 @@ public enum T21PartUnvigesimal implements BãßBȍőnPartAlt2ʸᴰ { 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/T25PartPentavigesimal.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T025PartPentavigesimal.java similarity index 85% rename from gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T25PartPentavigesimal.java rename to gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T025PartPentavigesimal.java index 6a14a6af..833853bf 100644 --- 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/T025PartPentavigesimal.java @@ -6,7 +6,7 @@ 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ʸᴰ { +public enum T025PartPentavigesimal implements BãßBȍőnPartʸᴰ { PART_1("˥˥","𝍠","1D360"), PART_2("˥˦","𝍡","1D361"), @@ -35,9 +35,9 @@ public enum T25PartPentavigesimal implements BãßBȍőnPartʸᴰ { 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/T060PartSexagesimal.java similarity index 91% rename from gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T60PartSexagesimal.java rename to gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T060PartSexagesimal.java index e416e3a4..1c0456c4 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/T060PartSexagesimal.java @@ -5,7 +5,7 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnDuytsFlüstern注; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnDuytsFlüstern注(purpose = "The distribution by 60 (human food).") -public enum T60PartSexagesimal implements BãßBȍőnPartʸᴰ { +public enum T060PartSexagesimal implements BãßBȍőnPartʸᴰ { // todo: convert to 60; https://en.wikipedia.org/wiki/Chinese_zodiac @@ -71,9 +71,9 @@ public enum T60PartSexagesimal implements BãßBȍőnPartʸᴰ { 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/T64PartTetrasexagesimal.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T064PartTetrasexagesimal.java similarity index 93% rename from gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T64PartTetrasexagesimal.java rename to gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T064PartTetrasexagesimal.java index b8b5ed4b..ba1672a2 100644 --- 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/T064PartTetrasexagesimal.java @@ -8,7 +8,7 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnDuytsFlüstern注; @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ʸᴰ { +public enum T064PartTetrasexagesimal implements BãßBȍőnPartAlt2ʸᴰ { PART_1 ("˥˥","䷀","force", "⠀","A"), PART_2 ("˥˦","䷁","field", "⠁","B"), @@ -76,9 +76,9 @@ public enum T64PartTetrasexagesimal implements BãßBȍőnPartAlt2ʸᴰ { 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/T87PartXuanJing.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T087PartXuanJing.java similarity index 93% rename from gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T87PartXuanJing.java rename to gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/part/T087PartXuanJing.java index 9515e063..17891f49 100644 --- 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/T087PartXuanJing.java @@ -5,7 +5,7 @@ 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ʸᴰ { +public enum T087PartXuanJing implements BãßBȍőnPartʸᴰ { PART_1("˥˥","𝌀","1D300"), PART_2("˥˦","𝌁","1D301"), @@ -96,9 +96,9 @@ public enum T87PartXuanJing implements BãßBȍőnPartʸᴰ { PART_87("꜓꜕","𝍖","1D356"), ; - public final static T87PartXuanJing STATIC = T87PartXuanJing.PART_1; + public final static T087PartXuanJing STATIC = T087PartXuanJing.PART_1; - private T87PartXuanJing(String dialTone, String chinaKey, String chinaValue) { + private T087PartXuanJing(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/type/V006Tixte.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/type/V006Tixte.java index 5d445afc..fd6cb1a4 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/type/V006Tixte.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/type/V006Tixte.java @@ -4,8 +4,8 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; import love.distributedrebirth.numberxd.base2t.BaseAppenderOctal; import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal; import love.distributedrebirth.numberxd.base2t.BaseNumber; -import love.distributedrebirth.numberxd.base2t.part.T02PartBinary; -import love.distributedrebirth.numberxd.base2t.part.T08PartOctal; +import love.distributedrebirth.numberxd.base2t.part.T002PartBinary; +import love.distributedrebirth.numberxd.base2t.part.T008PartOctal; /** * Holds an 6 bit value. @@ -13,27 +13,27 @@ import love.distributedrebirth.numberxd.base2t.part.T08PartOctal; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") public final class V006Tixte implements BaseNumber { - public static int BIT_COUNT = T08PartOctal.BIT_COUNT * T02PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ(); - private final T08PartOctal[] values = new T08PartOctal[T02PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()]; + public static int BIT_COUNT = T008PartOctal.BIT_COUNT * T002PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ(); + private final T008PartOctal[] values = new T008PartOctal[T002PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()]; public V006Tixte() { - this(T08PartOctal.PART_1, T08PartOctal.PART_1); + this(T008PartOctal.PART_1, T008PartOctal.PART_1); } public V006Tixte(BaseIteratorOctal values) { this(values.next(), values.next()); } - private V006Tixte(T08PartOctal valueHigh, T08PartOctal valueLow) { - values[T02PartBinary.PART_1.rȧñkTelNul()] = valueHigh; - values[T02PartBinary.PART_2.rȧñkTelNul()] = valueLow; + private V006Tixte(T008PartOctal valueHigh, T008PartOctal valueLow) { + values[T002PartBinary.PART_1.rȧñkTelNul()] = valueHigh; + values[T002PartBinary.PART_2.rȧñkTelNul()] = valueLow; } - public T08PartOctal getValue(T02PartBinary part) { + public T008PartOctal getValue(T002PartBinary part) { return values[part.ordinal()]; } - public void setValue(T02PartBinary part, T08PartOctal value) { + public void setValue(T002PartBinary part, T008PartOctal value) { values[part.ordinal()] = value; } @@ -49,7 +49,7 @@ public final class V006Tixte implements BaseNumber { @Override public void fillOctalsByClone(BaseAppenderOctal appender) { - appender.add(values[T02PartBinary.PART_1.rȧñkTelNul()]); - appender.add(values[T02PartBinary.PART_2.rȧñkTelNul()]); + appender.add(values[T002PartBinary.PART_1.rȧñkTelNul()]); + appender.add(values[T002PartBinary.PART_2.rȧñkTelNul()]); } } diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/type/V009Tyte.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/type/V009Tyte.java index 3e3232c6..96c38d77 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/type/V009Tyte.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/type/V009Tyte.java @@ -6,8 +6,8 @@ import love.distributedrebirth.numberxd.base2t.BaseAppenderTyte; import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal; import love.distributedrebirth.numberxd.base2t.BaseIteratorTyte; import love.distributedrebirth.numberxd.base2t.BaseNumberTyte; -import love.distributedrebirth.numberxd.base2t.part.T03PartTrit; -import love.distributedrebirth.numberxd.base2t.part.T08PartOctal; +import love.distributedrebirth.numberxd.base2t.part.T003PartTrit; +import love.distributedrebirth.numberxd.base2t.part.T008PartOctal; /** * Holds an 9 bit value. @@ -15,42 +15,42 @@ import love.distributedrebirth.numberxd.base2t.part.T08PartOctal; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") public final class V009Tyte implements BaseNumberTyte { - public static int BIT_COUNT = T08PartOctal.BIT_COUNT * T03PartTrit.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ(); - private final T08PartOctal[] values = new T08PartOctal[T03PartTrit.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()]; + public static int BIT_COUNT = T008PartOctal.BIT_COUNT * T003PartTrit.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ(); + private final T008PartOctal[] values = new T008PartOctal[T003PartTrit.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()]; public V009Tyte() { - this(T08PartOctal.PART_1, T08PartOctal.PART_1, T08PartOctal.PART_1); + this(T008PartOctal.PART_1, T008PartOctal.PART_1, T008PartOctal.PART_1); } public V009Tyte(BaseIteratorOctal values) { this(values.next(), values.next(), values.next()); } - public V009Tyte(T08PartOctal valueHigh, T08PartOctal valueMedium, T08PartOctal valueLow) { - values[T03PartTrit.PART_1.rȧñkTelNul()] = valueHigh; - values[T03PartTrit.PART_2.rȧñkTelNul()] = valueMedium; - values[T03PartTrit.PART_3.rȧñkTelNul()] = valueLow; + public V009Tyte(T008PartOctal valueHigh, T008PartOctal valueMedium, T008PartOctal valueLow) { + values[T003PartTrit.PART_1.rȧñkTelNul()] = valueHigh; + values[T003PartTrit.PART_2.rȧñkTelNul()] = valueMedium; + values[T003PartTrit.PART_3.rȧñkTelNul()] = valueLow; } public short getValueNumber() { short result = 0; - result += (getValue(T03PartTrit.PART_1).rȧñkTelNul() << 0); - result += (getValue(T03PartTrit.PART_2).rȧñkTelNul() << 3); - result += (getValue(T03PartTrit.PART_3).rȧñkTelNul() << 6); + result += (getValue(T003PartTrit.PART_1).rȧñkTelNul() << 0); + result += (getValue(T003PartTrit.PART_2).rȧñkTelNul() << 3); + result += (getValue(T003PartTrit.PART_3).rȧñkTelNul() << 6); return result; } public void setValueNumber(short number) { - setValue(T03PartTrit.PART_1, T08PartOctal.values()[(number >> 0) & 0b111]); - setValue(T03PartTrit.PART_2, T08PartOctal.values()[(number >> 3) & 0b111]); - setValue(T03PartTrit.PART_3, T08PartOctal.values()[(number >> 6) & 0b111]); + setValue(T003PartTrit.PART_1, T008PartOctal.values()[(number >> 0) & 0b111]); + setValue(T003PartTrit.PART_2, T008PartOctal.values()[(number >> 3) & 0b111]); + setValue(T003PartTrit.PART_3, T008PartOctal.values()[(number >> 6) & 0b111]); } - public T08PartOctal getValue(T03PartTrit part) { + public T008PartOctal getValue(T003PartTrit part) { return values[part.ordinal()]; } - public void setValue(T03PartTrit part, T08PartOctal value) { + public void setValue(T003PartTrit part, T008PartOctal value) { values[part.ordinal()] = value; } @@ -66,9 +66,9 @@ public final class V009Tyte implements BaseNumberTyte { @Override public void fillOctalsByClone(BaseAppenderOctal appender) { - appender.add(values[T03PartTrit.PART_1.rȧñkTelNul()]); - appender.add(values[T03PartTrit.PART_2.rȧñkTelNul()]); - appender.add(values[T03PartTrit.PART_3.rȧñkTelNul()]); + appender.add(values[T003PartTrit.PART_1.rȧñkTelNul()]); + appender.add(values[T003PartTrit.PART_2.rȧñkTelNul()]); + appender.add(values[T003PartTrit.PART_3.rȧñkTelNul()]); } @Override diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/type/V018Tord.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/type/V018Tord.java index a532e85f..78eb8ec6 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/type/V018Tord.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/type/V018Tord.java @@ -6,9 +6,9 @@ import love.distributedrebirth.numberxd.base2t.BaseAppenderTyte; import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal; import love.distributedrebirth.numberxd.base2t.BaseIteratorTyte; import love.distributedrebirth.numberxd.base2t.BaseNumberTyte; -import love.distributedrebirth.numberxd.base2t.part.T02PartBinary; -import love.distributedrebirth.numberxd.base2t.part.T06PartSeximal; -import love.distributedrebirth.numberxd.base2t.part.T08PartOctal; +import love.distributedrebirth.numberxd.base2t.part.T002PartBinary; +import love.distributedrebirth.numberxd.base2t.part.T006PartSeximal; +import love.distributedrebirth.numberxd.base2t.part.T008PartOctal; /** * Holds an 18 bit value. @@ -16,8 +16,8 @@ import love.distributedrebirth.numberxd.base2t.part.T08PartOctal; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") public final class V018Tord implements BaseNumberTyte { - public static int BIT_COUNT = V009Tyte.BIT_COUNT * T02PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ(); - private V009Tyte[] values = new V009Tyte[T02PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()]; + public static int BIT_COUNT = V009Tyte.BIT_COUNT * T002PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ(); + private V009Tyte[] values = new V009Tyte[T002PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()]; public V018Tord() { this(new V009Tyte(), new V009Tyte()); @@ -32,35 +32,35 @@ public final class V018Tord implements BaseNumberTyte { } private V018Tord(V009Tyte valueHigh, V009Tyte valueLow) { - setValue(T02PartBinary.PART_1, valueHigh); - setValue(T02PartBinary.PART_2, valueLow); + setValue(T002PartBinary.PART_1, valueHigh); + setValue(T002PartBinary.PART_2, valueLow); } public int getValueNumber() { int result = 0; - result += (getValue(T02PartBinary.PART_1).getValueNumber() << 0); - result += (getValue(T02PartBinary.PART_2).getValueNumber() << 9); + result += (getValue(T002PartBinary.PART_1).getValueNumber() << 0); + result += (getValue(T002PartBinary.PART_2).getValueNumber() << 9); return result; } public void setValueNumber(int number) { - getValue(T02PartBinary.PART_1).setValueNumber((short) ((number >> 0) & 0b111111111)); - getValue(T02PartBinary.PART_2).setValueNumber((short) ((number >> 9) & 0b111111111)); + getValue(T002PartBinary.PART_1).setValueNumber((short) ((number >> 0) & 0b111111111)); + getValue(T002PartBinary.PART_2).setValueNumber((short) ((number >> 9) & 0b111111111)); } - public V009Tyte getValue(T02PartBinary part) { + public V009Tyte getValue(T002PartBinary part) { return values[part.ordinal()]; } - public void setValue(T02PartBinary part, V009Tyte value) { + public void setValue(T002PartBinary part, V009Tyte value) { values[part.ordinal()] = value; } - public T08PartOctal getTimblePart(T06PartSeximal part) { + public T008PartOctal getTimblePart(T006PartSeximal part) { return getValue(part.splitPartBinary()).getValue(part.splitPartTrit()); } - public void setTimblePart(T06PartSeximal part, T08PartOctal value) { + public void setTimblePart(T006PartSeximal part, T008PartOctal value) { getValue(part.splitPartBinary()).setValue(part.splitPartTrit(), value); } @@ -76,7 +76,7 @@ public final class V018Tord implements BaseNumberTyte { @Override public void fillOctalsByClone(BaseAppenderOctal appender) { - T02PartBinary.STATIC.teŀráàmVoorElk(v -> getValue(v).fillOctalsByClone(appender)); + T002PartBinary.STATIC.teŀráàmVoorElk(v -> getValue(v).fillOctalsByClone(appender)); } @Override @@ -86,6 +86,6 @@ public final class V018Tord implements BaseNumberTyte { @Override public void fillTytesByReference(BaseAppenderTyte appender) { - T02PartBinary.STATIC.teŀráàmVoorElk(v -> getValue(v).fillTytesByReference(appender)); + T002PartBinary.STATIC.teŀráàmVoorElk(v -> getValue(v).fillTytesByReference(appender)); } } diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/type/V027Temvig.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/type/V027Temvig.java index b9e3c53d..d372fb34 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/type/V027Temvig.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/type/V027Temvig.java @@ -6,7 +6,7 @@ import love.distributedrebirth.numberxd.base2t.BaseAppenderTyte; import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal; import love.distributedrebirth.numberxd.base2t.BaseIteratorTyte; import love.distributedrebirth.numberxd.base2t.BaseNumberTyte; -import love.distributedrebirth.numberxd.base2t.part.T03PartTrit; +import love.distributedrebirth.numberxd.base2t.part.T003PartTrit; /** * Holds an 27 bit value. @@ -14,8 +14,8 @@ import love.distributedrebirth.numberxd.base2t.part.T03PartTrit; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") public final class V027Temvig implements BaseNumberTyte { - public static int BIT_COUNT = V009Tyte.BIT_COUNT * T03PartTrit.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ(); - private V009Tyte[] values = new V009Tyte[T03PartTrit.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()]; + public static int BIT_COUNT = V009Tyte.BIT_COUNT * T003PartTrit.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ(); + private V009Tyte[] values = new V009Tyte[T003PartTrit.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()]; public V027Temvig() { this(new V009Tyte(), new V009Tyte(), new V009Tyte()); @@ -30,16 +30,16 @@ public final class V027Temvig implements BaseNumberTyte { } private V027Temvig(V009Tyte valueHigh, V009Tyte valueMedium, V009Tyte valueLow) { - setValue(T03PartTrit.PART_1, valueHigh); - setValue(T03PartTrit.PART_2, valueMedium); - setValue(T03PartTrit.PART_3, valueLow); + setValue(T003PartTrit.PART_1, valueHigh); + setValue(T003PartTrit.PART_2, valueMedium); + setValue(T003PartTrit.PART_3, valueLow); } - public V009Tyte getValue(T03PartTrit part) { + public V009Tyte getValue(T003PartTrit part) { return values[part.ordinal()]; } - public void setValue(T03PartTrit part, V009Tyte value) { + public void setValue(T003PartTrit part, V009Tyte value) { values[part.ordinal()] = value; } @@ -55,7 +55,7 @@ public final class V027Temvig implements BaseNumberTyte { @Override public void fillOctalsByClone(BaseAppenderOctal appender) { - T03PartTrit.STATIC.teŀráàmVoorElk(v -> getValue(v).fillOctalsByClone(appender)); + T003PartTrit.STATIC.teŀráàmVoorElk(v -> getValue(v).fillOctalsByClone(appender)); } @Override @@ -65,6 +65,6 @@ public final class V027Temvig implements BaseNumberTyte { @Override public void fillTytesByReference(BaseAppenderTyte appender) { - T03PartTrit.STATIC.teŀráàmVoorElk(v -> getValue(v).fillTytesByReference(appender)); + T003PartTrit.STATIC.teŀráàmVoorElk(v -> getValue(v).fillTytesByReference(appender)); } } diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/type/V036Teger.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/type/V036Teger.java index 30a12149..d2d3cfe7 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/type/V036Teger.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/type/V036Teger.java @@ -6,8 +6,8 @@ import love.distributedrebirth.numberxd.base2t.BaseAppenderTyte; import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal; import love.distributedrebirth.numberxd.base2t.BaseIteratorTyte; import love.distributedrebirth.numberxd.base2t.BaseNumberTyte; -import love.distributedrebirth.numberxd.base2t.part.T02PartBinary; -import love.distributedrebirth.numberxd.base2t.part.T04PartQuad; +import love.distributedrebirth.numberxd.base2t.part.T002PartBinary; +import love.distributedrebirth.numberxd.base2t.part.T004PartQuad; /** * Holds an 36 bit value. @@ -15,8 +15,8 @@ import love.distributedrebirth.numberxd.base2t.part.T04PartQuad; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") public final class V036Teger implements BaseNumberTyte { - public static int BIT_COUNT = V018Tord.BIT_COUNT * T02PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ(); - private V018Tord[] values = new V018Tord[T02PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()]; + public static int BIT_COUNT = V018Tord.BIT_COUNT * T002PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ(); + private V018Tord[] values = new V018Tord[T002PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()]; public V036Teger() { this(new V018Tord(), new V018Tord()); @@ -31,38 +31,38 @@ public final class V036Teger implements BaseNumberTyte { } private V036Teger(V018Tord valueHigh, V018Tord valueLow) { - setValue(T02PartBinary.PART_1, valueHigh); - setValue(T02PartBinary.PART_2, valueLow); + setValue(T002PartBinary.PART_1, valueHigh); + setValue(T002PartBinary.PART_2, valueLow); } public long getValueNumber() { int result = 0; - result += (getValue(T02PartBinary.PART_1).getValueNumber() << 0); - result += (getValue(T02PartBinary.PART_2).getValueNumber() << 18); + result += (getValue(T002PartBinary.PART_1).getValueNumber() << 0); + result += (getValue(T002PartBinary.PART_2).getValueNumber() << 18); return result; } public void setValueNumber(long number) { - getValue(T02PartBinary.PART_1).setValueNumber((int) ((number >> 0) & 0b111111111111111111)); - getValue(T02PartBinary.PART_2).setValueNumber((int) ((number >> 18) & 0b111111111111111111)); + getValue(T002PartBinary.PART_1).setValueNumber((int) ((number >> 0) & 0b111111111111111111)); + getValue(T002PartBinary.PART_2).setValueNumber((int) ((number >> 18) & 0b111111111111111111)); } - public V018Tord getValue(T02PartBinary part) { + public V018Tord getValue(T002PartBinary part) { return values[part.ordinal()]; } - public void setValue(T02PartBinary part, V018Tord value) { + public void setValue(T002PartBinary part, V018Tord value) { values[part.ordinal()] = value; } - public V009Tyte getTytePart(T04PartQuad part) { - return getValue(part.splitPartBinary(T02PartBinary.PART_1)) - .getValue(part.splitPartBinary(T02PartBinary.PART_2)); + public V009Tyte getTytePart(T004PartQuad part) { + return getValue(part.splitPartBinary(T002PartBinary.PART_1)) + .getValue(part.splitPartBinary(T002PartBinary.PART_2)); } - public void setTytePart(T04PartQuad part, V009Tyte value) { - getValue(part.splitPartBinary(T02PartBinary.PART_1)) - .setValue(part.splitPartBinary(T02PartBinary.PART_2), value); + public void setTytePart(T004PartQuad part, V009Tyte value) { + getValue(part.splitPartBinary(T002PartBinary.PART_1)) + .setValue(part.splitPartBinary(T002PartBinary.PART_2), value); } @Override @@ -77,7 +77,7 @@ public final class V036Teger implements BaseNumberTyte { @Override public void fillOctalsByClone(BaseAppenderOctal appender) { - T02PartBinary.STATIC.teŀráàmVoorElk(v -> getValue(v).fillOctalsByClone(appender)); + T002PartBinary.STATIC.teŀráàmVoorElk(v -> getValue(v).fillOctalsByClone(appender)); } @Override @@ -87,6 +87,6 @@ public final class V036Teger implements BaseNumberTyte { @Override public void fillTytesByReference(BaseAppenderTyte appender) { - T02PartBinary.STATIC.teŀráàmVoorElk(v -> getValue(v).fillTytesByReference(appender)); + T002PartBinary.STATIC.teŀráàmVoorElk(v -> getValue(v).fillTytesByReference(appender)); } } diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/type/V042Traw.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/type/V042Traw.java index 439f4349..06844ba5 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/type/V042Traw.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/type/V042Traw.java @@ -4,7 +4,7 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; import love.distributedrebirth.numberxd.base2t.BaseAppenderOctal; import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal; import love.distributedrebirth.numberxd.base2t.BaseNumber; -import love.distributedrebirth.numberxd.base2t.part.T07PartSeptet; +import love.distributedrebirth.numberxd.base2t.part.T007PartSeptet; /** * Holds an 42 bit value. @@ -12,8 +12,8 @@ import love.distributedrebirth.numberxd.base2t.part.T07PartSeptet; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") public final class V042Traw implements BaseNumber { - public static int BIT_COUNT = V006Tixte.BIT_COUNT * T07PartSeptet.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ(); - private V006Tixte[] values = new V006Tixte[T07PartSeptet.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()]; + public static int BIT_COUNT = V006Tixte.BIT_COUNT * T007PartSeptet.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ(); + private V006Tixte[] values = new V006Tixte[T007PartSeptet.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()]; public V042Traw() { for (int i=0;i { } } - public V006Tixte getValue(T07PartSeptet part) { + public V006Tixte getValue(T007PartSeptet part) { return values[part.ordinal()]; } - public void setValue(T07PartSeptet part, V006Tixte value) { + public void setValue(T007PartSeptet part, V006Tixte value) { values[part.ordinal()] = value; } @@ -47,6 +47,6 @@ public final class V042Traw implements BaseNumber { @Override public void fillOctalsByClone(BaseAppenderOctal appender) { - T07PartSeptet.STATIC.teŀráàmVoorElk(v -> getValue(v).fillOctalsByClone(appender)); + T007PartSeptet.STATIC.teŀráàmVoorElk(v -> getValue(v).fillOctalsByClone(appender)); } } diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/type/V072Tong.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/type/V072Tong.java index 7a7a181a..d92831de 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/type/V072Tong.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/type/V072Tong.java @@ -6,9 +6,9 @@ import love.distributedrebirth.numberxd.base2t.BaseAppenderTyte; import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal; import love.distributedrebirth.numberxd.base2t.BaseIteratorTyte; import love.distributedrebirth.numberxd.base2t.BaseNumberTyte; -import love.distributedrebirth.numberxd.base2t.part.T02PartBinary; -import love.distributedrebirth.numberxd.base2t.part.T03PartTrit; -import love.distributedrebirth.numberxd.base2t.part.T08PartOctal; +import love.distributedrebirth.numberxd.base2t.part.T002PartBinary; +import love.distributedrebirth.numberxd.base2t.part.T003PartTrit; +import love.distributedrebirth.numberxd.base2t.part.T008PartOctal; /** * Holds an 72 bit value. @@ -16,8 +16,8 @@ import love.distributedrebirth.numberxd.base2t.part.T08PartOctal; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") public final class V072Tong implements BaseNumberTyte { - public static int BIT_COUNT = V036Teger.BIT_COUNT * T02PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ(); - private V036Teger[] values = new V036Teger[T02PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()]; + public static int BIT_COUNT = V036Teger.BIT_COUNT * T002PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ(); + private V036Teger[] values = new V036Teger[T002PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()]; public V072Tong() { this(new V036Teger(), new V036Teger()); @@ -32,28 +32,28 @@ public final class V072Tong implements BaseNumberTyte { } private V072Tong(V036Teger valueHigh, V036Teger valueLow) { - setValue(T02PartBinary.PART_1, valueHigh); - setValue(T02PartBinary.PART_2, valueLow); + setValue(T002PartBinary.PART_1, valueHigh); + setValue(T002PartBinary.PART_2, valueLow); } - public V036Teger getValue(T02PartBinary part) { + public V036Teger getValue(T002PartBinary part) { return values[part.ordinal()]; } - public void setValue(T02PartBinary part, V036Teger value) { + public void setValue(T002PartBinary part, V036Teger value) { values[part.ordinal()] = value; } - public V009Tyte getTytePart(T08PartOctal part) { - return getValue(part.splitPartBinary(T03PartTrit.PART_1)) - .getValue(part.splitPartBinary(T03PartTrit.PART_2)) - .getValue(part.splitPartBinary(T03PartTrit.PART_3)); + public V009Tyte getTytePart(T008PartOctal part) { + return getValue(part.splitPartBinary(T003PartTrit.PART_1)) + .getValue(part.splitPartBinary(T003PartTrit.PART_2)) + .getValue(part.splitPartBinary(T003PartTrit.PART_3)); } - public void setTytePart(T08PartOctal part, V009Tyte value) { - getValue(part.splitPartBinary(T03PartTrit.PART_1)) - .getValue(part.splitPartBinary(T03PartTrit.PART_2)) - .setValue(part.splitPartBinary(T03PartTrit.PART_3), value); + public void setTytePart(T008PartOctal part, V009Tyte value) { + getValue(part.splitPartBinary(T003PartTrit.PART_1)) + .getValue(part.splitPartBinary(T003PartTrit.PART_2)) + .setValue(part.splitPartBinary(T003PartTrit.PART_3), value); } @Override @@ -68,7 +68,7 @@ public final class V072Tong implements BaseNumberTyte { @Override public void fillOctalsByClone(BaseAppenderOctal appender) { - T02PartBinary.STATIC.teŀráàmVoorElk(v -> getValue(v).fillOctalsByClone(appender)); + T002PartBinary.STATIC.teŀráàmVoorElk(v -> getValue(v).fillOctalsByClone(appender)); } @Override @@ -78,6 +78,6 @@ public final class V072Tong implements BaseNumberTyte { @Override public void fillTytesByReference(BaseAppenderTyte appender) { - T02PartBinary.STATIC.teŀráàmVoorElk(v -> getValue(v).fillTytesByReference(appender)); + T002PartBinary.STATIC.teŀráàmVoorElk(v -> getValue(v).fillTytesByReference(appender)); } } diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/type/V144Tocta.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/type/V144Tocta.java index 64e9419a..d537065c 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/type/V144Tocta.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/type/V144Tocta.java @@ -6,11 +6,11 @@ import love.distributedrebirth.numberxd.base2t.BaseAppenderTyte; import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal; import love.distributedrebirth.numberxd.base2t.BaseIteratorTyte; import love.distributedrebirth.numberxd.base2t.BaseNumberTyte; -import love.distributedrebirth.numberxd.base2t.part.T02PartBinary; -import love.distributedrebirth.numberxd.base2t.part.T03PartTrit; -import love.distributedrebirth.numberxd.base2t.part.T04PartQuad; -import love.distributedrebirth.numberxd.base2t.part.T08PartOctal; -import love.distributedrebirth.numberxd.base2t.part.T16PartHex; +import love.distributedrebirth.numberxd.base2t.part.T002PartBinary; +import love.distributedrebirth.numberxd.base2t.part.T003PartTrit; +import love.distributedrebirth.numberxd.base2t.part.T004PartQuad; +import love.distributedrebirth.numberxd.base2t.part.T008PartOctal; +import love.distributedrebirth.numberxd.base2t.part.T016PartHex; /** * Holds an 144 bit value. @@ -18,8 +18,8 @@ import love.distributedrebirth.numberxd.base2t.part.T16PartHex; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") public final class V144Tocta implements BaseNumberTyte { - public static int BIT_COUNT = V072Tong.BIT_COUNT * T02PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ(); - private V072Tong[] values = new V072Tong[T02PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()]; + public static int BIT_COUNT = V072Tong.BIT_COUNT * T002PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ(); + private V072Tong[] values = new V072Tong[T002PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()]; public V144Tocta() { this(new V072Tong(), new V072Tong()); @@ -34,42 +34,42 @@ public final class V144Tocta implements BaseNumberTyte { } private V144Tocta(V072Tong valueHigh, V072Tong valueLow) { - setValue(T02PartBinary.PART_1, valueHigh); - setValue(T02PartBinary.PART_2, valueLow); + setValue(T002PartBinary.PART_1, valueHigh); + setValue(T002PartBinary.PART_2, valueLow); } - public V072Tong getValue(T02PartBinary part) { + public V072Tong getValue(T002PartBinary part) { return values[part.ordinal()]; } - public void setValue(T02PartBinary part, V072Tong value) { + public void setValue(T002PartBinary part, V072Tong value) { values[part.ordinal()] = value; } - public V009Tyte getTytePart(T16PartHex part) { - return getValue(part.splitPartBinary(T04PartQuad.PART_1)) - .getValue(part.splitPartBinary(T04PartQuad.PART_2)) - .getValue(part.splitPartBinary(T04PartQuad.PART_3)) - .getValue(part.splitPartBinary(T04PartQuad.PART_4)); + public V009Tyte getTytePart(T016PartHex part) { + return getValue(part.splitPartBinary(T004PartQuad.PART_1)) + .getValue(part.splitPartBinary(T004PartQuad.PART_2)) + .getValue(part.splitPartBinary(T004PartQuad.PART_3)) + .getValue(part.splitPartBinary(T004PartQuad.PART_4)); } - public void setTytePart(T16PartHex part, V009Tyte value) { - getValue(part.splitPartBinary(T04PartQuad.PART_1)) - .getValue(part.splitPartBinary(T04PartQuad.PART_2)) - .getValue(part.splitPartBinary(T04PartQuad.PART_3)) - .setValue(part.splitPartBinary(T04PartQuad.PART_4), value); + public void setTytePart(T016PartHex part, V009Tyte value) { + getValue(part.splitPartBinary(T004PartQuad.PART_1)) + .getValue(part.splitPartBinary(T004PartQuad.PART_2)) + .getValue(part.splitPartBinary(T004PartQuad.PART_3)) + .setValue(part.splitPartBinary(T004PartQuad.PART_4), value); } - public V018Tord getTordPart(T08PartOctal part) { - return getValue(part.splitPartBinary(T03PartTrit.PART_1)) - .getValue(part.splitPartBinary(T03PartTrit.PART_2)) - .getValue(part.splitPartBinary(T03PartTrit.PART_3)); + public V018Tord getTordPart(T008PartOctal part) { + return getValue(part.splitPartBinary(T003PartTrit.PART_1)) + .getValue(part.splitPartBinary(T003PartTrit.PART_2)) + .getValue(part.splitPartBinary(T003PartTrit.PART_3)); } - public void setTordPart(T08PartOctal part, V018Tord value) { - getValue(part.splitPartBinary(T03PartTrit.PART_1)) - .getValue(part.splitPartBinary(T03PartTrit.PART_2)) - .setValue(part.splitPartBinary(T03PartTrit.PART_3), value); + public void setTordPart(T008PartOctal part, V018Tord value) { + getValue(part.splitPartBinary(T003PartTrit.PART_1)) + .getValue(part.splitPartBinary(T003PartTrit.PART_2)) + .setValue(part.splitPartBinary(T003PartTrit.PART_3), value); } @Override @@ -84,7 +84,7 @@ public final class V144Tocta implements BaseNumberTyte { @Override public void fillOctalsByClone(BaseAppenderOctal appender) { - T02PartBinary.STATIC.teŀráàmVoorElk(v -> getValue(v).fillOctalsByClone(appender)); + T002PartBinary.STATIC.teŀráàmVoorElk(v -> getValue(v).fillOctalsByClone(appender)); } @Override @@ -94,6 +94,6 @@ public final class V144Tocta implements BaseNumberTyte { @Override public void fillTytesByReference(BaseAppenderTyte appender) { - T02PartBinary.STATIC.teŀráàmVoorElk(v -> getValue(v).fillTytesByReference(appender)); + T002PartBinary.STATIC.teŀráàmVoorElk(v -> getValue(v).fillTytesByReference(appender)); } } diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/typexl/V0x000348ˣᴸ.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/typexl/V0x000348ˣᴸ.java index 38a04327..c7c0a5c3 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/typexl/V0x000348ˣᴸ.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/typexl/V0x000348ˣᴸ.java @@ -4,7 +4,7 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; import love.distributedrebirth.numberxd.base2t.BaseAppenderOctal; import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal; import love.distributedrebirth.numberxd.base2t.BaseNumberˣᴸ; -import love.distributedrebirth.numberxd.base2t.part.T20PartScore; +import love.distributedrebirth.numberxd.base2t.part.T020PartScore; import love.distributedrebirth.numberxd.base2t.type.V042Traw; /** @@ -13,8 +13,8 @@ import love.distributedrebirth.numberxd.base2t.type.V042Traw; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") public class V0x000348ˣᴸ implements BaseNumberˣᴸ { - public static int BIT_COUNT = V042Traw.BIT_COUNT * T20PartScore.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ(); - private V042Traw[] values = new V042Traw[T20PartScore.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()]; + public static int BIT_COUNT = V042Traw.BIT_COUNT * T020PartScore.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ(); + private V042Traw[] values = new V042Traw[T020PartScore.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()]; public V0x000348ˣᴸ() { for (int i=0;i { } } - public V042Traw getValue(T20PartScore part) { + public V042Traw getValue(T020PartScore part) { return values[part.ordinal()]; } - public void setValue(T20PartScore part, V042Traw value) { + public void setValue(T020PartScore part, V042Traw value) { values[part.ordinal()] = value; } @@ -48,6 +48,6 @@ public class V0x000348ˣᴸ implements BaseNumberˣᴸ { @Override public void fillOctalsByClone(BaseAppenderOctal appender) { - T20PartScore.STATIC.teŀráàmVoorElk(v -> getValue(v).fillOctalsByClone(appender)); + T020PartScore.STATIC.teŀráàmVoorElk(v -> getValue(v).fillOctalsByClone(appender)); } } diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/typexl/V0x000654ˣᴸ.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/typexl/V0x000654ˣᴸ.java index f7db7bfa..746d23d4 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/typexl/V0x000654ˣᴸ.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/typexl/V0x000654ˣᴸ.java @@ -6,7 +6,7 @@ import love.distributedrebirth.numberxd.base2t.BaseAppenderTyte; import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal; import love.distributedrebirth.numberxd.base2t.BaseIteratorTyte; import love.distributedrebirth.numberxd.base2t.BaseNumberTyteˣᴸ; -import love.distributedrebirth.numberxd.base2t.part.T60PartSexagesimal; +import love.distributedrebirth.numberxd.base2t.part.T060PartSexagesimal; import love.distributedrebirth.numberxd.base2t.type.V027Temvig; /** @@ -15,8 +15,8 @@ import love.distributedrebirth.numberxd.base2t.type.V027Temvig; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") public class V0x000654ˣᴸ implements BaseNumberTyteˣᴸ { - public static int BIT_COUNT = V027Temvig.BIT_COUNT * T60PartSexagesimal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ(); - private V027Temvig[] values = new V027Temvig[T60PartSexagesimal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()]; + public static int BIT_COUNT = V027Temvig.BIT_COUNT * T060PartSexagesimal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ(); + private V027Temvig[] values = new V027Temvig[T060PartSexagesimal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()]; public V0x000654ˣᴸ() { for (int i=0;i { } } - public V027Temvig getValue(T60PartSexagesimal part) { + public V027Temvig getValue(T060PartSexagesimal part) { return values[part.ordinal()]; } - public void setValue(T60PartSexagesimal part, V027Temvig value) { + public void setValue(T060PartSexagesimal part, V027Temvig value) { values[part.ordinal()] = value; } @@ -56,7 +56,7 @@ public class V0x000654ˣᴸ implements BaseNumberTyteˣᴸ { @Override public void fillOctalsByClone(BaseAppenderOctal appender) { - T60PartSexagesimal.STATIC.teŀráàmVoorElk(v -> getValue(v).fillOctalsByClone(appender)); + T060PartSexagesimal.STATIC.teŀráàmVoorElk(v -> getValue(v).fillOctalsByClone(appender)); } @Override @@ -66,6 +66,6 @@ public class V0x000654ˣᴸ implements BaseNumberTyteˣᴸ { @Override public void fillTytesByReference(BaseAppenderTyte appender) { - T60PartSexagesimal.STATIC.teŀráàmVoorElk(v -> getValue(v).fillTytesByReference(appender)); + T060PartSexagesimal.STATIC.teŀráàmVoorElk(v -> getValue(v).fillTytesByReference(appender)); } } diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/typexl/V0x000CA8ˣᴸ.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/typexl/V0x000CA8ˣᴸ.java index a26a6f57..42cdbf2d 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/typexl/V0x000CA8ˣᴸ.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/typexl/V0x000CA8ˣᴸ.java @@ -6,7 +6,7 @@ import love.distributedrebirth.numberxd.base2t.BaseAppenderTyte; import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal; import love.distributedrebirth.numberxd.base2t.BaseIteratorTyte; import love.distributedrebirth.numberxd.base2t.BaseNumberTyteˣᴸ; -import love.distributedrebirth.numberxd.base2t.part.T02PartBinary; +import love.distributedrebirth.numberxd.base2t.part.T002PartBinary; /** * Holds an 3240 bit value. @@ -14,8 +14,8 @@ import love.distributedrebirth.numberxd.base2t.part.T02PartBinary; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") public class V0x000CA8ˣᴸ implements BaseNumberTyteˣᴸ { - public static int BIT_COUNT = V0x000654ˣᴸ.BIT_COUNT * T02PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ(); - private V0x000654ˣᴸ[] values = new V0x000654ˣᴸ[T02PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()]; + public static int BIT_COUNT = V0x000654ˣᴸ.BIT_COUNT * T002PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ(); + private V0x000654ˣᴸ[] values = new V0x000654ˣᴸ[T002PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()]; public V0x000CA8ˣᴸ() { this(new V0x000654ˣᴸ(), new V0x000654ˣᴸ()); @@ -30,15 +30,15 @@ public class V0x000CA8ˣᴸ implements BaseNumberTyteˣᴸ { } private V0x000CA8ˣᴸ(V0x000654ˣᴸ valueHigh, V0x000654ˣᴸ valueLow) { - setValue(T02PartBinary.PART_1, valueHigh); - setValue(T02PartBinary.PART_2, valueLow); + setValue(T002PartBinary.PART_1, valueHigh); + setValue(T002PartBinary.PART_2, valueLow); } - public V0x000654ˣᴸ getValue(T02PartBinary part) { + public V0x000654ˣᴸ getValue(T002PartBinary part) { return values[part.ordinal()]; } - public void setValue(T02PartBinary part, V0x000654ˣᴸ value) { + public void setValue(T002PartBinary part, V0x000654ˣᴸ value) { values[part.ordinal()] = value; } @@ -54,7 +54,7 @@ public class V0x000CA8ˣᴸ implements BaseNumberTyteˣᴸ { @Override public void fillOctalsByClone(BaseAppenderOctal appender) { - T02PartBinary.STATIC.teŀráàmVoorElk(v -> getValue(v).fillOctalsByClone(appender)); + T002PartBinary.STATIC.teŀráàmVoorElk(v -> getValue(v).fillOctalsByClone(appender)); } @Override @@ -64,6 +64,6 @@ public class V0x000CA8ˣᴸ implements BaseNumberTyteˣᴸ { @Override public void fillTytesByReference(BaseAppenderTyte appender) { - T02PartBinary.STATIC.teŀráàmVoorElk(v -> getValue(v).fillTytesByReference(appender)); + T002PartBinary.STATIC.teŀráàmVoorElk(v -> getValue(v).fillTytesByReference(appender)); } } diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/typexl/V0x0013B0ˣᴸ.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/typexl/V0x0013B0ˣᴸ.java index c7bb5a43..00446004 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/typexl/V0x0013B0ˣᴸ.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/base2t/typexl/V0x0013B0ˣᴸ.java @@ -4,7 +4,7 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; import love.distributedrebirth.numberxd.base2t.BaseAppenderOctal; import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal; import love.distributedrebirth.numberxd.base2t.BaseNumberˣᴸ; -import love.distributedrebirth.numberxd.base2t.part.T06PartSeximal; +import love.distributedrebirth.numberxd.base2t.part.T006PartSeximal; /** * Holds an 5040 bit value. @@ -12,8 +12,8 @@ import love.distributedrebirth.numberxd.base2t.part.T06PartSeximal; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") public class V0x0013B0ˣᴸ implements BaseNumberˣᴸ { - public static int BIT_COUNT = V0x000348ˣᴸ.BIT_COUNT * T06PartSeximal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ(); - private V0x000348ˣᴸ[] values = new V0x000348ˣᴸ[T06PartSeximal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()]; + public static int BIT_COUNT = V0x000348ˣᴸ.BIT_COUNT * T006PartSeximal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ(); + private V0x000348ˣᴸ[] values = new V0x000348ˣᴸ[T006PartSeximal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()]; public V0x0013B0ˣᴸ() { for (int i=0;i { } } - public V0x000348ˣᴸ getValue(T06PartSeximal part) { + public V0x000348ˣᴸ getValue(T006PartSeximal part) { return values[part.ordinal()]; } - public void setValue(T06PartSeximal part, V0x000348ˣᴸ value) { + public void setValue(T006PartSeximal part, V0x000348ˣᴸ value) { values[part.ordinal()] = value; } @@ -47,6 +47,6 @@ public class V0x0013B0ˣᴸ implements BaseNumberˣᴸ { @Override public void fillOctalsByClone(BaseAppenderOctal appender) { - T06PartSeximal.STATIC.teŀráàmVoorElk(v -> getValue(v).fillOctalsByClone(appender)); + T006PartSeximal.STATIC.teŀráàmVoorElk(v -> getValue(v).fillOctalsByClone(appender)); } } 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 7feb89a1..c3da36c6 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 @@ -14,8 +14,8 @@ import love.distributedrebirth.bassboon.yd.abacus.zombie.BãßBȍőnAbacusZombie import love.distributedrebirth.bassboon.yd.abacus.zombie.BãßBȍőnAbacusZombieʸᴰ; import love.distributedrebirth.bassboon.yd.abacus.zombie.BãßBȍőnAbacusZombie響ᴼᶠ; import love.distributedrebirth.bassboon.yd.jmx.CounterGuageᴶᴹˣ; -import love.distributedrebirth.numberxd.base2t.part.T10PartDecimal; -import love.distributedrebirth.numberxd.base2t.part.T16PartHex; +import love.distributedrebirth.numberxd.base2t.part.T010PartDecimal; +import love.distributedrebirth.numberxd.base2t.part.T016PartHex; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnDuytsFlüstern注(purpose = "The number base glyph scripts.") @@ -24,17 +24,17 @@ public enum BaseGlyphSet implements BãßBȍőnAbacusSetMBeanʸᴰ // TODO: Move this into unicode4D and TyyPartXxx LATIN_BASIC( - new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.teŀráàmVoorElk(x -> v.add(Integer.toString(x.rȧñkTelNul())))), - new BaseGlyphSetNumber(v -> T16PartHex.STATIC.teŀráàmVoorElk(x -> v.add(x.rȧñkAlt1Waarde()))), + new BaseGlyphSetNumber(v -> T010PartDecimal.STATIC.teŀráàmVoorElk(x -> v.add(Integer.toString(x.rȧñkTelNul())))), + new BaseGlyphSetNumber(v -> T016PartHex.STATIC.teŀráàmVoorElk(x -> v.add(x.rȧñkAlt1Waarde()))), new BaseGlyphSetNumber("1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R")), LATIN_DTMF( - new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.teŀráàmVoorElk(x -> v.add(x.rȧñkChinaWaarde()))).withSeperator(Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.STR_SPACE), + new BaseGlyphSetNumber(v -> T010PartDecimal.STATIC.teŀráàmVoorElk(x -> v.add(x.rȧñkChinaWaarde()))).withSeperator(Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.STR_SPACE), new BaseGlyphSetNumber("1","2","3","A","4","5","6","B","7","8","9","C","*","0","#","D"), - new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.teŀráàmVoorElk(x -> { - if (T10PartDecimal.PART_10 == x) { + new BaseGlyphSetNumber(v -> T010PartDecimal.STATIC.teŀráàmVoorElk(x -> { + if (T010PartDecimal.PART_10 == x) { v.add("ten"); } else { - v.add(T10PartDecimal.STATIC.teŀráàmWaardes().getᴿᵈ(x.rȧñkTelEen()).rȧñkChinaWaarde()); // 1 to 9 + v.add(T010PartDecimal.STATIC.teŀráàmWaardes().getᴿᵈ(x.rȧñkTelEen()).rȧñkChinaWaarde()); // 1 to 9 } }), "twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety", "one hundred", "two hundred", "three hundred", "four hundred", "five hundred", "six hundred", "seven hundred", "eight hundred", "nine hundred")), @@ -56,23 +56,23 @@ public enum BaseGlyphSet implements BãßBȍőnAbacusSetMBeanʸᴰ null), TONE_SCRIPT( - new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.teŀráàmVoorElk(x -> v.add(x.rȧñkRingToon()))), - new BaseGlyphSetNumber(v -> T16PartHex.STATIC.teŀráàmVoorElk(x -> v.add(x.rȧñkRingToon()))), + new BaseGlyphSetNumber(v -> T010PartDecimal.STATIC.teŀráàmVoorElk(x -> v.add(x.rȧñkRingToon()))), + new BaseGlyphSetNumber(v -> T016PartHex.STATIC.teŀráàmVoorElk(x -> v.add(x.rȧñkRingToon()))), new BaseGlyphSetNumber("꜊꜈","꜊꜉","꜊꜋","꜊꜌","꜊꜍","꜊꜎","꜊꜏","꜊꜐","꜊꜑","˧˥","˧˦","˧˨","˧˩","˧꜒","˧꜓","˧꜔","˧꜕","˧꜖","꜏˥","꜏˦","꜏˧","꜏˨","꜏˩","꜏꜍","꜏꜎","꜏꜐","꜏꜑")), DIPAVALI_LRPATH_TOPHEX( - new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.teŀráàmVoorElk(x -> v.add(x.rȧñkAlt1Waarde()))), + new BaseGlyphSetNumber(v -> T010PartDecimal.STATIC.teŀráàmVoorElk(x -> v.add(x.rȧñkAlt1Waarde()))), new BaseGlyphSetNumber("˧˥˩","˧˩˥","˧˥˦","˧˩˨","˧˦˦","˧˨˨","˧˥˥","˧˩˩","˥˩˧","˩˥˧","˥˦˧","˩˨˧","˦˦˧","˨˨˧","˥˥˧","˩˩˧").withAltGlyphSet(BaseGlyphSet.LATIN_TOP), null), DIPAVALI_LRPATH_SUBHEX( - new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.teŀráàmVoorElk(x -> v.add(x.rȧñkAlt1Waarde()))), + new BaseGlyphSetNumber(v -> T010PartDecimal.STATIC.teŀráàmVoorElk(x -> v.add(x.rȧñkAlt1Waarde()))), new BaseGlyphSetNumber("˧˥˩","˧˩˥","˧˥˦","˧˩˨","˧˦˦","˧˨˨","˧˥˥","˧˩˩","˥˩˧","˩˥˧","˥˦˧","˩˨˧","˦˦˧","˨˨˧","˥˥˧","˩˩˧").withAltGlyphSet(BaseGlyphSet.LATIN_SUB), null), DIPAVALI_RLPATH_TOPHEX( - new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.teŀráàmVoorElk(x -> v.add(x.rȧñkAlt2Waarde()))), + new BaseGlyphSetNumber(v -> T010PartDecimal.STATIC.teŀráàmVoorElk(x -> v.add(x.rȧñkAlt2Waarde()))), new BaseGlyphSetNumber("꜔꜒꜖","꜔꜖꜒","꜔꜒꜓","꜔꜖꜕","꜔꜓꜓","꜔꜕꜕","꜔꜒꜒","꜔꜖꜖","꜒꜖꜔","꜖꜒꜔","꜒꜓꜔","꜖꜕꜔","꜓꜓꜔","꜕꜕꜔","꜒꜒꜔","꜖꜖꜔").withAltGlyphSet(BaseGlyphSet.LATIN_TOP), null), DIPAVALI_RLPATH_SUBHEX( - new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.teŀráàmVoorElk(x -> v.add(x.rȧñkAlt2Waarde()))), + new BaseGlyphSetNumber(v -> T010PartDecimal.STATIC.teŀráàmVoorElk(x -> v.add(x.rȧñkAlt2Waarde()))), new BaseGlyphSetNumber("꜔꜒꜖","꜔꜖꜒","꜔꜒꜓","꜔꜖꜕","꜔꜓꜓","꜔꜕꜕","꜔꜒꜒","꜔꜖꜖","꜒꜖꜔","꜖꜒꜔","꜒꜓꜔","꜖꜕꜔","꜓꜓꜔","꜕꜕꜔","꜒꜒꜔","꜖꜖꜔").withAltGlyphSet(BaseGlyphSet.LATIN_SUB), null), @@ -125,7 +125,7 @@ public enum BaseGlyphSet implements BãßBȍőnAbacusSetMBeanʸᴰ null, null), CHINA_FORMAL( - new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.teŀráàmVoorElk(x -> v.add(x.rȧñkChinaSleutel()))), + new BaseGlyphSetNumber(v -> T010PartDecimal.STATIC.teŀráàmVoorElk(x -> v.add(x.rȧñkChinaSleutel()))), null, null), CHINA_FORMAL_OLD( @@ -267,7 +267,7 @@ public enum BaseGlyphSet implements BãßBȍőnAbacusSetMBeanʸᴰ } public String BȍőnPrintNumber16(BigInteger number) { - String amount16 = number.toString(T16PartHex.STATIC.teŀráàmGroote()); + String amount16 = number.toString(T016PartHex.STATIC.teŀráàmGroote()); StringBuilder buf16 = new StringBuilder(); int c2 = 0; for (char c:amount16.toCharArray()) { diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/x4o/NumberXDModuleLoader.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/x4o/NumberXDModuleLoader.java index 09943f35..3677a52f 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/x4o/NumberXDModuleLoader.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/x4o/NumberXDModuleLoader.java @@ -17,8 +17,8 @@ import org.x4o.xml.lang.X4OLanguageModuleLocal; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartʸᴰ; -import love.distributedrebirth.numberxd.base2t.part.T02PartBinary; -import love.distributedrebirth.numberxd.base2t.part.T03PartTrit; +import love.distributedrebirth.numberxd.base2t.part.T002PartBinary; +import love.distributedrebirth.numberxd.base2t.part.T003PartTrit; import love.distributedrebirth.numberxd.base2t.type.V006Tixte; import love.distributedrebirth.numberxd.base2t.type.V009Tyte; import love.distributedrebirth.numberxd.base2t.type.V018Tord; diff --git a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/x4o/V072TongBindingHandler.java b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/x4o/V072TongBindingHandler.java index e376d62e..a054e308 100644 --- a/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/x4o/V072TongBindingHandler.java +++ b/gdxapp4d-lib-numberxd/src/main/java/love/distributedrebirth/numberxd/x4o/V072TongBindingHandler.java @@ -5,7 +5,7 @@ import org.x4o.xml.element.Element; import org.x4o.xml.element.ElementBindingHandlerException; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; -import love.distributedrebirth.numberxd.base2t.part.T02PartBinary; +import love.distributedrebirth.numberxd.base2t.part.T002PartBinary; import love.distributedrebirth.numberxd.base2t.type.V072Tong; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @@ -25,11 +25,11 @@ public class V072TongBindingHandler extends AbstractElementBindingHandler tongs = new ArrayList<>(); tongs.add(tong); @@ -36,7 +36,7 @@ public class Base2TerminatorTest { V072Tong tong2 = result.get(0); Assertions.assertNotNull(tong2); - Assertions.assertEquals(32768, tong2.getValue(T02PartBinary.PART_1).getValueNumber()); - Assertions.assertEquals(689024, tong2.getValue(T02PartBinary.PART_2).getValueNumber()); + Assertions.assertEquals(32768, tong2.getValue(T002PartBinary.PART_1).getValueNumber()); + Assertions.assertEquals(689024, tong2.getValue(T002PartBinary.PART_2).getValueNumber()); } } diff --git a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T02PartBinaryTest.java b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T002PartBinaryTest.java similarity index 53% rename from gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T02PartBinaryTest.java rename to gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T002PartBinaryTest.java index cd224775..4a5987f3 100644 --- a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T02PartBinaryTest.java +++ b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T002PartBinaryTest.java @@ -6,11 +6,11 @@ import org.junit.jupiter.api.Test; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") -public class T02PartBinaryTest { +public class T002PartBinaryTest { @Test public void testBasePart() { - for (T02PartBinary value:T02PartBinary.values()) { + for (T002PartBinary value:T002PartBinary.values()) { Assertions.assertNotNull(value.rȧñkRingToon()); Assertions.assertNotNull(value.rȧñkChinaSleutel()); Assertions.assertNotNull(value.rȧñkChinaWaarde()); @@ -19,13 +19,13 @@ public class T02PartBinaryTest { @Test public void testToneMap() { - Assertions.assertEquals(T02PartBinary.PART_1, T02PartBinary.PART_1.teŀráàmWaardeVanRingToon("˧")); - Assertions.assertEquals(T02PartBinary.PART_2, T02PartBinary.PART_1.teŀráàmWaardeVanRingToon("꜔")); + Assertions.assertEquals(T002PartBinary.PART_1, T002PartBinary.PART_1.teŀráàmWaardeVanRingToon("˧")); + Assertions.assertEquals(T002PartBinary.PART_2, T002PartBinary.PART_1.teŀráàmWaardeVanRingToon("꜔")); } @Test public void testChinaMap() { - Assertions.assertEquals(T02PartBinary.PART_1, T02PartBinary.PART_1.ráàmWaardeVanChinaSleutel("低")); - Assertions.assertEquals(T02PartBinary.PART_2, T02PartBinary.PART_1.ráàmWaardeVanChinaSleutel("高")); + Assertions.assertEquals(T002PartBinary.PART_1, T002PartBinary.PART_1.ráàmWaardeVanChinaSleutel("低")); + Assertions.assertEquals(T002PartBinary.PART_2, T002PartBinary.PART_1.ráàmWaardeVanChinaSleutel("高")); } } diff --git a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T003PartTritTest.java b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T003PartTritTest.java new file mode 100644 index 00000000..9be5aac4 --- /dev/null +++ b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T003PartTritTest.java @@ -0,0 +1,33 @@ +package love.distributedrebirth.numberxd.base2t.part; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; + +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +public class T003PartTritTest { + + @Test + public void testBasePart() { + for (T003PartTrit value:T003PartTrit.values()) { + Assertions.assertNotNull(value.rȧñkRingToon()); + Assertions.assertNotNull(value.rȧñkChinaSleutel()); + Assertions.assertNotNull(value.rȧñkChinaWaarde()); + } + } + + @Test + public void testToneMap() { + Assertions.assertEquals(T003PartTrit.PART_1, T003PartTrit.PART_1.teŀráàmWaardeVanRingToon("˦")); + Assertions.assertEquals(T003PartTrit.PART_2, T003PartTrit.PART_1.teŀráàmWaardeVanRingToon("˧")); + Assertions.assertEquals(T003PartTrit.PART_3, T003PartTrit.PART_1.teŀráàmWaardeVanRingToon("˨")); + } + + @Test + public void testChinaMap() { + Assertions.assertEquals(T003PartTrit.PART_1, T003PartTrit.PART_1.ráàmWaardeVanChinaSleutel("一")); + Assertions.assertEquals(T003PartTrit.PART_2, T003PartTrit.PART_1.ráàmWaardeVanChinaSleutel("二")); + Assertions.assertEquals(T003PartTrit.PART_3, T003PartTrit.PART_1.ráàmWaardeVanChinaSleutel("三")); + } +} diff --git a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T004PartQuadTest.java b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T004PartQuadTest.java new file mode 100644 index 00000000..e1a67348 --- /dev/null +++ b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T004PartQuadTest.java @@ -0,0 +1,54 @@ +package love.distributedrebirth.numberxd.base2t.part; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; + +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +public class T004PartQuadTest { + + @Test + public void testBasePart() { + for (T004PartQuad value:T004PartQuad.values()) { + Assertions.assertNotNull(value.rȧñkRingToon()); + Assertions.assertNotNull(value.rȧñkChinaSleutel()); + Assertions.assertNotNull(value.rȧñkChinaWaarde()); + Assertions.assertNotNull(value.rȧñkAlt1Waarde()); + Assertions.assertNotNull(value.ráàmAlt1Naam()); + Assertions.assertNotNull(value.ráàmAlt1Website()); + } + } + + @Test + public void testVolgende() { + Assertions.assertEquals(T004PartQuad.PART_1, T004PartQuad.PART_4.rȧñkNaarVolgende()); + Assertions.assertEquals(T004PartQuad.PART_2, T004PartQuad.PART_1.rȧñkNaarVolgende()); + Assertions.assertEquals(T004PartQuad.PART_3, T004PartQuad.PART_2.rȧñkNaarVolgende()); + Assertions.assertEquals(T004PartQuad.PART_4, T004PartQuad.PART_3.rȧñkNaarVolgende()); + } + + @Test + public void testVorige() { + Assertions.assertEquals(T004PartQuad.PART_1, T004PartQuad.PART_2.rȧñkNaarVorige()); + Assertions.assertEquals(T004PartQuad.PART_2, T004PartQuad.PART_3.rȧñkNaarVorige()); + Assertions.assertEquals(T004PartQuad.PART_3, T004PartQuad.PART_4.rȧñkNaarVorige()); + Assertions.assertEquals(T004PartQuad.PART_4, T004PartQuad.PART_1.rȧñkNaarVorige()); + } + + @Test + public void testToneMap() { + Assertions.assertEquals(T004PartQuad.PART_1, T004PartQuad.PART_1.teŀráàmWaardeVanRingToon("˥")); + Assertions.assertEquals(T004PartQuad.PART_2, T004PartQuad.PART_1.teŀráàmWaardeVanRingToon("꜒")); + Assertions.assertEquals(T004PartQuad.PART_3, T004PartQuad.PART_1.teŀráàmWaardeVanRingToon("꜖")); + Assertions.assertEquals(T004PartQuad.PART_4, T004PartQuad.PART_1.teŀráàmWaardeVanRingToon("˩")); + } + + @Test + public void testChinaMap() { + Assertions.assertEquals(T004PartQuad.PART_1, T004PartQuad.PART_1.ráàmWaardeVanChinaSleutel("仙")); + Assertions.assertEquals(T004PartQuad.PART_2, T004PartQuad.PART_1.ráàmWaardeVanChinaSleutel("上")); + Assertions.assertEquals(T004PartQuad.PART_3, T004PartQuad.PART_1.ráàmWaardeVanChinaSleutel("主")); + Assertions.assertEquals(T004PartQuad.PART_4, T004PartQuad.PART_1.ráàmWaardeVanChinaSleutel("天")); + } +} diff --git a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T005PartPentalTest.java b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T005PartPentalTest.java new file mode 100644 index 00000000..4f13fa08 --- /dev/null +++ b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T005PartPentalTest.java @@ -0,0 +1,37 @@ +package love.distributedrebirth.numberxd.base2t.part; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; + +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +public class T005PartPentalTest { + + @Test + public void testBasePart() { + for (T005PartPental value:T005PartPental.values()) { + Assertions.assertNotNull(value.rȧñkRingToon()); + Assertions.assertNotNull(value.rȧñkChinaSleutel()); + Assertions.assertNotNull(value.rȧñkChinaWaarde()); + } + } + + @Test + public void testToneMap() { + Assertions.assertEquals(T005PartPental.PART_1, T005PartPental.PART_1.teŀráàmWaardeVanRingToon("˥")); + Assertions.assertEquals(T005PartPental.PART_2, T005PartPental.PART_1.teŀráàmWaardeVanRingToon("˦")); + Assertions.assertEquals(T005PartPental.PART_3, T005PartPental.PART_1.teŀráàmWaardeVanRingToon("˧")); + Assertions.assertEquals(T005PartPental.PART_4, T005PartPental.PART_1.teŀráàmWaardeVanRingToon("˨")); + Assertions.assertEquals(T005PartPental.PART_5, T005PartPental.PART_1.teŀráàmWaardeVanRingToon("˩")); + } + + @Test + public void testChinaMap() { + Assertions.assertEquals(T005PartPental.PART_1, T005PartPental.PART_1.ráàmWaardeVanChinaSleutel("火")); + Assertions.assertEquals(T005PartPental.PART_2, T005PartPental.PART_1.ráàmWaardeVanChinaSleutel("水")); + Assertions.assertEquals(T005PartPental.PART_3, T005PartPental.PART_1.ráàmWaardeVanChinaSleutel("木")); + Assertions.assertEquals(T005PartPental.PART_4, T005PartPental.PART_1.ráàmWaardeVanChinaSleutel("金")); + Assertions.assertEquals(T005PartPental.PART_5, T005PartPental.PART_1.ráàmWaardeVanChinaSleutel("土")); + } +} diff --git a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T006PartSeximalTest.java b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T006PartSeximalTest.java new file mode 100644 index 00000000..4623a7da --- /dev/null +++ b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T006PartSeximalTest.java @@ -0,0 +1,38 @@ +package love.distributedrebirth.numberxd.base2t.part; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; + +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +public class T006PartSeximalTest { + + @Test + public void testBasePart() { + for (T006PartSeximal value:T006PartSeximal.values()) { + Assertions.assertNotNull(value.rȧñkRingToon()); + Assertions.assertNotNull(value.rȧñkChinaSleutel()); + Assertions.assertNotNull(value.rȧñkChinaWaarde()); + Assertions.assertNotNull(value.rȧñkAlt1Waarde()); + Assertions.assertNotNull(value.ráàmAlt1Naam()); + Assertions.assertNotNull(value.ráàmAlt1Website()); + } + } + + @Test + public void testToneMap() { + Assertions.assertEquals(T006PartSeximal.PART_1, T006PartSeximal.PART_1.teŀráàmWaardeVanRingToon("˦")); + Assertions.assertEquals(T006PartSeximal.PART_2, T006PartSeximal.PART_1.teŀráàmWaardeVanRingToon("˨")); + Assertions.assertEquals(T006PartSeximal.PART_5, T006PartSeximal.PART_1.teŀráàmWaardeVanRingToon("꜊")); + Assertions.assertEquals(T006PartSeximal.PART_6, T006PartSeximal.PART_1.teŀráàmWaardeVanRingToon("꜏")); + } + + @Test + public void testChinaMap() { + Assertions.assertEquals(T006PartSeximal.PART_1, T006PartSeximal.PART_1.ráàmWaardeVanChinaSleutel("四")); + Assertions.assertEquals(T006PartSeximal.PART_2, T006PartSeximal.PART_1.ráàmWaardeVanChinaSleutel("五")); + Assertions.assertEquals(T006PartSeximal.PART_5, T006PartSeximal.PART_1.ráàmWaardeVanChinaSleutel("八")); + Assertions.assertEquals(T006PartSeximal.PART_6, T006PartSeximal.PART_1.ráàmWaardeVanChinaSleutel("九")); + } +} diff --git a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T007PartSeptetTest.java b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T007PartSeptetTest.java new file mode 100644 index 00000000..2d1b6671 --- /dev/null +++ b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T007PartSeptetTest.java @@ -0,0 +1,38 @@ +package love.distributedrebirth.numberxd.base2t.part; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; + +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +public class T007PartSeptetTest { + + @Test + public void testBasePart() { + for (T007PartSeptet value:T007PartSeptet.values()) { + Assertions.assertNotNull(value.rȧñkRingToon()); + Assertions.assertNotNull(value.rȧñkChinaSleutel()); + Assertions.assertNotNull(value.rȧñkChinaWaarde()); + Assertions.assertNotNull(value.rȧñkAlt1Waarde()); + Assertions.assertNotNull(value.ráàmAlt1Naam()); + Assertions.assertNotNull(value.ráàmAlt1Website()); + } + } + + @Test + public void testToneMap() { + Assertions.assertEquals(T007PartSeptet.PART_1, T007PartSeptet.PART_1.teŀráàmWaardeVanRingToon("˥")); + Assertions.assertEquals(T007PartSeptet.PART_2, T007PartSeptet.PART_1.teŀráàmWaardeVanRingToon("꜉")); + Assertions.assertEquals(T007PartSeptet.PART_6, T007PartSeptet.PART_1.teŀráàmWaardeVanRingToon("꜐")); + Assertions.assertEquals(T007PartSeptet.PART_7, T007PartSeptet.PART_1.teŀráàmWaardeVanRingToon("˩")); + } + + @Test + public void testChinaMap() { + Assertions.assertEquals(T007PartSeptet.PART_1, T007PartSeptet.PART_1.ráàmWaardeVanChinaSleutel("सा")); + Assertions.assertEquals(T007PartSeptet.PART_2, T007PartSeptet.PART_1.ráàmWaardeVanChinaSleutel("रे")); + Assertions.assertEquals(T007PartSeptet.PART_6, T007PartSeptet.PART_1.ráàmWaardeVanChinaSleutel("ध")); + Assertions.assertEquals(T007PartSeptet.PART_7, T007PartSeptet.PART_1.ráàmWaardeVanChinaSleutel("नि")); + } +} diff --git a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T008PartOctalTest.java b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T008PartOctalTest.java new file mode 100644 index 00000000..6c577f50 --- /dev/null +++ b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T008PartOctalTest.java @@ -0,0 +1,35 @@ +package love.distributedrebirth.numberxd.base2t.part; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; + +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +public class T008PartOctalTest { + + @Test + public void testBasePart() { + for (T008PartOctal value:T008PartOctal.values()) { + Assertions.assertNotNull(value.rȧñkRingToon()); + Assertions.assertNotNull(value.rȧñkChinaSleutel()); + Assertions.assertNotNull(value.rȧñkChinaWaarde()); + } + } + + @Test + public void testToneMap() { + Assertions.assertEquals(T008PartOctal.PART_1, T008PartOctal.PART_1.teŀráàmWaardeVanRingToon("˥")); + Assertions.assertEquals(T008PartOctal.PART_2, T008PartOctal.PART_1.teŀráàmWaardeVanRingToon("˩")); + Assertions.assertEquals(T008PartOctal.PART_7, T008PartOctal.PART_1.teŀráàmWaardeVanRingToon("꜍")); + Assertions.assertEquals(T008PartOctal.PART_8, T008PartOctal.PART_1.teŀráàmWaardeVanRingToon("꜑")); + } + + @Test + public void testChinaMap() { + Assertions.assertEquals(T008PartOctal.PART_1, T008PartOctal.PART_1.ráàmWaardeVanChinaSleutel("乾")); + Assertions.assertEquals(T008PartOctal.PART_2, T008PartOctal.PART_1.ráàmWaardeVanChinaSleutel("兌")); + Assertions.assertEquals(T008PartOctal.PART_7, T008PartOctal.PART_1.ráàmWaardeVanChinaSleutel("艮")); + Assertions.assertEquals(T008PartOctal.PART_8, T008PartOctal.PART_1.ráàmWaardeVanChinaSleutel("坤")); + } +} diff --git a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T009PartNonaryTest.java b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T009PartNonaryTest.java new file mode 100644 index 00000000..857e492b --- /dev/null +++ b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T009PartNonaryTest.java @@ -0,0 +1,35 @@ +package love.distributedrebirth.numberxd.base2t.part; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; + +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +public class T009PartNonaryTest { + + @Test + public void testBasePart() { + for (T009PartNonary value:T009PartNonary.values()) { + Assertions.assertNotNull(value.rȧñkRingToon()); + Assertions.assertNotNull(value.rȧñkChinaSleutel()); + Assertions.assertNotNull(value.rȧñkChinaWaarde()); + } + } + + @Test + public void testToneMap() { + Assertions.assertEquals(T009PartNonary.PART_1, T009PartNonary.PART_1.teŀráàmWaardeVanRingToon("˦")); + Assertions.assertEquals(T009PartNonary.PART_2, T009PartNonary.PART_1.teŀráàmWaardeVanRingToon("˨")); + Assertions.assertEquals(T009PartNonary.PART_8, T009PartNonary.PART_1.teŀráàmWaardeVanRingToon("꜏")); + Assertions.assertEquals(T009PartNonary.PART_9, T009PartNonary.PART_1.teŀráàmWaardeVanRingToon("꜑")); + } + + @Test + public void testChinaMap() { + Assertions.assertEquals(T009PartNonary.PART_1, T009PartNonary.PART_1.ráàmWaardeVanChinaSleutel("藍")); + Assertions.assertEquals(T009PartNonary.PART_2, T009PartNonary.PART_1.ráàmWaardeVanChinaSleutel("皓")); + Assertions.assertEquals(T009PartNonary.PART_8, T009PartNonary.PART_1.ráàmWaardeVanChinaSleutel("黑")); + Assertions.assertEquals(T009PartNonary.PART_9, T009PartNonary.PART_1.ráàmWaardeVanChinaSleutel("紺")); + } +} diff --git a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T010PartDecimalTest.java b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T010PartDecimalTest.java new file mode 100644 index 00000000..aac9ce04 --- /dev/null +++ b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T010PartDecimalTest.java @@ -0,0 +1,35 @@ +package love.distributedrebirth.numberxd.base2t.part; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; + +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +public class T010PartDecimalTest { + + @Test + public void testBasePart() { + for (T010PartDecimal value:T010PartDecimal.values()) { + Assertions.assertNotNull(value.rȧñkRingToon()); + Assertions.assertNotNull(value.rȧñkChinaSleutel()); + Assertions.assertNotNull(value.rȧñkChinaWaarde()); + } + } + + @Test + public void testToneMap() { + Assertions.assertEquals(T010PartDecimal.PART_1, T010PartDecimal.PART_1.teŀráàmWaardeVanRingToon("˥")); + Assertions.assertEquals(T010PartDecimal.PART_2, T010PartDecimal.PART_1.teŀráàmWaardeVanRingToon("˦")); + Assertions.assertEquals(T010PartDecimal.PART_9, T010PartDecimal.PART_1.teŀráàmWaardeVanRingToon("꜓")); + Assertions.assertEquals(T010PartDecimal.PART_10, T010PartDecimal.PART_1.teŀráàmWaardeVanRingToon("꜒")); + } + + @Test + public void testChinaMap() { + Assertions.assertEquals(T010PartDecimal.PART_1, T010PartDecimal.PART_1.ráàmWaardeVanChinaSleutel("零")); + Assertions.assertEquals(T010PartDecimal.PART_2, T010PartDecimal.PART_1.ráàmWaardeVanChinaSleutel("壹")); + Assertions.assertEquals(T010PartDecimal.PART_9, T010PartDecimal.PART_1.ráàmWaardeVanChinaSleutel("捌")); + Assertions.assertEquals(T010PartDecimal.PART_10, T010PartDecimal.PART_1.ráàmWaardeVanChinaSleutel("玖")); + } +} diff --git a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T011PartUndecimalTest.java b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T011PartUndecimalTest.java new file mode 100644 index 00000000..d7204ff4 --- /dev/null +++ b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T011PartUndecimalTest.java @@ -0,0 +1,35 @@ +package love.distributedrebirth.numberxd.base2t.part; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; + +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +public class T011PartUndecimalTest { + + @Test + public void testBasePart() { + for (T011PartUndecimal value:T011PartUndecimal.values()) { + Assertions.assertNotNull(value.rȧñkRingToon()); + Assertions.assertNotNull(value.rȧñkChinaSleutel()); + Assertions.assertNotNull(value.rȧñkChinaWaarde()); + } + } + + @Test + public void testToneMap() { + Assertions.assertEquals(T011PartUndecimal.PART_1, T011PartUndecimal.PART_1.teŀráàmWaardeVanRingToon("˥")); + Assertions.assertEquals(T011PartUndecimal.PART_2, T011PartUndecimal.PART_1.teŀráàmWaardeVanRingToon("꜈")); + Assertions.assertEquals(T011PartUndecimal.PART_10, T011PartUndecimal.PART_1.teŀráàmWaardeVanRingToon("꜐")); + Assertions.assertEquals(T011PartUndecimal.PART_11, T011PartUndecimal.PART_1.teŀráàmWaardeVanRingToon("˩")); + } + + @Test + public void testChinaMap() { + Assertions.assertEquals(T011PartUndecimal.PART_1, T011PartUndecimal.PART_1.ráàmWaardeVanChinaSleutel("走")); + Assertions.assertEquals(T011PartUndecimal.PART_2, T011PartUndecimal.PART_1.ráàmWaardeVanChinaSleutel("跑")); + Assertions.assertEquals(T011PartUndecimal.PART_10, T011PartUndecimal.PART_1.ráàmWaardeVanChinaSleutel("春")); + Assertions.assertEquals(T011PartUndecimal.PART_11, T011PartUndecimal.PART_1.ráàmWaardeVanChinaSleutel("耦")); + } +} diff --git a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T012PartUncialTest.java b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T012PartUncialTest.java new file mode 100644 index 00000000..7a9467fd --- /dev/null +++ b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T012PartUncialTest.java @@ -0,0 +1,38 @@ +package love.distributedrebirth.numberxd.base2t.part; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; + +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +public class T012PartUncialTest { + + @Test + public void testBasePart() { + for (T012PartUncial value:T012PartUncial.values()) { + Assertions.assertNotNull(value.rȧñkRingToon()); + Assertions.assertNotNull(value.rȧñkChinaSleutel()); + Assertions.assertNotNull(value.rȧñkChinaWaarde()); + Assertions.assertNotNull(value.rȧñkAlt1Waarde()); + Assertions.assertNotNull(value.ráàmAlt1Naam()); + Assertions.assertNotNull(value.ráàmAlt1Website()); + } + } + + @Test + public void testToneMap() { + Assertions.assertEquals(T012PartUncial.PART_1, T012PartUncial.PART_1.teŀráàmWaardeVanRingToon("˥")); + Assertions.assertEquals(T012PartUncial.PART_2, T012PartUncial.PART_1.teŀráàmWaardeVanRingToon("˧")); + Assertions.assertEquals(T012PartUncial.PART_11, T012PartUncial.PART_1.teŀráàmWaardeVanRingToon("꜏")); + Assertions.assertEquals(T012PartUncial.PART_12, T012PartUncial.PART_1.teŀráàmWaardeVanRingToon("꜑")); + } + + @Test + public void testChinaMap() { + Assertions.assertEquals(T012PartUncial.PART_1, T012PartUncial.PART_1.ráàmWaardeVanChinaSleutel("日")); + Assertions.assertEquals(T012PartUncial.PART_2, T012PartUncial.PART_1.ráàmWaardeVanChinaSleutel("月")); + Assertions.assertEquals(T012PartUncial.PART_11, T012PartUncial.PART_1.ráàmWaardeVanChinaSleutel("黼")); + Assertions.assertEquals(T012PartUncial.PART_12, T012PartUncial.PART_1.ráàmWaardeVanChinaSleutel("亞")); + } +} diff --git a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T016PartHexTest.java b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T016PartHexTest.java new file mode 100644 index 00000000..cb064bb3 --- /dev/null +++ b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T016PartHexTest.java @@ -0,0 +1,35 @@ +package love.distributedrebirth.numberxd.base2t.part; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; + +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +public class T016PartHexTest { + + @Test + public void testBasePart() { + for (T016PartHex value:T016PartHex.values()) { + Assertions.assertNotNull(value.rȧñkRingToon()); + Assertions.assertNotNull(value.rȧñkChinaSleutel()); + Assertions.assertNotNull(value.rȧñkChinaWaarde()); + } + } + + @Test + public void testToneMap() { + Assertions.assertEquals(T016PartHex.PART_1, T016PartHex.PART_1.teŀráàmWaardeVanRingToon("˥")); + Assertions.assertEquals(T016PartHex.PART_2, T016PartHex.PART_1.teŀráàmWaardeVanRingToon("˦")); + Assertions.assertEquals(T016PartHex.PART_15, T016PartHex.PART_1.teŀráàmWaardeVanRingToon("꜐")); + Assertions.assertEquals(T016PartHex.PART_16, T016PartHex.PART_1.teŀráàmWaardeVanRingToon("꜑")); + } + + @Test + public void testChinaMap() { + Assertions.assertEquals(T016PartHex.PART_1, T016PartHex.PART_1.ráàmWaardeVanChinaSleutel("氫")); + Assertions.assertEquals(T016PartHex.PART_2, T016PartHex.PART_1.ráàmWaardeVanChinaSleutel("氦")); + Assertions.assertEquals(T016PartHex.PART_15, T016PartHex.PART_1.ráàmWaardeVanChinaSleutel("磷")); + Assertions.assertEquals(T016PartHex.PART_16, T016PartHex.PART_1.ráàmWaardeVanChinaSleutel("硫")); + } +} diff --git a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T020PartScoreTest.java b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T020PartScoreTest.java new file mode 100644 index 00000000..21c43fd1 --- /dev/null +++ b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T020PartScoreTest.java @@ -0,0 +1,46 @@ +package love.distributedrebirth.numberxd.base2t.part; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; + +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +public class T020PartScoreTest { + + @Test + public void testBasePart() { + for (T020PartScore value:T020PartScore.values()) { + Assertions.assertNotNull(value.rȧñkRingToon()); + Assertions.assertNotNull(value.rȧñkChinaSleutel()); + Assertions.assertNotNull(value.rȧñkChinaWaarde()); + Assertions.assertNotNull(value.rȧñkAlt1Waarde()); + Assertions.assertNotNull(value.ráàmAlt1Naam()); + Assertions.assertNotNull(value.ráàmAlt1Website()); + } + } + + @Test + public void testToneMap() { + Assertions.assertEquals(T020PartScore.PART_1, T020PartScore.PART_1.teŀráàmWaardeVanRingToon("˥")); + Assertions.assertEquals(T020PartScore.PART_2, T020PartScore.PART_1.teŀráàmWaardeVanRingToon("˦")); + Assertions.assertEquals(T020PartScore.PART_19, T020PartScore.PART_1.teŀráàmWaardeVanRingToon("꜐")); + Assertions.assertEquals(T020PartScore.PART_20, T020PartScore.PART_1.teŀráàmWaardeVanRingToon("꜑")); + } + + @Test + public void testChinaMap() { + Assertions.assertEquals(T020PartScore.PART_1, T020PartScore.PART_1.ráàmWaardeVanChinaSleutel("尧")); + Assertions.assertEquals(T020PartScore.PART_2, T020PartScore.PART_1.ráàmWaardeVanChinaSleutel("泽")); + Assertions.assertEquals(T020PartScore.PART_19, T020PartScore.PART_1.ráàmWaardeVanChinaSleutel("仄")); + Assertions.assertEquals(T020PartScore.PART_20, T020PartScore.PART_1.ráàmWaardeVanChinaSleutel("幺")); + } + + @Test + public void testOpenLCMap() { + Assertions.assertEquals(T020PartScore.PART_1, T020PartScore.PART_1.BãßValueOfOpenLC("2")); + Assertions.assertEquals(T020PartScore.PART_2, T020PartScore.PART_1.BãßValueOfOpenLC("3")); + Assertions.assertEquals(T020PartScore.PART_19, T020PartScore.PART_1.BãßValueOfOpenLC("W")); + Assertions.assertEquals(T020PartScore.PART_20, T020PartScore.PART_1.BãßValueOfOpenLC("X")); + } +} diff --git a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T03PartTritTest.java b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T03PartTritTest.java deleted file mode 100644 index 2b0ee04e..00000000 --- a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T03PartTritTest.java +++ /dev/null @@ -1,33 +0,0 @@ -package love.distributedrebirth.numberxd.base2t.part; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; - -import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; - -@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") -public class T03PartTritTest { - - @Test - public void testBasePart() { - for (T03PartTrit value:T03PartTrit.values()) { - Assertions.assertNotNull(value.rȧñkRingToon()); - Assertions.assertNotNull(value.rȧñkChinaSleutel()); - Assertions.assertNotNull(value.rȧñkChinaWaarde()); - } - } - - @Test - public void testToneMap() { - Assertions.assertEquals(T03PartTrit.PART_1, T03PartTrit.PART_1.teŀráàmWaardeVanRingToon("˦")); - Assertions.assertEquals(T03PartTrit.PART_2, T03PartTrit.PART_1.teŀráàmWaardeVanRingToon("˧")); - Assertions.assertEquals(T03PartTrit.PART_3, T03PartTrit.PART_1.teŀráàmWaardeVanRingToon("˨")); - } - - @Test - public void testChinaMap() { - Assertions.assertEquals(T03PartTrit.PART_1, T03PartTrit.PART_1.ráàmWaardeVanChinaSleutel("一")); - Assertions.assertEquals(T03PartTrit.PART_2, T03PartTrit.PART_1.ráàmWaardeVanChinaSleutel("二")); - Assertions.assertEquals(T03PartTrit.PART_3, T03PartTrit.PART_1.ráàmWaardeVanChinaSleutel("三")); - } -} diff --git a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T04PartQuadTest.java b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T04PartQuadTest.java deleted file mode 100644 index 6f49901d..00000000 --- a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T04PartQuadTest.java +++ /dev/null @@ -1,54 +0,0 @@ -package love.distributedrebirth.numberxd.base2t.part; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; - -import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; - -@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") -public class T04PartQuadTest { - - @Test - public void testBasePart() { - for (T04PartQuad value:T04PartQuad.values()) { - Assertions.assertNotNull(value.rȧñkRingToon()); - Assertions.assertNotNull(value.rȧñkChinaSleutel()); - Assertions.assertNotNull(value.rȧñkChinaWaarde()); - Assertions.assertNotNull(value.rȧñkAlt1Waarde()); - Assertions.assertNotNull(value.ráàmAlt1Naam()); - Assertions.assertNotNull(value.ráàmAlt1Website()); - } - } - - @Test - public void testVolgende() { - Assertions.assertEquals(T04PartQuad.PART_1, T04PartQuad.PART_4.rȧñkNaarVolgende()); - Assertions.assertEquals(T04PartQuad.PART_2, T04PartQuad.PART_1.rȧñkNaarVolgende()); - Assertions.assertEquals(T04PartQuad.PART_3, T04PartQuad.PART_2.rȧñkNaarVolgende()); - Assertions.assertEquals(T04PartQuad.PART_4, T04PartQuad.PART_3.rȧñkNaarVolgende()); - } - - @Test - public void testVorige() { - Assertions.assertEquals(T04PartQuad.PART_1, T04PartQuad.PART_2.rȧñkNaarVorige()); - Assertions.assertEquals(T04PartQuad.PART_2, T04PartQuad.PART_3.rȧñkNaarVorige()); - Assertions.assertEquals(T04PartQuad.PART_3, T04PartQuad.PART_4.rȧñkNaarVorige()); - Assertions.assertEquals(T04PartQuad.PART_4, T04PartQuad.PART_1.rȧñkNaarVorige()); - } - - @Test - public void testToneMap() { - Assertions.assertEquals(T04PartQuad.PART_1, T04PartQuad.PART_1.teŀráàmWaardeVanRingToon("˥")); - Assertions.assertEquals(T04PartQuad.PART_2, T04PartQuad.PART_1.teŀráàmWaardeVanRingToon("꜒")); - Assertions.assertEquals(T04PartQuad.PART_3, T04PartQuad.PART_1.teŀráàmWaardeVanRingToon("꜖")); - Assertions.assertEquals(T04PartQuad.PART_4, T04PartQuad.PART_1.teŀráàmWaardeVanRingToon("˩")); - } - - @Test - public void testChinaMap() { - Assertions.assertEquals(T04PartQuad.PART_1, T04PartQuad.PART_1.ráàmWaardeVanChinaSleutel("仙")); - Assertions.assertEquals(T04PartQuad.PART_2, T04PartQuad.PART_1.ráàmWaardeVanChinaSleutel("上")); - Assertions.assertEquals(T04PartQuad.PART_3, T04PartQuad.PART_1.ráàmWaardeVanChinaSleutel("主")); - Assertions.assertEquals(T04PartQuad.PART_4, T04PartQuad.PART_1.ráàmWaardeVanChinaSleutel("天")); - } -} diff --git a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T05PartPentalTest.java b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T05PartPentalTest.java deleted file mode 100644 index d7af5be3..00000000 --- a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T05PartPentalTest.java +++ /dev/null @@ -1,37 +0,0 @@ -package love.distributedrebirth.numberxd.base2t.part; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; - -import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; - -@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") -public class T05PartPentalTest { - - @Test - public void testBasePart() { - for (T05PartPental value:T05PartPental.values()) { - Assertions.assertNotNull(value.rȧñkRingToon()); - Assertions.assertNotNull(value.rȧñkChinaSleutel()); - Assertions.assertNotNull(value.rȧñkChinaWaarde()); - } - } - - @Test - public void testToneMap() { - Assertions.assertEquals(T05PartPental.PART_1, T05PartPental.PART_1.teŀráàmWaardeVanRingToon("˥")); - Assertions.assertEquals(T05PartPental.PART_2, T05PartPental.PART_1.teŀráàmWaardeVanRingToon("˦")); - Assertions.assertEquals(T05PartPental.PART_3, T05PartPental.PART_1.teŀráàmWaardeVanRingToon("˧")); - Assertions.assertEquals(T05PartPental.PART_4, T05PartPental.PART_1.teŀráàmWaardeVanRingToon("˨")); - Assertions.assertEquals(T05PartPental.PART_5, T05PartPental.PART_1.teŀráàmWaardeVanRingToon("˩")); - } - - @Test - public void testChinaMap() { - Assertions.assertEquals(T05PartPental.PART_1, T05PartPental.PART_1.ráàmWaardeVanChinaSleutel("火")); - Assertions.assertEquals(T05PartPental.PART_2, T05PartPental.PART_1.ráàmWaardeVanChinaSleutel("水")); - Assertions.assertEquals(T05PartPental.PART_3, T05PartPental.PART_1.ráàmWaardeVanChinaSleutel("木")); - Assertions.assertEquals(T05PartPental.PART_4, T05PartPental.PART_1.ráàmWaardeVanChinaSleutel("金")); - Assertions.assertEquals(T05PartPental.PART_5, T05PartPental.PART_1.ráàmWaardeVanChinaSleutel("土")); - } -} diff --git a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T060SexagesimalTest.java b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T060SexagesimalTest.java new file mode 100644 index 00000000..35cf4cad --- /dev/null +++ b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T060SexagesimalTest.java @@ -0,0 +1,35 @@ +package love.distributedrebirth.numberxd.base2t.part; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; + +@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") +public class T060SexagesimalTest { + + @Test + public void testBasePart() { + for (T060PartSexagesimal value:T060PartSexagesimal.values()) { + Assertions.assertNotNull(value.rȧñkRingToon()); + Assertions.assertNotNull(value.rȧñkChinaSleutel()); + Assertions.assertNotNull(value.rȧñkChinaWaarde()); + } + } + + @Test + public void testToneMap() { + Assertions.assertEquals(T060PartSexagesimal.PART_1, T060PartSexagesimal.PART_1.teŀráàmWaardeVanRingToon("˥˥")); + Assertions.assertEquals(T060PartSexagesimal.PART_2, T060PartSexagesimal.PART_1.teŀráàmWaardeVanRingToon("˥˦")); + Assertions.assertEquals(T060PartSexagesimal.PART_59, T060PartSexagesimal.PART_1.teŀráàmWaardeVanRingToon("꜒꜕")); + Assertions.assertEquals(T060PartSexagesimal.PART_60, T060PartSexagesimal.PART_1.teŀráàmWaardeVanRingToon("꜒꜖")); + } + + @Test + public void testChinaMap() { + Assertions.assertEquals(T060PartSexagesimal.PART_1, T060PartSexagesimal.PART_1.ráàmWaardeVanChinaSleutel("牛")); + Assertions.assertEquals(T060PartSexagesimal.PART_2, T060PartSexagesimal.PART_1.ráàmWaardeVanChinaSleutel("鸡")); + Assertions.assertEquals(T060PartSexagesimal.PART_59, T060PartSexagesimal.PART_1.ráàmWaardeVanChinaSleutel("薯")); + Assertions.assertEquals(T060PartSexagesimal.PART_60, T060PartSexagesimal.PART_1.ráàmWaardeVanChinaSleutel("蘋")); + } +} diff --git a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T06PartSeximalTest.java b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T06PartSeximalTest.java deleted file mode 100644 index f5a7ab57..00000000 --- a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T06PartSeximalTest.java +++ /dev/null @@ -1,38 +0,0 @@ -package love.distributedrebirth.numberxd.base2t.part; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; - -import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; - -@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") -public class T06PartSeximalTest { - - @Test - public void testBasePart() { - for (T06PartSeximal value:T06PartSeximal.values()) { - Assertions.assertNotNull(value.rȧñkRingToon()); - Assertions.assertNotNull(value.rȧñkChinaSleutel()); - Assertions.assertNotNull(value.rȧñkChinaWaarde()); - Assertions.assertNotNull(value.rȧñkAlt1Waarde()); - Assertions.assertNotNull(value.ráàmAlt1Naam()); - Assertions.assertNotNull(value.ráàmAlt1Website()); - } - } - - @Test - public void testToneMap() { - Assertions.assertEquals(T06PartSeximal.PART_1, T06PartSeximal.PART_1.teŀráàmWaardeVanRingToon("˦")); - Assertions.assertEquals(T06PartSeximal.PART_2, T06PartSeximal.PART_1.teŀráàmWaardeVanRingToon("˨")); - Assertions.assertEquals(T06PartSeximal.PART_5, T06PartSeximal.PART_1.teŀráàmWaardeVanRingToon("꜊")); - Assertions.assertEquals(T06PartSeximal.PART_6, T06PartSeximal.PART_1.teŀráàmWaardeVanRingToon("꜏")); - } - - @Test - public void testChinaMap() { - Assertions.assertEquals(T06PartSeximal.PART_1, T06PartSeximal.PART_1.ráàmWaardeVanChinaSleutel("四")); - Assertions.assertEquals(T06PartSeximal.PART_2, T06PartSeximal.PART_1.ráàmWaardeVanChinaSleutel("五")); - Assertions.assertEquals(T06PartSeximal.PART_5, T06PartSeximal.PART_1.ráàmWaardeVanChinaSleutel("八")); - Assertions.assertEquals(T06PartSeximal.PART_6, T06PartSeximal.PART_1.ráàmWaardeVanChinaSleutel("九")); - } -} diff --git a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T07PartSeptetTest.java b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T07PartSeptetTest.java deleted file mode 100644 index a260123d..00000000 --- a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T07PartSeptetTest.java +++ /dev/null @@ -1,38 +0,0 @@ -package love.distributedrebirth.numberxd.base2t.part; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; - -import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; - -@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") -public class T07PartSeptetTest { - - @Test - public void testBasePart() { - for (T07PartSeptet value:T07PartSeptet.values()) { - Assertions.assertNotNull(value.rȧñkRingToon()); - Assertions.assertNotNull(value.rȧñkChinaSleutel()); - Assertions.assertNotNull(value.rȧñkChinaWaarde()); - Assertions.assertNotNull(value.rȧñkAlt1Waarde()); - Assertions.assertNotNull(value.ráàmAlt1Naam()); - Assertions.assertNotNull(value.ráàmAlt1Website()); - } - } - - @Test - public void testToneMap() { - Assertions.assertEquals(T07PartSeptet.PART_1, T07PartSeptet.PART_1.teŀráàmWaardeVanRingToon("˥")); - Assertions.assertEquals(T07PartSeptet.PART_2, T07PartSeptet.PART_1.teŀráàmWaardeVanRingToon("꜉")); - Assertions.assertEquals(T07PartSeptet.PART_6, T07PartSeptet.PART_1.teŀráàmWaardeVanRingToon("꜐")); - Assertions.assertEquals(T07PartSeptet.PART_7, T07PartSeptet.PART_1.teŀráàmWaardeVanRingToon("˩")); - } - - @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("नि")); - } -} 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 deleted file mode 100644 index 36e73f5a..00000000 --- a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T08PartOctalTest.java +++ /dev/null @@ -1,35 +0,0 @@ -package love.distributedrebirth.numberxd.base2t.part; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; - -import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; - -@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") -public class T08PartOctalTest { - - @Test - public void testBasePart() { - for (T08PartOctal value:T08PartOctal.values()) { - Assertions.assertNotNull(value.rȧñkRingToon()); - Assertions.assertNotNull(value.rȧñkChinaSleutel()); - Assertions.assertNotNull(value.rȧñkChinaWaarde()); - } - } - - @Test - public void testToneMap() { - Assertions.assertEquals(T08PartOctal.PART_1, T08PartOctal.PART_1.teŀráàmWaardeVanRingToon("˥")); - Assertions.assertEquals(T08PartOctal.PART_2, T08PartOctal.PART_1.teŀráàmWaardeVanRingToon("˩")); - Assertions.assertEquals(T08PartOctal.PART_7, T08PartOctal.PART_1.teŀráàmWaardeVanRingToon("꜍")); - Assertions.assertEquals(T08PartOctal.PART_8, T08PartOctal.PART_1.teŀráàmWaardeVanRingToon("꜑")); - } - - @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("坤")); - } -} diff --git a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T09PartNonaryTest.java b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T09PartNonaryTest.java deleted file mode 100644 index 3fc7ca4f..00000000 --- a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T09PartNonaryTest.java +++ /dev/null @@ -1,35 +0,0 @@ -package love.distributedrebirth.numberxd.base2t.part; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; - -import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; - -@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") -public class T09PartNonaryTest { - - @Test - public void testBasePart() { - for (T09PartNonary value:T09PartNonary.values()) { - Assertions.assertNotNull(value.rȧñkRingToon()); - Assertions.assertNotNull(value.rȧñkChinaSleutel()); - Assertions.assertNotNull(value.rȧñkChinaWaarde()); - } - } - - @Test - public void testToneMap() { - Assertions.assertEquals(T09PartNonary.PART_1, T09PartNonary.PART_1.teŀráàmWaardeVanRingToon("˦")); - Assertions.assertEquals(T09PartNonary.PART_2, T09PartNonary.PART_1.teŀráàmWaardeVanRingToon("˨")); - Assertions.assertEquals(T09PartNonary.PART_8, T09PartNonary.PART_1.teŀráàmWaardeVanRingToon("꜏")); - Assertions.assertEquals(T09PartNonary.PART_9, T09PartNonary.PART_1.teŀráàmWaardeVanRingToon("꜑")); - } - - @Test - public void testChinaMap() { - Assertions.assertEquals(T09PartNonary.PART_1, T09PartNonary.PART_1.ráàmWaardeVanChinaSleutel("藍")); - Assertions.assertEquals(T09PartNonary.PART_2, T09PartNonary.PART_1.ráàmWaardeVanChinaSleutel("皓")); - Assertions.assertEquals(T09PartNonary.PART_8, T09PartNonary.PART_1.ráàmWaardeVanChinaSleutel("黑")); - Assertions.assertEquals(T09PartNonary.PART_9, T09PartNonary.PART_1.ráàmWaardeVanChinaSleutel("紺")); - } -} diff --git a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T10PartDecimalTest.java b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T10PartDecimalTest.java deleted file mode 100644 index 8019428e..00000000 --- a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T10PartDecimalTest.java +++ /dev/null @@ -1,35 +0,0 @@ -package love.distributedrebirth.numberxd.base2t.part; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; - -import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; - -@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") -public class T10PartDecimalTest { - - @Test - public void testBasePart() { - for (T10PartDecimal value:T10PartDecimal.values()) { - Assertions.assertNotNull(value.rȧñkRingToon()); - Assertions.assertNotNull(value.rȧñkChinaSleutel()); - Assertions.assertNotNull(value.rȧñkChinaWaarde()); - } - } - - @Test - public void testToneMap() { - Assertions.assertEquals(T10PartDecimal.PART_1, T10PartDecimal.PART_1.teŀráàmWaardeVanRingToon("˥")); - Assertions.assertEquals(T10PartDecimal.PART_2, T10PartDecimal.PART_1.teŀráàmWaardeVanRingToon("˦")); - Assertions.assertEquals(T10PartDecimal.PART_9, T10PartDecimal.PART_1.teŀráàmWaardeVanRingToon("꜓")); - Assertions.assertEquals(T10PartDecimal.PART_10, T10PartDecimal.PART_1.teŀráàmWaardeVanRingToon("꜒")); - } - - @Test - public void testChinaMap() { - Assertions.assertEquals(T10PartDecimal.PART_1, T10PartDecimal.PART_1.ráàmWaardeVanChinaSleutel("零")); - Assertions.assertEquals(T10PartDecimal.PART_2, T10PartDecimal.PART_1.ráàmWaardeVanChinaSleutel("壹")); - Assertions.assertEquals(T10PartDecimal.PART_9, T10PartDecimal.PART_1.ráàmWaardeVanChinaSleutel("捌")); - Assertions.assertEquals(T10PartDecimal.PART_10, T10PartDecimal.PART_1.ráàmWaardeVanChinaSleutel("玖")); - } -} diff --git a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T11PartUndecimalTest.java b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T11PartUndecimalTest.java deleted file mode 100644 index 56bbdd51..00000000 --- a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T11PartUndecimalTest.java +++ /dev/null @@ -1,35 +0,0 @@ -package love.distributedrebirth.numberxd.base2t.part; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; - -import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; - -@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") -public class T11PartUndecimalTest { - - @Test - public void testBasePart() { - for (T11PartUndecimal value:T11PartUndecimal.values()) { - Assertions.assertNotNull(value.rȧñkRingToon()); - Assertions.assertNotNull(value.rȧñkChinaSleutel()); - Assertions.assertNotNull(value.rȧñkChinaWaarde()); - } - } - - @Test - public void testToneMap() { - Assertions.assertEquals(T11PartUndecimal.PART_1, T11PartUndecimal.PART_1.teŀráàmWaardeVanRingToon("˥")); - Assertions.assertEquals(T11PartUndecimal.PART_2, T11PartUndecimal.PART_1.teŀráàmWaardeVanRingToon("꜈")); - Assertions.assertEquals(T11PartUndecimal.PART_10, T11PartUndecimal.PART_1.teŀráàmWaardeVanRingToon("꜐")); - Assertions.assertEquals(T11PartUndecimal.PART_11, T11PartUndecimal.PART_1.teŀráàmWaardeVanRingToon("˩")); - } - - @Test - public void testChinaMap() { - Assertions.assertEquals(T11PartUndecimal.PART_1, T11PartUndecimal.PART_1.ráàmWaardeVanChinaSleutel("走")); - Assertions.assertEquals(T11PartUndecimal.PART_2, T11PartUndecimal.PART_1.ráàmWaardeVanChinaSleutel("跑")); - Assertions.assertEquals(T11PartUndecimal.PART_10, T11PartUndecimal.PART_1.ráàmWaardeVanChinaSleutel("春")); - Assertions.assertEquals(T11PartUndecimal.PART_11, T11PartUndecimal.PART_1.ráàmWaardeVanChinaSleutel("耦")); - } -} diff --git a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T12PartUncialTest.java b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T12PartUncialTest.java deleted file mode 100644 index 5de8c107..00000000 --- a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T12PartUncialTest.java +++ /dev/null @@ -1,38 +0,0 @@ -package love.distributedrebirth.numberxd.base2t.part; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; - -import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; - -@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") -public class T12PartUncialTest { - - @Test - public void testBasePart() { - for (T12PartUncial value:T12PartUncial.values()) { - Assertions.assertNotNull(value.rȧñkRingToon()); - Assertions.assertNotNull(value.rȧñkChinaSleutel()); - Assertions.assertNotNull(value.rȧñkChinaWaarde()); - Assertions.assertNotNull(value.rȧñkAlt1Waarde()); - Assertions.assertNotNull(value.ráàmAlt1Naam()); - Assertions.assertNotNull(value.ráàmAlt1Website()); - } - } - - @Test - public void testToneMap() { - Assertions.assertEquals(T12PartUncial.PART_1, T12PartUncial.PART_1.teŀráàmWaardeVanRingToon("˥")); - Assertions.assertEquals(T12PartUncial.PART_2, T12PartUncial.PART_1.teŀráàmWaardeVanRingToon("˧")); - Assertions.assertEquals(T12PartUncial.PART_11, T12PartUncial.PART_1.teŀráàmWaardeVanRingToon("꜏")); - Assertions.assertEquals(T12PartUncial.PART_12, T12PartUncial.PART_1.teŀráàmWaardeVanRingToon("꜑")); - } - - @Test - public void testChinaMap() { - Assertions.assertEquals(T12PartUncial.PART_1, T12PartUncial.PART_1.ráàmWaardeVanChinaSleutel("日")); - Assertions.assertEquals(T12PartUncial.PART_2, T12PartUncial.PART_1.ráàmWaardeVanChinaSleutel("月")); - Assertions.assertEquals(T12PartUncial.PART_11, T12PartUncial.PART_1.ráàmWaardeVanChinaSleutel("黼")); - Assertions.assertEquals(T12PartUncial.PART_12, T12PartUncial.PART_1.ráàmWaardeVanChinaSleutel("亞")); - } -} diff --git a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T16PartHexTest.java b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T16PartHexTest.java deleted file mode 100644 index 3b6064e4..00000000 --- a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T16PartHexTest.java +++ /dev/null @@ -1,35 +0,0 @@ -package love.distributedrebirth.numberxd.base2t.part; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; - -import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; - -@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") -public class T16PartHexTest { - - @Test - public void testBasePart() { - for (T16PartHex value:T16PartHex.values()) { - Assertions.assertNotNull(value.rȧñkRingToon()); - Assertions.assertNotNull(value.rȧñkChinaSleutel()); - Assertions.assertNotNull(value.rȧñkChinaWaarde()); - } - } - - @Test - public void testToneMap() { - Assertions.assertEquals(T16PartHex.PART_1, T16PartHex.PART_1.teŀráàmWaardeVanRingToon("˥")); - Assertions.assertEquals(T16PartHex.PART_2, T16PartHex.PART_1.teŀráàmWaardeVanRingToon("˦")); - Assertions.assertEquals(T16PartHex.PART_15, T16PartHex.PART_1.teŀráàmWaardeVanRingToon("꜐")); - Assertions.assertEquals(T16PartHex.PART_16, T16PartHex.PART_1.teŀráàmWaardeVanRingToon("꜑")); - } - - @Test - public void testChinaMap() { - Assertions.assertEquals(T16PartHex.PART_1, T16PartHex.PART_1.ráàmWaardeVanChinaSleutel("氫")); - Assertions.assertEquals(T16PartHex.PART_2, T16PartHex.PART_1.ráàmWaardeVanChinaSleutel("氦")); - Assertions.assertEquals(T16PartHex.PART_15, T16PartHex.PART_1.ráàmWaardeVanChinaSleutel("磷")); - Assertions.assertEquals(T16PartHex.PART_16, T16PartHex.PART_1.ráàmWaardeVanChinaSleutel("硫")); - } -} diff --git a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T20PartScoreTest.java b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T20PartScoreTest.java deleted file mode 100644 index 91737a53..00000000 --- a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T20PartScoreTest.java +++ /dev/null @@ -1,46 +0,0 @@ -package love.distributedrebirth.numberxd.base2t.part; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; - -import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; - -@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") -public class T20PartScoreTest { - - @Test - public void testBasePart() { - for (T20PartScore value:T20PartScore.values()) { - Assertions.assertNotNull(value.rȧñkRingToon()); - Assertions.assertNotNull(value.rȧñkChinaSleutel()); - Assertions.assertNotNull(value.rȧñkChinaWaarde()); - Assertions.assertNotNull(value.rȧñkAlt1Waarde()); - Assertions.assertNotNull(value.ráàmAlt1Naam()); - Assertions.assertNotNull(value.ráàmAlt1Website()); - } - } - - @Test - public void testToneMap() { - Assertions.assertEquals(T20PartScore.PART_1, T20PartScore.PART_1.teŀráàmWaardeVanRingToon("˥")); - Assertions.assertEquals(T20PartScore.PART_2, T20PartScore.PART_1.teŀráàmWaardeVanRingToon("˦")); - Assertions.assertEquals(T20PartScore.PART_19, T20PartScore.PART_1.teŀráàmWaardeVanRingToon("꜐")); - Assertions.assertEquals(T20PartScore.PART_20, T20PartScore.PART_1.teŀráàmWaardeVanRingToon("꜑")); - } - - @Test - public void testChinaMap() { - Assertions.assertEquals(T20PartScore.PART_1, T20PartScore.PART_1.ráàmWaardeVanChinaSleutel("尧")); - Assertions.assertEquals(T20PartScore.PART_2, T20PartScore.PART_1.ráàmWaardeVanChinaSleutel("泽")); - Assertions.assertEquals(T20PartScore.PART_19, T20PartScore.PART_1.ráàmWaardeVanChinaSleutel("仄")); - Assertions.assertEquals(T20PartScore.PART_20, T20PartScore.PART_1.ráàmWaardeVanChinaSleutel("幺")); - } - - @Test - public void testOpenLCMap() { - Assertions.assertEquals(T20PartScore.PART_1, T20PartScore.PART_1.BãßValueOfOpenLC("2")); - Assertions.assertEquals(T20PartScore.PART_2, T20PartScore.PART_1.BãßValueOfOpenLC("3")); - Assertions.assertEquals(T20PartScore.PART_19, T20PartScore.PART_1.BãßValueOfOpenLC("W")); - Assertions.assertEquals(T20PartScore.PART_20, T20PartScore.PART_1.BãßValueOfOpenLC("X")); - } -} diff --git a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T60SexagesimalTest.java b/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T60SexagesimalTest.java deleted file mode 100644 index 38e0e06c..00000000 --- a/gdxapp4d-lib-numberxd/src/test/java/love/distributedrebirth/numberxd/base2t/part/T60SexagesimalTest.java +++ /dev/null @@ -1,35 +0,0 @@ -package love.distributedrebirth.numberxd.base2t.part; - -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; - -import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; - -@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") -public class T60SexagesimalTest { - - @Test - public void testBasePart() { - for (T60PartSexagesimal value:T60PartSexagesimal.values()) { - Assertions.assertNotNull(value.rȧñkRingToon()); - Assertions.assertNotNull(value.rȧñkChinaSleutel()); - Assertions.assertNotNull(value.rȧñkChinaWaarde()); - } - } - - @Test - public void testToneMap() { - Assertions.assertEquals(T60PartSexagesimal.PART_1, T60PartSexagesimal.PART_1.teŀráàmWaardeVanRingToon("˥˥")); - Assertions.assertEquals(T60PartSexagesimal.PART_2, T60PartSexagesimal.PART_1.teŀráàmWaardeVanRingToon("˥˦")); - Assertions.assertEquals(T60PartSexagesimal.PART_59, T60PartSexagesimal.PART_1.teŀráàmWaardeVanRingToon("꜒꜕")); - Assertions.assertEquals(T60PartSexagesimal.PART_60, T60PartSexagesimal.PART_1.teŀráàmWaardeVanRingToon("꜒꜖")); - } - - @Test - public void testChinaMap() { - Assertions.assertEquals(T60PartSexagesimal.PART_1, T60PartSexagesimal.PART_1.ráàmWaardeVanChinaSleutel("牛")); - Assertions.assertEquals(T60PartSexagesimal.PART_2, T60PartSexagesimal.PART_1.ráàmWaardeVanChinaSleutel("鸡")); - Assertions.assertEquals(T60PartSexagesimal.PART_59, T60PartSexagesimal.PART_1.ráàmWaardeVanChinaSleutel("薯")); - Assertions.assertEquals(T60PartSexagesimal.PART_60, T60PartSexagesimal.PART_1.ráàmWaardeVanChinaSleutel("蘋")); - } -} diff --git a/gdxapp4d-lib-unicodezd/src/main/java/love/distributedrebirth/unicode4d/CodePointᶻᴰ.java b/gdxapp4d-lib-unicodezd/src/main/java/love/distributedrebirth/unicode4d/CodePointᶻᴰ.java index 354a529a..dc4ee344 100644 --- a/gdxapp4d-lib-unicodezd/src/main/java/love/distributedrebirth/unicode4d/CodePointᶻᴰ.java +++ b/gdxapp4d-lib-unicodezd/src/main/java/love/distributedrebirth/unicode4d/CodePointᶻᴰ.java @@ -3,7 +3,7 @@ package love.distributedrebirth.unicode4d; import java.util.List; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; -import love.distributedrebirth.numberxd.base2t.part.T02PartBinary; +import love.distributedrebirth.numberxd.base2t.part.T002PartBinary; import love.distributedrebirth.numberxd.base2t.type.V036Teger; import love.distributedrebirth.numberxd.base2t.type.V072Tong; @@ -26,7 +26,7 @@ public enum CodePointᶻᴰ { public static final int MODIFIER_SCRIPT_SUB = 0b000000000010000000; public static final int MODIFIER_ENVELOP = 0b000000000100000000; - public int getArgument(V036Teger teger, T02PartBinary part) { + public int getArgument(V036Teger teger, T002PartBinary part) { int value = teger.getValue(part).getValueNumber(); int result = value & MASK_ARGU; if ((value & MASK_SIGN) != 0) { @@ -35,7 +35,7 @@ public enum CodePointᶻᴰ { return result; } - public void setArgument(V036Teger teger, T02PartBinary part, int number) { + public void setArgument(V036Teger teger, T002PartBinary part, int number) { int value = teger.getValue(part).getValueNumber(); int result = (value & MASK_CMD) + ((number >> 17) & MASK_SIGN) + (number & MASK_ARGU); teger.getValue(part).setValueNumber(result); @@ -43,33 +43,33 @@ public enum CodePointᶻᴰ { public int getArgumentUnicode(V036Teger teger) { int unicode = 0; - unicode += teger.getValue(T02PartBinary.PART_1).getValueNumber() & MASK_ARGU+MASK_SIGN; - unicode += (teger.getValue(T02PartBinary.PART_2).getValueNumber() & MASK_ARGU+MASK_SIGN) << 15; + unicode += teger.getValue(T002PartBinary.PART_1).getValueNumber() & MASK_ARGU+MASK_SIGN; + unicode += (teger.getValue(T002PartBinary.PART_2).getValueNumber() & MASK_ARGU+MASK_SIGN) << 15; return unicode; } public void setArgumentUnicode(V036Teger teger, int unicode) { - int value1 = teger.getValue(T02PartBinary.PART_1).getValueNumber(); - int value2 = teger.getValue(T02PartBinary.PART_2).getValueNumber(); + int value1 = teger.getValue(T002PartBinary.PART_1).getValueNumber(); + int value2 = teger.getValue(T002PartBinary.PART_2).getValueNumber(); value1 = (value1 & MASK_CMD) + (unicode & MASK_ARGU+MASK_SIGN); value2 = (value2 & MASK_CMD) + ((unicode >> 15) & MASK_ARGU+MASK_SIGN); - teger.getValue(T02PartBinary.PART_1).setValueNumber(value1); - teger.getValue(T02PartBinary.PART_2).setValueNumber(value2); + teger.getValue(T002PartBinary.PART_1).setValueNumber(value1); + teger.getValue(T002PartBinary.PART_2).setValueNumber(value2); } public CodePointCommandᶻᴰ getCommand(V036Teger teger) { int mode = 0; - mode += (teger.getValue(T02PartBinary.PART_1).getValueNumber() >> 15) << 0; - mode += (teger.getValue(T02PartBinary.PART_2).getValueNumber() >> 15) << 3; + mode += (teger.getValue(T002PartBinary.PART_1).getValueNumber() >> 15) << 0; + mode += (teger.getValue(T002PartBinary.PART_2).getValueNumber() >> 15) << 3; return CodePointCommandᶻᴰ.values()[mode]; } public void setCommand(V036Teger teger, CodePointCommandᶻᴰ command) { int mode = command.ordinal(); - int value1 = teger.getValue(T02PartBinary.PART_1).getValueNumber(); - int value2 = teger.getValue(T02PartBinary.PART_2).getValueNumber(); - teger.getValue(T02PartBinary.PART_1).setValueNumber(value1 | (((mode >> 0) << 15)) & MASK_CMD); - teger.getValue(T02PartBinary.PART_2).setValueNumber(value2 | (((mode >> 3) << 15)) & MASK_CMD); + int value1 = teger.getValue(T002PartBinary.PART_1).getValueNumber(); + int value2 = teger.getValue(T002PartBinary.PART_2).getValueNumber(); + teger.getValue(T002PartBinary.PART_1).setValueNumber(value1 | (((mode >> 0) << 15)) & MASK_CMD); + teger.getValue(T002PartBinary.PART_2).setValueNumber(value2 | (((mode >> 3) << 15)) & MASK_CMD); } /** @@ -77,11 +77,11 @@ public enum CodePointᶻᴰ { */ public int searchUnicode(List tongs) { for (V072Tong tong:tongs) { - if (CodePointCommandᶻᴰ.UNICODE.equals(CodePointᶻᴰ.INSTANCE.getCommand(tong.getValue(T02PartBinary.PART_1)))) { - return CodePointᶻᴰ.INSTANCE.getArgumentUnicode(tong.getValue(T02PartBinary.PART_1)); + if (CodePointCommandᶻᴰ.UNICODE.equals(CodePointᶻᴰ.INSTANCE.getCommand(tong.getValue(T002PartBinary.PART_1)))) { + return CodePointᶻᴰ.INSTANCE.getArgumentUnicode(tong.getValue(T002PartBinary.PART_1)); } - if (CodePointCommandᶻᴰ.UNICODE.equals(CodePointᶻᴰ.INSTANCE.getCommand(tong.getValue(T02PartBinary.PART_2)))) { - return CodePointᶻᴰ.INSTANCE.getArgumentUnicode(tong.getValue(T02PartBinary.PART_2)); + if (CodePointCommandᶻᴰ.UNICODE.equals(CodePointᶻᴰ.INSTANCE.getCommand(tong.getValue(T002PartBinary.PART_2)))) { + return CodePointᶻᴰ.INSTANCE.getArgumentUnicode(tong.getValue(T002PartBinary.PART_2)); } } return -1; @@ -93,11 +93,11 @@ public enum CodePointᶻᴰ { */ public int searchNumber(List tongs) { for (V072Tong tong:tongs) { - if (CodePointCommandᶻᴰ.NUMBER.equals(CodePointᶻᴰ.INSTANCE.getCommand(tong.getValue(T02PartBinary.PART_1)))) { - return CodePointᶻᴰ.INSTANCE.getArgumentUnicode(tong.getValue(T02PartBinary.PART_1)); + if (CodePointCommandᶻᴰ.NUMBER.equals(CodePointᶻᴰ.INSTANCE.getCommand(tong.getValue(T002PartBinary.PART_1)))) { + return CodePointᶻᴰ.INSTANCE.getArgumentUnicode(tong.getValue(T002PartBinary.PART_1)); } - if (CodePointCommandᶻᴰ.NUMBER.equals(CodePointᶻᴰ.INSTANCE.getCommand(tong.getValue(T02PartBinary.PART_2)))) { - return CodePointᶻᴰ.INSTANCE.getArgumentUnicode(tong.getValue(T02PartBinary.PART_2)); + if (CodePointCommandᶻᴰ.NUMBER.equals(CodePointᶻᴰ.INSTANCE.getCommand(tong.getValue(T002PartBinary.PART_2)))) { + return CodePointᶻᴰ.INSTANCE.getArgumentUnicode(tong.getValue(T002PartBinary.PART_2)); } } return -1; diff --git a/gdxapp4d-lib-unicodezd/src/test/java/love/distributedrebirth/unicode4d/CodePointTest.java b/gdxapp4d-lib-unicodezd/src/test/java/love/distributedrebirth/unicode4d/CodePointTest.java index 7c618275..3dbdaa9b 100644 --- a/gdxapp4d-lib-unicodezd/src/test/java/love/distributedrebirth/unicode4d/CodePointTest.java +++ b/gdxapp4d-lib-unicodezd/src/test/java/love/distributedrebirth/unicode4d/CodePointTest.java @@ -4,7 +4,7 @@ import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; -import love.distributedrebirth.numberxd.base2t.part.T02PartBinary; +import love.distributedrebirth.numberxd.base2t.part.T002PartBinary; import love.distributedrebirth.numberxd.base2t.type.V036Teger; @BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @@ -13,12 +13,12 @@ public class CodePointTest { @Test public void testCommand() { V036Teger teger = new V036Teger(); - CodePointᶻᴰ.INSTANCE.setArgument(teger, T02PartBinary.PART_1, 0); - CodePointᶻᴰ.INSTANCE.setArgument(teger, T02PartBinary.PART_2, 12345); + CodePointᶻᴰ.INSTANCE.setArgument(teger, T002PartBinary.PART_1, 0); + CodePointᶻᴰ.INSTANCE.setArgument(teger, T002PartBinary.PART_2, 12345); for (CodePointCommandᶻᴰ cmd:CodePointCommandᶻᴰ.values()) { CodePointᶻᴰ.INSTANCE.setCommand(teger, cmd); - int value1 = CodePointᶻᴰ.INSTANCE.getArgument(teger, T02PartBinary.PART_1); - int value2 = CodePointᶻᴰ.INSTANCE.getArgument(teger, T02PartBinary.PART_2); + int value1 = CodePointᶻᴰ.INSTANCE.getArgument(teger, T002PartBinary.PART_1); + int value2 = CodePointᶻᴰ.INSTANCE.getArgument(teger, T002PartBinary.PART_2); Assertions.assertEquals(0, value1); Assertions.assertEquals(12345, value2); } @@ -29,11 +29,11 @@ public class CodePointTest { V036Teger teger = new V036Teger(); for (int i=-16384;i<16384;i++) { for (CodePointCommandᶻᴰ cmd:CodePointCommandᶻᴰ.values()) { - CodePointᶻᴰ.INSTANCE.setArgument(teger, T02PartBinary.PART_1, i); - CodePointᶻᴰ.INSTANCE.setArgument(teger, T02PartBinary.PART_2, i); + CodePointᶻᴰ.INSTANCE.setArgument(teger, T002PartBinary.PART_1, i); + CodePointᶻᴰ.INSTANCE.setArgument(teger, T002PartBinary.PART_2, i); CodePointᶻᴰ.INSTANCE.setCommand(teger, cmd); - int value1 = CodePointᶻᴰ.INSTANCE.getArgument(teger, T02PartBinary.PART_1); - int value2 = CodePointᶻᴰ.INSTANCE.getArgument(teger, T02PartBinary.PART_2); + int value1 = CodePointᶻᴰ.INSTANCE.getArgument(teger, T002PartBinary.PART_1); + int value2 = CodePointᶻᴰ.INSTANCE.getArgument(teger, T002PartBinary.PART_2); Assertions.assertEquals(i, value1); Assertions.assertEquals(i, value2); } diff --git a/gdxapp4d-lib-unicodezd/src/test/java/love/distributedrebirth/unicode4d/TestConvFont.java b/gdxapp4d-lib-unicodezd/src/test/java/love/distributedrebirth/unicode4d/TestConvFont.java index a1555cb2..ac6ec555 100644 --- a/gdxapp4d-lib-unicodezd/src/test/java/love/distributedrebirth/unicode4d/TestConvFont.java +++ b/gdxapp4d-lib-unicodezd/src/test/java/love/distributedrebirth/unicode4d/TestConvFont.java @@ -16,7 +16,7 @@ import org.xml.sax.SAXException; import org.xml.sax.XMLReader; import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注; -import love.distributedrebirth.numberxd.base2t.part.T02PartBinary; +import love.distributedrebirth.numberxd.base2t.part.T002PartBinary; import love.distributedrebirth.numberxd.base2t.type.V072Tong; import love.distributedrebirth.numberxd.unicode.UnicodePlane; import love.distributedrebirth.unicode4d.atlas.FontAtlas; @@ -170,7 +170,7 @@ public class TestConvFont { } else if ("glyph".equals(qName)) { - if (CodePointCommandᶻᴰ.NOP != CodePointᶻᴰ.INSTANCE.getCommand(point.getValue(T02PartBinary.PART_1))) { + if (CodePointCommandᶻᴰ.NOP != CodePointᶻᴰ.INSTANCE.getCommand(point.getValue(T002PartBinary.PART_1))) { tongs.add(point); } glyphCounter++; @@ -215,8 +215,8 @@ public class TestConvFont { } else if ("glyph".equals(qName)) { tongs = new ArrayList<>(); point = new V072Tong(); - CodePointᶻᴰ.INSTANCE.setCommand(point.getValue(T02PartBinary.PART_1), CodePointCommandᶻᴰ.NOP); - CodePointᶻᴰ.INSTANCE.setCommand(point.getValue(T02PartBinary.PART_2), CodePointCommandᶻᴰ.NOP); + CodePointᶻᴰ.INSTANCE.setCommand(point.getValue(T002PartBinary.PART_1), CodePointCommandᶻᴰ.NOP); + CodePointᶻᴰ.INSTANCE.setCommand(point.getValue(T002PartBinary.PART_2), CodePointCommandᶻᴰ.NOP); String unicodeStr = atts.getValue("unicode"); if (unicodeStr.startsWith("0000, ")) { @@ -236,27 +236,27 @@ public class TestConvFont { V072Tong v2 = new V072Tong(); if (unicodePlane2.isLeftToRight()) { - CodePointᶻᴰ.INSTANCE.setCommand(v0.getValue(T02PartBinary.PART_1), CodePointCommandᶻᴰ.START_LR); + CodePointᶻᴰ.INSTANCE.setCommand(v0.getValue(T002PartBinary.PART_1), CodePointCommandᶻᴰ.START_LR); } else { - CodePointᶻᴰ.INSTANCE.setCommand(v0.getValue(T02PartBinary.PART_1), CodePointCommandᶻᴰ.START_RL); + CodePointᶻᴰ.INSTANCE.setCommand(v0.getValue(T002PartBinary.PART_1), CodePointCommandᶻᴰ.START_RL); } - CodePointᶻᴰ.INSTANCE.setCommand(v0.getValue(T02PartBinary.PART_2), CodePointCommandᶻᴰ.UNICODE); - CodePointᶻᴰ.INSTANCE.setArgumentUnicode(v0.getValue(T02PartBinary.PART_2), unicode); + CodePointᶻᴰ.INSTANCE.setCommand(v0.getValue(T002PartBinary.PART_2), CodePointCommandᶻᴰ.UNICODE); + CodePointᶻᴰ.INSTANCE.setArgumentUnicode(v0.getValue(T002PartBinary.PART_2), unicode); - CodePointᶻᴰ.INSTANCE.setCommand(v1.getValue(T02PartBinary.PART_1), CodePointCommandᶻᴰ.XY_MAX); - CodePointᶻᴰ.INSTANCE.setArgument(v1.getValue(T02PartBinary.PART_1), T02PartBinary.PART_1, xMax); - CodePointᶻᴰ.INSTANCE.setArgument(v1.getValue(T02PartBinary.PART_1), T02PartBinary.PART_2, yMax); + CodePointᶻᴰ.INSTANCE.setCommand(v1.getValue(T002PartBinary.PART_1), CodePointCommandᶻᴰ.XY_MAX); + CodePointᶻᴰ.INSTANCE.setArgument(v1.getValue(T002PartBinary.PART_1), T002PartBinary.PART_1, xMax); + CodePointᶻᴰ.INSTANCE.setArgument(v1.getValue(T002PartBinary.PART_1), T002PartBinary.PART_2, yMax); - CodePointᶻᴰ.INSTANCE.setCommand(v1.getValue(T02PartBinary.PART_2), CodePointCommandᶻᴰ.XY_MIN); - CodePointᶻᴰ.INSTANCE.setArgument(v1.getValue(T02PartBinary.PART_2), T02PartBinary.PART_1, xMin); - CodePointᶻᴰ.INSTANCE.setArgument(v1.getValue(T02PartBinary.PART_2), T02PartBinary.PART_2, yMin); + CodePointᶻᴰ.INSTANCE.setCommand(v1.getValue(T002PartBinary.PART_2), CodePointCommandᶻᴰ.XY_MIN); + CodePointᶻᴰ.INSTANCE.setArgument(v1.getValue(T002PartBinary.PART_2), T002PartBinary.PART_1, xMin); + CodePointᶻᴰ.INSTANCE.setArgument(v1.getValue(T002PartBinary.PART_2), T002PartBinary.PART_2, yMin); - CodePointᶻᴰ.INSTANCE.setCommand(v2.getValue(T02PartBinary.PART_1), CodePointCommandᶻᴰ.ADVANCE); - CodePointᶻᴰ.INSTANCE.setArgument(v2.getValue(T02PartBinary.PART_1), T02PartBinary.PART_1, advanceWidth); - CodePointᶻᴰ.INSTANCE.setArgument(v2.getValue(T02PartBinary.PART_1), T02PartBinary.PART_2, leftSideBearing); + CodePointᶻᴰ.INSTANCE.setCommand(v2.getValue(T002PartBinary.PART_1), CodePointCommandᶻᴰ.ADVANCE); + CodePointᶻᴰ.INSTANCE.setArgument(v2.getValue(T002PartBinary.PART_1), T002PartBinary.PART_1, advanceWidth); + CodePointᶻᴰ.INSTANCE.setArgument(v2.getValue(T002PartBinary.PART_1), T002PartBinary.PART_2, leftSideBearing); - CodePointᶻᴰ.INSTANCE.setCommand(v2.getValue(T02PartBinary.PART_2), CodePointCommandᶻᴰ.NOP); + CodePointᶻᴰ.INSTANCE.setCommand(v2.getValue(T002PartBinary.PART_2), CodePointCommandᶻᴰ.NOP); tongs.add(v0); tongs.add(v1); @@ -270,9 +270,9 @@ public class TestConvFont { int x = (int) Float.parseFloat(atts.getValue("x")); int y = (int) Float.parseFloat(atts.getValue("y")); - T02PartBinary part = T02PartBinary.PART_1; - if (CodePointCommandᶻᴰ.NOP != CodePointᶻᴰ.INSTANCE.getCommand(point.getValue(T02PartBinary.PART_1))) { - part = T02PartBinary.PART_2; + T002PartBinary part = T002PartBinary.PART_1; + if (CodePointCommandᶻᴰ.NOP != CodePointᶻᴰ.INSTANCE.getCommand(point.getValue(T002PartBinary.PART_1))) { + part = T002PartBinary.PART_2; } if (onCurve) { if (startPoint) { @@ -287,13 +287,13 @@ public class TestConvFont { CodePointᶻᴰ.INSTANCE.setCommand(point.getValue(part), CodePointCommandᶻᴰ.XY_OFF_CURVE); } } - CodePointᶻᴰ.INSTANCE.setArgument(point.getValue(part), T02PartBinary.PART_1, x); - CodePointᶻᴰ.INSTANCE.setArgument(point.getValue(part), T02PartBinary.PART_2, y); - if (part == T02PartBinary.PART_2) { + CodePointᶻᴰ.INSTANCE.setArgument(point.getValue(part), T002PartBinary.PART_1, x); + CodePointᶻᴰ.INSTANCE.setArgument(point.getValue(part), T002PartBinary.PART_2, y); + if (part == T002PartBinary.PART_2) { tongs.add(point); point = new V072Tong(); - CodePointᶻᴰ.INSTANCE.setCommand(point.getValue(T02PartBinary.PART_1), CodePointCommandᶻᴰ.NOP); - CodePointᶻᴰ.INSTANCE.setCommand(point.getValue(T02PartBinary.PART_2), CodePointCommandᶻᴰ.NOP); + CodePointᶻᴰ.INSTANCE.setCommand(point.getValue(T002PartBinary.PART_1), CodePointCommandᶻᴰ.NOP); + CodePointᶻᴰ.INSTANCE.setCommand(point.getValue(T002PartBinary.PART_2), CodePointCommandᶻᴰ.NOP); } if (startPoint) { startPoint = false;