maybe only use numbers
This commit is contained in:
parent
2abab0e02a
commit
695e28daae
|
@ -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.T016PartHex;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T016PartHexadecimal;
|
||||
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ⁿᴰ<T extends BaseGetậl<T,V
|
|||
abstract protected int resolveFractalLevel(int level);
|
||||
|
||||
public V009Tyte getValue() {
|
||||
return values[matrix2].getTytePart(T016PartHex.values()[matrix1]);
|
||||
return values[matrix2].getTytePart(T016PartHexadecimal.values()[matrix1]);
|
||||
}
|
||||
|
||||
public int getFractalLevel() {
|
||||
|
@ -43,7 +43,7 @@ abstract public class AbstractGroßGetậlŌṁ1ⁿᴰ<T extends BaseGetậl<T,V
|
|||
|
||||
@Override
|
||||
public int getMatrix1Length() {
|
||||
return T016PartHex.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
|
||||
return T016PartHexadecimal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,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.T012PartUncial;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T016PartHex;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T016PartHexadecimal;
|
||||
import love.distributedrebirth.numberxd.base2t.type.V009Tyte;
|
||||
import love.distributedrebirth.numberxd.base2t.type.V144Tocta;
|
||||
|
||||
|
@ -39,7 +39,7 @@ abstract public class AbstractGroßGetậlŌṁ6ˢᴰ<T extends BaseGetậl<T,V0
|
|||
abstract protected int resolveFractalLevel(int level);
|
||||
|
||||
public V009Tyte getValue() {
|
||||
return values[matrix2][matrix3].getTytePart(T016PartHex.values()[matrix1]);
|
||||
return values[matrix2][matrix3].getTytePart(T016PartHexadecimal.values()[matrix1]);
|
||||
}
|
||||
|
||||
public int getFractalLevel() {
|
||||
|
@ -48,7 +48,7 @@ abstract public class AbstractGroßGetậlŌṁ6ˢᴰ<T extends BaseGetậl<T,V0
|
|||
|
||||
@Override
|
||||
public int getMatrix1Length() {
|
||||
return T016PartHex.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
|
||||
return T016PartHexadecimal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,7 +3,7 @@ package love.distributedrebirth.numberxd;
|
|||
import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注;
|
||||
import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal;
|
||||
import love.distributedrebirth.numberxd.base2t.BaseIteratorTyte;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T016PartHex;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T016PartHexadecimal;
|
||||
import love.distributedrebirth.numberxd.base2t.type.V009Tyte;
|
||||
import love.distributedrebirth.numberxd.base2t.type.V144Tocta;
|
||||
|
||||
|
@ -38,12 +38,12 @@ public class GroßGetậl1ⁿᴰ extends AbstractBaseGetậlMatrix1<GroßGetậl
|
|||
|
||||
@Override
|
||||
public V009Tyte getValue() {
|
||||
return value.getTytePart(T016PartHex.values()[matrix1]);
|
||||
return value.getTytePart(T016PartHexadecimal.values()[matrix1]);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMatrix1Length() {
|
||||
return T016PartHex.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
|
||||
return T016PartHexadecimal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package love.distributedrebirth.numberxd;
|
||||
|
||||
import love.distributedrebirth.numberxd.base2t.part.T012PartUncial;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T016PartHex;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T016PartHexadecimal;
|
||||
import love.distributedrebirth.numberxd.base2t.type.V009Tyte;
|
||||
import love.distributedrebirth.numberxd.base2t.type.V144Tocta;
|
||||
import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注;
|
||||
|
@ -29,12 +29,12 @@ public class GroßGetậl6ˢᴰ extends AbstractBaseGetậlMatrix2<GroßGetậl6
|
|||
}
|
||||
|
||||
public V009Tyte getValue() {
|
||||
return values[matrix2].getTytePart(T016PartHex.values()[matrix1]);
|
||||
return values[matrix2].getTytePart(T016PartHexadecimal.values()[matrix1]);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMatrix1Length() {
|
||||
return T016PartHex.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
|
||||
return T016PartHexadecimal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -19,8 +19,8 @@ import love.distributedrebirth.numberxd.base2t.part.T010PartDecimal;
|
|||
import love.distributedrebirth.numberxd.base2t.part.T011PartUndecimal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T012PartUncial;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T014PartTetradecimal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T015PartPenta;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T016PartHex;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T015PartPentadecimal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T016PartHexadecimal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T017PartHeptadecimal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T018PartOctodecimal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T192PartCentebrailleimal;
|
||||
|
@ -131,10 +131,10 @@ public enum Base2PartsFactory implements BãßBȍőnAbacusInstanceMBeanʸᴰ<Bas
|
|||
return T014PartTetradecimal.values();
|
||||
case 15:
|
||||
// baseT16Reads.increment();
|
||||
return T015PartPenta.values();
|
||||
return T015PartPentadecimal.values();
|
||||
case 16:
|
||||
baseT16Reads.increment();
|
||||
return T016PartHex.values();
|
||||
return T016PartHexadecimal.values();
|
||||
case 17:
|
||||
// baseT16Reads.increment();
|
||||
return T017PartHeptadecimal.values();
|
||||
|
|
|
@ -8,7 +8,7 @@ import love.distributedrebirth.numberxd.base2t.part.ii.TerminatorPartᶦᶦ;
|
|||
// 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 T015PartPenta implements TerminatorPartᶦᶦ<T015PartPenta> {
|
||||
public enum T015PartPentadecimal implements TerminatorPartᶦᶦ<T015PartPentadecimal> {
|
||||
|
||||
// TODO: replace with global unique one char china key value.
|
||||
|
||||
|
@ -29,9 +29,9 @@ public enum T015PartPenta implements TerminatorPartᶦᶦ<T015PartPenta> {
|
|||
PART_15 ("˦˩","龍馬","dragon_horse"),
|
||||
;
|
||||
|
||||
public final static T015PartPenta STATIC = T015PartPenta.PART_1;
|
||||
public final static T015PartPentadecimal STATIC = T015PartPentadecimal.PART_1;
|
||||
|
||||
private T015PartPenta(String dialTone, String chinaKey, String chinaValue) {
|
||||
private T015PartPentadecimal(String dialTone, String chinaKey, String chinaValue) {
|
||||
TerminatorPartᶦᶦ.Ꝑŕḯṿª₮ḕ.יהוהʸᴰ(this, dialTone, enumPart -> {
|
||||
enumPart.PUT_OBJ(TerminatorBullet.CHINA_KEY, chinaKey);
|
||||
enumPart.PUT_OBJ(TerminatorBullet.CHINA_VALUE, chinaValue);
|
|
@ -10,7 +10,7 @@ import love.distributedrebirth.numberxd.base2t.part.ii.TerminatorPartᶦᶦ;
|
|||
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
@BãßBȍőnDuytsFlüstern注(purpose = "The distribution by 16 (elements).")
|
||||
@TerminatorPartAlt1注(name = "Hexadecimal", website = "https://en.wikipedia.org/wiki/Hexadecimal")
|
||||
public enum T016PartHex implements TerminatorPartAlt1ᶦᶦ<T016PartHex> {
|
||||
public enum T016PartHexadecimal implements TerminatorPartAlt1ᶦᶦ<T016PartHexadecimal> {
|
||||
|
||||
PART_1 ("˥","氫","hydrogen", "0"),
|
||||
PART_2 ("˦","氦","helium", "1"),
|
||||
|
@ -30,9 +30,9 @@ public enum T016PartHex implements TerminatorPartAlt1ᶦᶦ<T016PartHex> {
|
|||
PART_16("꜑","硫","sulfur", "F"),
|
||||
;
|
||||
|
||||
public final static T016PartHex STATIC = T016PartHex.PART_1;
|
||||
public final static T016PartHexadecimal STATIC = T016PartHexadecimal.PART_1;
|
||||
|
||||
private T016PartHex(String dialTone, String chinaKey, String chinaValue, String alt1Value) {
|
||||
private T016PartHexadecimal(String dialTone, String chinaKey, String chinaValue, String alt1Value) {
|
||||
TerminatorPartᶦᶦ.Ꝑŕḯṿª₮ḕ.יהוהʸᴰ(this, dialTone, enumPart -> {
|
||||
enumPart.PUT_OBJ(TerminatorBullet.CHINA_KEY, chinaKey);
|
||||
enumPart.PUT_OBJ(TerminatorBullet.CHINA_VALUE, chinaValue);
|
|
@ -10,7 +10,7 @@ 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;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T016PartHexadecimal;
|
||||
|
||||
/**
|
||||
* Holds an 144 bit value.
|
||||
|
@ -46,14 +46,14 @@ public final class V144Tocta implements BaseNumberTyte<V144Tocta> {
|
|||
values[part.ordinal()] = value;
|
||||
}
|
||||
|
||||
public V009Tyte getTytePart(T016PartHex part) {
|
||||
public V009Tyte getTytePart(T016PartHexadecimal 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(T016PartHex part, V009Tyte value) {
|
||||
public void setTytePart(T016PartHexadecimal part, V009Tyte value) {
|
||||
getValue(part.splitPartBinary(T004PartQuad.PART_1))
|
||||
.getValue(part.splitPartBinary(T004PartQuad.PART_2))
|
||||
.getValue(part.splitPartBinary(T004PartQuad.PART_3))
|
||||
|
|
|
@ -15,7 +15,7 @@ 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.T010PartDecimal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T016PartHex;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T016PartHexadecimal;
|
||||
|
||||
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
@BãßBȍőnDuytsFlüstern注(purpose = "The number base glyph scripts.")
|
||||
|
@ -25,7 +25,7 @@ public enum BaseGlyphSet implements BãßBȍőnAbacusSetMBeanʸᴰ<BaseGlyphSet>
|
|||
|
||||
LATIN_BASIC(
|
||||
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(v -> T016PartHexadecimal.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 -> T010PartDecimal.STATIC.teŀráàmVoorElk(x -> v.add(x.rȧñkChinaWaarde()))).withSeperator(Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.STR_SPACE),
|
||||
|
@ -57,7 +57,7 @@ public enum BaseGlyphSet implements BãßBȍőnAbacusSetMBeanʸᴰ<BaseGlyphSet>
|
|||
|
||||
TONE_SCRIPT(
|
||||
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(v -> T016PartHexadecimal.STATIC.teŀráàmVoorElk(x -> v.add(x.rȧñkRingToon()))),
|
||||
new BaseGlyphSetNumber("꜊꜈","꜊꜉","꜊꜋","꜊꜌","꜊꜍","꜊꜎","꜊꜏","꜊꜐","꜊꜑","˧˥","˧˦","˧˨","˧˩","˧꜒","˧꜓","˧꜔","˧꜕","˧꜖","꜏˥","꜏˦","꜏˧","꜏˨","꜏˩","꜏꜍","꜏꜎","꜏꜐","꜏꜑")),
|
||||
DIPAVALI_LRPATH_TOPHEX(
|
||||
new BaseGlyphSetNumber(v -> T010PartDecimal.STATIC.teŀráàmVoorElk(x -> v.add(x.rȧñkAlt1Waarde()))),
|
||||
|
@ -267,7 +267,7 @@ public enum BaseGlyphSet implements BãßBȍőnAbacusSetMBeanʸᴰ<BaseGlyphSet>
|
|||
}
|
||||
|
||||
public String BȍőnPrintNumber16(BigInteger number) {
|
||||
String amount16 = number.toString(T016PartHex.STATIC.teŀráàmGroote());
|
||||
String amount16 = number.toString(T016PartHexadecimal.STATIC.teŀráàmGroote());
|
||||
StringBuilder buf16 = new StringBuilder();
|
||||
int c2 = 0;
|
||||
for (char c:amount16.toCharArray()) {
|
||||
|
|
|
@ -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 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("硫"));
|
||||
}
|
||||
}
|
|
@ -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 T016PartHexadecimalTest {
|
||||
|
||||
@Test
|
||||
public void testBasePart() {
|
||||
for (T016PartHexadecimal value:T016PartHexadecimal.values()) {
|
||||
Assertions.assertNotNull(value.rȧñkRingToon());
|
||||
Assertions.assertNotNull(value.rȧñkChinaSleutel());
|
||||
Assertions.assertNotNull(value.rȧñkChinaWaarde());
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testToneMap() {
|
||||
Assertions.assertEquals(T016PartHexadecimal.PART_1, T016PartHexadecimal.PART_1.teŀráàmWaardeVanRingToon("˥"));
|
||||
Assertions.assertEquals(T016PartHexadecimal.PART_2, T016PartHexadecimal.PART_1.teŀráàmWaardeVanRingToon("˦"));
|
||||
Assertions.assertEquals(T016PartHexadecimal.PART_15, T016PartHexadecimal.PART_1.teŀráàmWaardeVanRingToon("꜐"));
|
||||
Assertions.assertEquals(T016PartHexadecimal.PART_16, T016PartHexadecimal.PART_1.teŀráàmWaardeVanRingToon("꜑"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testChinaMap() {
|
||||
Assertions.assertEquals(T016PartHexadecimal.PART_1, T016PartHexadecimal.PART_1.ráàmWaardeVanChinaSleutel("氫"));
|
||||
Assertions.assertEquals(T016PartHexadecimal.PART_2, T016PartHexadecimal.PART_1.ráàmWaardeVanChinaSleutel("氦"));
|
||||
Assertions.assertEquals(T016PartHexadecimal.PART_15, T016PartHexadecimal.PART_1.ráàmWaardeVanChinaSleutel("磷"));
|
||||
Assertions.assertEquals(T016PartHexadecimal.PART_16, T016PartHexadecimal.PART_1.ráàmWaardeVanChinaSleutel("硫"));
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue