Moved naming like others to support to 999
This commit is contained in:
parent
87c119e5e3
commit
be5869a88e
|
@ -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ⁿᴰ<T extends BaseGetậl<T,V
|
|||
abstract protected int resolveFractalLevel(int level);
|
||||
|
||||
public V009Tyte getValue() {
|
||||
return values[matrix2].getTytePart(T16PartHex.values()[matrix1]);
|
||||
return values[matrix2].getTytePart(T016PartHex.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 T16PartHex.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
|
||||
return T016PartHex.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -2,8 +2,8 @@ package love.distributedrebirth.numberxd;
|
|||
|
||||
import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注;
|
||||
import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T12PartUncial;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T16PartHex;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T012PartUncial;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T016PartHex;
|
||||
import love.distributedrebirth.numberxd.base2t.type.V009Tyte;
|
||||
import love.distributedrebirth.numberxd.base2t.type.V144Tocta;
|
||||
|
||||
|
@ -17,7 +17,7 @@ abstract public class AbstractGroßGetậlŌṁ6ˢᴰ<T extends BaseGetậl<T,V0
|
|||
public AbstractGroßGetậlŌṁ6ˢᴰ(int fractalLevel) {
|
||||
this.fractalLevel = fractalLevel;
|
||||
this.valuesLength = resolveFractalLevel(fractalLevel);
|
||||
this.values = new V144Tocta[T12PartUncial.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()][valuesLength];
|
||||
this.values = new V144Tocta[T012PartUncial.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()][valuesLength];
|
||||
for (int x=0;x<this.values.length;x++) {
|
||||
for (int y=0;y<this.values[x].length;y++) {
|
||||
this.values[x][y] = new V144Tocta();
|
||||
|
@ -28,7 +28,7 @@ abstract public class AbstractGroßGetậlŌṁ6ˢᴰ<T extends BaseGetậl<T,V0
|
|||
public AbstractGroßGetậlŌṁ6ˢᴰ(int fractalLevel, BaseIteratorOctal values) {
|
||||
this.fractalLevel = fractalLevel;
|
||||
this.valuesLength = resolveFractalLevel(fractalLevel);
|
||||
this.values = new V144Tocta[T12PartUncial.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()][valuesLength];
|
||||
this.values = new V144Tocta[T012PartUncial.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()][valuesLength];
|
||||
for (int x=0;x<this.values.length;x++) {
|
||||
for (int y=0;y<this.values[x].length;y++) {
|
||||
this.values[x][y] = new V144Tocta(values);
|
||||
|
@ -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(T16PartHex.values()[matrix1]);
|
||||
return values[matrix2][matrix3].getTytePart(T016PartHex.values()[matrix1]);
|
||||
}
|
||||
|
||||
public int getFractalLevel() {
|
||||
|
@ -48,12 +48,12 @@ abstract public class AbstractGroßGetậlŌṁ6ˢᴰ<T extends BaseGetậl<T,V0
|
|||
|
||||
@Override
|
||||
public int getMatrix1Length() {
|
||||
return T16PartHex.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
|
||||
return T016PartHex.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMatrix2Length() {
|
||||
return T12PartUncial.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
|
||||
return T012PartUncial.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.T16PartHex;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T016PartHex;
|
||||
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(T16PartHex.values()[matrix1]);
|
||||
return value.getTytePart(T016PartHex.values()[matrix1]);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMatrix1Length() {
|
||||
return T16PartHex.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
|
||||
return T016PartHex.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package love.distributedrebirth.numberxd;
|
||||
|
||||
import love.distributedrebirth.numberxd.base2t.part.T12PartUncial;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T16PartHex;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T012PartUncial;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T016PartHex;
|
||||
import love.distributedrebirth.numberxd.base2t.type.V009Tyte;
|
||||
import love.distributedrebirth.numberxd.base2t.type.V144Tocta;
|
||||
import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注;
|
||||
|
@ -14,7 +14,7 @@ import love.distributedrebirth.numberxd.base2t.BaseIteratorOctalStack;
|
|||
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class GroßGetậl6ˢᴰ extends AbstractBaseGetậlMatrix2<GroßGetậl6ˢᴰ,V009Tyte> {
|
||||
|
||||
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<this.values.length;i++) {
|
||||
|
@ -29,17 +29,17 @@ public class GroßGetậl6ˢᴰ extends AbstractBaseGetậlMatrix2<GroßGetậl6
|
|||
}
|
||||
|
||||
public V009Tyte getValue() {
|
||||
return values[matrix2].getTytePart(T16PartHex.values()[matrix1]);
|
||||
return values[matrix2].getTytePart(T016PartHex.values()[matrix1]);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMatrix1Length() {
|
||||
return T16PartHex.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
|
||||
return T016PartHex.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMatrix2Length() {
|
||||
return T12PartUncial.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
|
||||
return T012PartUncial.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -6,7 +6,7 @@ import java.util.List;
|
|||
import love.distributedrebirth.bassboon.Bãß;
|
||||
import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注;
|
||||
import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T04PartQuad;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T004PartQuad;
|
||||
import love.distributedrebirth.numberxd.base2t.type.V009Tyte;
|
||||
import love.distributedrebirth.numberxd.base2t.type.V036Teger;
|
||||
import love.distributedrebirth.numberxd.unicode.BaseGlyphSet;
|
||||
|
@ -97,10 +97,10 @@ public class Gê̄ldGetậl extends AbstractBaseGetậlMatrix1<Gê̄ldGetậl,V0
|
|||
deelC = new Gê̄ldGetậlÅtHebrew();
|
||||
}
|
||||
value = new V036Teger();
|
||||
value.setTytePart(T04PartQuad.PART_1, full0.toTyte());
|
||||
value.setTytePart(T04PartQuad.PART_2, deelA.toTyte());
|
||||
value.setTytePart(T04PartQuad.PART_3, deelB.toTyte());
|
||||
value.setTytePart(T04PartQuad.PART_4, deelC.toTyte());
|
||||
value.setTytePart(T004PartQuad.PART_1, full0.toTyte());
|
||||
value.setTytePart(T004PartQuad.PART_2, deelA.toTyte());
|
||||
value.setTytePart(T004PartQuad.PART_3, deelB.toTyte());
|
||||
value.setTytePart(T004PartQuad.PART_4, deelC.toTyte());
|
||||
}
|
||||
|
||||
private boolean hasHebrewLetters(Gê̄ldGetậlÅtHebrew...nummers) {
|
||||
|
@ -113,10 +113,10 @@ public class Gê̄ldGetậl extends AbstractBaseGetậlMatrix1<Gê̄ldGetậl,V0
|
|||
}
|
||||
|
||||
public double toDecimalValue() {
|
||||
Gê̄ldGetậlÅtHebrew nummerFull0 = new Gê̄ldGetậlÅtHebrew(value.getTytePart(T04PartQuad.PART_1));
|
||||
Gê̄ldGetậlÅtHebrew nummerDeelA = new Gê̄ldGetậlÅtHebrew(value.getTytePart(T04PartQuad.PART_2));
|
||||
Gê̄ldGetậlÅtHebrew nummerDeelB = new Gê̄ldGetậlÅtHebrew(value.getTytePart(T04PartQuad.PART_3));
|
||||
Gê̄ldGetậlÅtHebrew nummerDeelC = new Gê̄ldGetậlÅtHebrew(value.getTytePart(T04PartQuad.PART_4));
|
||||
Gê̄ldGetậlÅtHebrew nummerFull0 = new Gê̄ldGetậlÅtHebrew(value.getTytePart(T004PartQuad.PART_1));
|
||||
Gê̄ldGetậlÅtHebrew nummerDeelA = new Gê̄ldGetậlÅtHebrew(value.getTytePart(T004PartQuad.PART_2));
|
||||
Gê̄ldGetậlÅtHebrew nummerDeelB = new Gê̄ldGetậlÅtHebrew(value.getTytePart(T004PartQuad.PART_3));
|
||||
Gê̄ldGetậlÅtHebrew nummerDeelC = new Gê̄ldGetậlÅtHebrew(value.getTytePart(T004PartQuad.PART_4));
|
||||
boolean hasFourDigits = hasHebrewLetters(nummerDeelA, nummerDeelB, nummerDeelC);
|
||||
double totalDecimalValue = nummerFull0.toDecimalValue(hasFourDigits);
|
||||
if (!Gê̄ldGetậlÅtHebrewLetter.NONE.equals(nummerDeelA.getLetter())) {
|
||||
|
@ -132,10 +132,10 @@ public class Gê̄ldGetậl extends AbstractBaseGetậlMatrix1<Gê̄ldGetậl,V0
|
|||
}
|
||||
|
||||
public String toFractionNotation(BaseGlyphSet glyphCharset, SourceGlyphCharSet sourceCharset) {
|
||||
Gê̄ldGetậlÅtHebrew nummerFull0 = new Gê̄ldGetậlÅtHebrew(value.getTytePart(T04PartQuad.PART_1));
|
||||
Gê̄ldGetậlÅtHebrew nummerDeelA = new Gê̄ldGetậlÅtHebrew(value.getTytePart(T04PartQuad.PART_2));
|
||||
Gê̄ldGetậlÅtHebrew nummerDeelB = new Gê̄ldGetậlÅtHebrew(value.getTytePart(T04PartQuad.PART_3));
|
||||
Gê̄ldGetậlÅtHebrew nummerDeelC = new Gê̄ldGetậlÅtHebrew(value.getTytePart(T04PartQuad.PART_4));
|
||||
Gê̄ldGetậlÅtHebrew nummerFull0 = new Gê̄ldGetậlÅtHebrew(value.getTytePart(T004PartQuad.PART_1));
|
||||
Gê̄ldGetậlÅtHebrew nummerDeelA = new Gê̄ldGetậlÅtHebrew(value.getTytePart(T004PartQuad.PART_2));
|
||||
Gê̄ldGetậlÅtHebrew nummerDeelB = new Gê̄ldGetậlÅtHebrew(value.getTytePart(T004PartQuad.PART_3));
|
||||
Gê̄ldGetậlÅtHebrew nummerDeelC = new Gê̄ldGetậlÅtHebrew(value.getTytePart(T004PartQuad.PART_4));
|
||||
boolean hasFourDigits = hasHebrewLetters(nummerDeelA, nummerDeelB, nummerDeelC);
|
||||
StringBuilder buf = new StringBuilder();
|
||||
buf.append(LEFT_TO_RIGHT_MARK);
|
||||
|
@ -166,10 +166,10 @@ public class Gê̄ldGetậl extends AbstractBaseGetậlMatrix1<Gê̄ldGetậl,V0
|
|||
}
|
||||
|
||||
public String toHebrewString(boolean reverse) {
|
||||
Gê̄ldGetậlÅtHebrew nummerFull0 = new Gê̄ldGetậlÅtHebrew(value.getTytePart(T04PartQuad.PART_1));
|
||||
Gê̄ldGetậlÅtHebrew nummerDeelA = new Gê̄ldGetậlÅtHebrew(value.getTytePart(T04PartQuad.PART_2));
|
||||
Gê̄ldGetậlÅtHebrew nummerDeelB = new Gê̄ldGetậlÅtHebrew(value.getTytePart(T04PartQuad.PART_3));
|
||||
Gê̄ldGetậlÅtHebrew nummerDeelC = new Gê̄ldGetậlÅtHebrew(value.getTytePart(T04PartQuad.PART_4));
|
||||
Gê̄ldGetậlÅtHebrew nummerFull0 = new Gê̄ldGetậlÅtHebrew(value.getTytePart(T004PartQuad.PART_1));
|
||||
Gê̄ldGetậlÅtHebrew nummerDeelA = new Gê̄ldGetậlÅtHebrew(value.getTytePart(T004PartQuad.PART_2));
|
||||
Gê̄ldGetậlÅtHebrew nummerDeelB = new Gê̄ldGetậlÅtHebrew(value.getTytePart(T004PartQuad.PART_3));
|
||||
Gê̄ldGetậlÅtHebrew nummerDeelC = new Gê̄ldGetậlÅtHebrew(value.getTytePart(T004PartQuad.PART_4));
|
||||
StringBuilder buf = new StringBuilder();
|
||||
buf.append(RIGHT_TO_LEFT_MARK);
|
||||
buf.append(nummerFull0.getLetter().getCharacter());
|
||||
|
@ -202,12 +202,12 @@ public class Gê̄ldGetậl extends AbstractBaseGetậlMatrix1<Gê̄ldGetậl,V0
|
|||
|
||||
@Override
|
||||
public int getMatrix1Length() {
|
||||
return T04PartQuad.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
|
||||
return T004PartQuad.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
|
||||
}
|
||||
|
||||
@Override
|
||||
public V009Tyte getValue() {
|
||||
return value.getTytePart(T04PartQuad.values()[matrix1]);
|
||||
return value.getTytePart(T004PartQuad.values()[matrix1]);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package love.distributedrebirth.numberxd;
|
||||
|
||||
import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注;
|
||||
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;
|
||||
import love.distributedrebirth.numberxd.base2t.type.V009Tyte;
|
||||
import love.distributedrebirth.numberxd.unicode.BaseGlyphSet;
|
||||
import love.distributedrebirth.numberxd.unicode.SourceGlyph;
|
||||
|
@ -27,9 +27,9 @@ public class Gê̄ldGetậlÅtHebrew {
|
|||
}
|
||||
|
||||
public Gê̄ldGetậlÅtHebrew(V009Tyte tyte) {
|
||||
int value0 = tyte.getValue(T03PartTrit.PART_1).ordinalOf(T08PartOctal.PART_1);
|
||||
int value1 = tyte.getValue(T03PartTrit.PART_2).ordinalOf(T08PartOctal.PART_2);
|
||||
int value2 = tyte.getValue(T03PartTrit.PART_3).ordinalOf(T08PartOctal.PART_3);
|
||||
int value0 = tyte.getValue(T003PartTrit.PART_1).ordinalOf(T008PartOctal.PART_1);
|
||||
int value1 = tyte.getValue(T003PartTrit.PART_2).ordinalOf(T008PartOctal.PART_2);
|
||||
int value2 = tyte.getValue(T003PartTrit.PART_3).ordinalOf(T008PartOctal.PART_3);
|
||||
int combinedValue = value0 + value1 + value2;
|
||||
letter = Gê̄ldGetậlÅtHebrewLetter.indexOf(combinedValue);
|
||||
vowel = Gê̄ldGetậlÅtHebrewVowel.indexOf(combinedValue >> 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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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<KlompGetậl4ˢᴰ,V0x000CA8ˣᴸ> {
|
||||
|
||||
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<this.values.length;i++) {
|
||||
|
@ -30,7 +30,7 @@ public class KlompGetậl4ˢᴰ extends AbstractBaseGetậlMatrix1<KlompGetậl4
|
|||
|
||||
@Override
|
||||
public int getMatrix1Length() {
|
||||
return T08PartOctal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
|
||||
return T008PartOctal.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.BaseIteratorOctalStack;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T08PartOctal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T008PartOctal;
|
||||
import love.distributedrebirth.numberxd.base2t.typexl.V0x000CA8ˣᴸ;
|
||||
|
||||
/**
|
||||
|
@ -20,7 +20,7 @@ public class KlompÅtŌṁKāassGetậl4ˢᴰ extends AbstractBaseGetậlMatrix2
|
|||
throw new IllegalArgumentException("Can't slice cheese into less than one peace.");
|
||||
}
|
||||
this.kaasCuts = kaasCuts;
|
||||
this.kaas = new V0x000CA8ˣᴸ[T08PartOctal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()][kaasCuts];
|
||||
this.kaas = new V0x000CA8ˣᴸ[T008PartOctal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()][kaasCuts];
|
||||
for (int x=0;x<this.kaas.length;x++) {
|
||||
for (int y=0;y<this.kaas[x].length;y++) {
|
||||
this.kaas[x][y] = new V0x000CA8ˣᴸ();
|
||||
|
@ -33,7 +33,7 @@ public class KlompÅtŌṁKāassGetậl4ˢᴰ extends AbstractBaseGetậlMatrix2
|
|||
throw new IllegalArgumentException("Can't slice cheese into less than one peace.");
|
||||
}
|
||||
this.kaasCuts = kaasCuts;
|
||||
this.kaas = new V0x000CA8ˣᴸ[T08PartOctal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()][kaasCuts];
|
||||
this.kaas = new V0x000CA8ˣᴸ[T008PartOctal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()][kaasCuts];
|
||||
for (int x=0;x<this.kaas.length;x++) {
|
||||
for (int y=0;y<this.kaas[x].length;y++) {
|
||||
this.kaas[x][y] = new V0x000CA8ˣᴸ(values);
|
||||
|
@ -52,7 +52,7 @@ public class KlompÅtŌṁKāassGetậl4ˢᴰ extends AbstractBaseGetậlMatrix2
|
|||
|
||||
@Override
|
||||
public int getMatrix1Length() {
|
||||
return T08PartOctal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
|
||||
return T008PartOctal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -4,7 +4,7 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注;
|
|||
import love.distributedrebirth.numberxd.BaseGetậl;
|
||||
import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal;
|
||||
import love.distributedrebirth.numberxd.base2t.BaseNumber;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T08PartOctal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T008PartOctal;
|
||||
|
||||
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class ŌctopǔsALU {
|
||||
|
@ -90,9 +90,9 @@ public class ŌctopǔsALU {
|
|||
}
|
||||
|
||||
@Override
|
||||
public T08PartOctal next() {
|
||||
T08PartOctal valA = bioA.next();
|
||||
T08PartOctal valB = bioB.next();
|
||||
public T008PartOctal next() {
|
||||
T008PartOctal valA = bioA.next();
|
||||
T008PartOctal valB = bioB.next();
|
||||
|
||||
int valANum = valA.rȧñkTelNul();
|
||||
int valBNum = valB.rȧñkTelNul();
|
||||
|
@ -103,7 +103,7 @@ public class ŌctopǔsALU {
|
|||
valResultNum = valA.teŀráàmWaardes().sizeᴿᵈ() -1;
|
||||
}
|
||||
|
||||
T08PartOctal valResult = T08PartOctal.values()[valResultNum];
|
||||
T008PartOctal valResult = T008PartOctal.values()[valResultNum];
|
||||
|
||||
return valResult;
|
||||
}
|
||||
|
|
|
@ -8,29 +8,29 @@ import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpiderWire注;
|
|||
import love.distributedrebirth.bassboon.yd.abacus.BãßBȍőnAbacusInstanceMBeanʸᴰ;
|
||||
import love.distributedrebirth.bassboon.yd.jmx.CounterGuageᴶᴹˣ;
|
||||
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.T04PartQuad;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T05PartPental;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T06PartSeximal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T07PartSeptet;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T08PartOctal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T09PartNonary;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T10PartDecimal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T11PartUndecimal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T12PartUncial;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T14PartTetradecimal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T15PartPenta;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T16PartHex;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T17PartHeptadecimal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T18PartOctodecimal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T002PartBinary;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T003PartTrit;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T004PartQuad;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T005PartPental;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T006PartSeximal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T007PartSeptet;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T008PartOctal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T009PartNonary;
|
||||
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.T017PartHeptadecimal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T018PartOctodecimal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T192PartCentebrailleimal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T20PartScore;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T21PartUnvigesimal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T25PartPentavigesimal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T60PartSexagesimal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T64PartTetrasexagesimal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T87PartXuanJing;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T020PartScore;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T021PartUnvigesimal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T025PartPentavigesimal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T060PartSexagesimal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T064PartTetrasexagesimal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T087PartXuanJing;
|
||||
|
||||
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
@BãßBȍőnDuytsFlüstern注(purpose = "Factory to access the bases.")
|
||||
|
@ -95,70 +95,70 @@ public enum Base2PartsFactory implements BãßBȍőnAbacusInstanceMBeanʸᴰ<Bas
|
|||
switch (base) {
|
||||
case 2:
|
||||
baseT02Reads.increment();
|
||||
return T02PartBinary.values();
|
||||
return T002PartBinary.values();
|
||||
case 3:
|
||||
baseT03Reads.increment();
|
||||
return T03PartTrit.values();
|
||||
return T003PartTrit.values();
|
||||
case 4:
|
||||
baseT04Reads.increment();
|
||||
return T04PartQuad.values();
|
||||
return T004PartQuad.values();
|
||||
case 5:
|
||||
baseT05Reads.increment();
|
||||
return T05PartPental.values();
|
||||
return T005PartPental.values();
|
||||
case 6:
|
||||
baseT06Reads.increment();
|
||||
return T06PartSeximal.values();
|
||||
return T006PartSeximal.values();
|
||||
case 7:
|
||||
baseT07Reads.increment();
|
||||
return T07PartSeptet.values();
|
||||
return T007PartSeptet.values();
|
||||
case 8:
|
||||
baseT08Reads.increment();
|
||||
return T08PartOctal.values();
|
||||
return T008PartOctal.values();
|
||||
case 9:
|
||||
baseT09Reads.increment();
|
||||
return T09PartNonary.values();
|
||||
return T009PartNonary.values();
|
||||
case 10:
|
||||
baseT10Reads.increment();
|
||||
return T10PartDecimal.values();
|
||||
return T010PartDecimal.values();
|
||||
case 11:
|
||||
baseT11Reads.increment();
|
||||
return T11PartUndecimal.values();
|
||||
return T011PartUndecimal.values();
|
||||
case 12:
|
||||
baseT12Reads.increment();
|
||||
return T12PartUncial.values();
|
||||
return T012PartUncial.values();
|
||||
case 14:
|
||||
// baseT16Reads.increment();
|
||||
return T14PartTetradecimal.values();
|
||||
return T014PartTetradecimal.values();
|
||||
case 15:
|
||||
// baseT16Reads.increment();
|
||||
return T15PartPenta.values();
|
||||
return T015PartPenta.values();
|
||||
case 16:
|
||||
baseT16Reads.increment();
|
||||
return T16PartHex.values();
|
||||
return T016PartHex.values();
|
||||
case 17:
|
||||
// baseT16Reads.increment();
|
||||
return T17PartHeptadecimal.values();
|
||||
return T017PartHeptadecimal.values();
|
||||
case 18:
|
||||
// baseT16Reads.increment();
|
||||
return T18PartOctodecimal.values();
|
||||
return T018PartOctodecimal.values();
|
||||
case 20:
|
||||
baseT20Reads.increment();
|
||||
return T20PartScore.values();
|
||||
return T020PartScore.values();
|
||||
case 21:
|
||||
// baseT20Reads.increment();
|
||||
return T21PartUnvigesimal.values();
|
||||
return T021PartUnvigesimal.values();
|
||||
case 25:
|
||||
// baseT20Reads.increment();
|
||||
return T25PartPentavigesimal.values();
|
||||
return T025PartPentavigesimal.values();
|
||||
case 60:
|
||||
baseT60Reads.increment();
|
||||
return T60PartSexagesimal.values();
|
||||
return T060PartSexagesimal.values();
|
||||
case 64:
|
||||
// baseT60Reads.increment();
|
||||
return T64PartTetrasexagesimal.values();
|
||||
return T064PartTetrasexagesimal.values();
|
||||
case 87:
|
||||
// baseT60Reads.increment();
|
||||
return T87PartXuanJing.values();
|
||||
return T087PartXuanJing.values();
|
||||
case 192:
|
||||
// baseT60Reads.increment();
|
||||
return T192PartCentebrailleimal.values();
|
||||
|
|
|
@ -14,7 +14,7 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnExport注;
|
|||
import love.distributedrebirth.bassboon.death.spider.BãßBȍőnSpiderWire注;
|
||||
import love.distributedrebirth.bassboon.yd.abacus.BãßBȍőnAbacusInstanceMBeanʸᴰ;
|
||||
import love.distributedrebirth.bassboon.yd.jmx.CounterGuageᴶᴹˣ;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T08PartOctal;
|
||||
import love.distributedrebirth.numberxd.base2t.part.T008PartOctal;
|
||||
import love.distributedrebirth.numberxd.base2t.type.V072Tong;
|
||||
import love.distributedrebirth.numberxd.base2t.type.V144Tocta;
|
||||
|
||||
|
@ -80,7 +80,7 @@ public enum Base2Terminator implements BãßBȍőnAbacusInstanceMBeanʸᴰ<Base2
|
|||
int v0 = (data[0] & 0xFF) + ((data[1] << SHIFT_8) & 0xFF00) + ((data[2] << SHIFT_16) & 0xFF0000);
|
||||
int v1 = (data[3] & 0xFF) + ((data[4] << SHIFT_8) & 0xFF00) + ((data[5] << SHIFT_16) & 0xFF0000);
|
||||
int v2 = (data[6] & 0xFF) + ((data[7] << SHIFT_8) & 0xFF00) + ((data[8] << SHIFT_16) & 0xFF0000);
|
||||
List<T08PartOctal> octals = Bãß2ReadOctals(v0, v1, v2);
|
||||
List<T008PartOctal> 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ʸᴰ<Base2
|
|||
int v3 = (data[9] & 0xFF) + ((data[10] << SHIFT_8) & 0xFF00) + ((data[11] << SHIFT_16) & 0xFF0000);
|
||||
int v4 = (data[12] & 0xFF) + ((data[13] << SHIFT_8) & 0xFF00) + ((data[14] << SHIFT_16) & 0xFF0000);
|
||||
int v5 = (data[15] & 0xFF) + ((data[16] << SHIFT_8) & 0xFF00) + ((data[17] << SHIFT_16) & 0xFF0000);
|
||||
List<T08PartOctal> octals = Bãß2ReadOctals(v0, v1, v2, v3, v4, v5);
|
||||
List<T008PartOctal> 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ʸᴰ<Base2
|
|||
}
|
||||
}
|
||||
|
||||
private List<T08PartOctal> Bãß2ReadOctals(int...values) {
|
||||
List<T08PartOctal> octals = new ArrayList<>();
|
||||
private List<T008PartOctal> Bãß2ReadOctals(int...values) {
|
||||
List<T008PartOctal> 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ʸᴰ<Base2
|
|||
|
||||
private <T extends BaseNumber<T>> int Bãß2Write(List<T> data, OutputStream output) throws IOException {
|
||||
int totalBytes = 0; // per 8 octa's is 3 bytes
|
||||
List<T08PartOctal> octals = new ArrayList<>();
|
||||
List<T008PartOctal> octals = new ArrayList<>();
|
||||
BaseAppenderOctal appender = new BaseAppenderOctal(octals);
|
||||
data.forEach(v -> v.fillOctalsByClone(appender));
|
||||
Iterator<T08PartOctal> read = octals.iterator();
|
||||
Iterator<T008PartOctal> 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);
|
||||
|
|
|
@ -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<T08PartOctal> {
|
||||
public final class BaseAppenderOctal extends BaseAppenderAdapter<T008PartOctal> {
|
||||
|
||||
public BaseAppenderOctal(Collection<T08PartOctal> collection) {
|
||||
public BaseAppenderOctal(Collection<T008PartOctal> collection) {
|
||||
super(collection);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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<T08PartOctal> {
|
||||
public interface BaseIteratorOctal extends Iterator<T008PartOctal> {
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -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<T08PartOctal> iterator;
|
||||
private final Iterator<T008PartOctal> iterator;
|
||||
|
||||
public BaseIteratorOctalAdapter(Iterator<T08PartOctal> iterator) {
|
||||
public BaseIteratorOctalAdapter(Iterator<T008PartOctal> iterator) {
|
||||
this.iterator = iterator;
|
||||
}
|
||||
|
||||
|
@ -23,7 +23,7 @@ public final class BaseIteratorOctalAdapter implements BaseIteratorOctal {
|
|||
}
|
||||
|
||||
@Override
|
||||
public T08PartOctal next() {
|
||||
public T008PartOctal next() {
|
||||
return iterator.next();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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.");
|
||||
}
|
||||
|
|
|
@ -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<V extends BaseNumber<V>> {
|
|||
void fillOctalsByClone(BaseAppenderOctal appender);
|
||||
|
||||
default BaseIteratorOctal iteratorOctalsByClone() {
|
||||
List<T08PartOctal> octals = new ArrayList<>();
|
||||
List<T008PartOctal> octals = new ArrayList<>();
|
||||
fillOctalsByClone(new BaseAppenderOctal(octals));
|
||||
return new BaseIteratorOctalAdapter(octals.iterator());
|
||||
}
|
||||
|
|
|
@ -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ʸᴰ<T02PartBinary> {
|
||||
public enum T002PartBinary implements BãßBȍőnPartʸᴰ<T002PartBinary> {
|
||||
|
||||
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);
|
|
@ -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ʸᴰ<T03PartTrit> {
|
||||
public enum T003PartTrit implements BãßBȍőnPartʸᴰ<T003PartTrit> {
|
||||
|
||||
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);
|
|
@ -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ʸᴰ<T04PartQuad> {
|
||||
public enum T004PartQuad implements BãßBȍőnPartAlt3ʸᴰ<T004PartQuad> {
|
||||
|
||||
PART_1("˥","仙","HallA [the immortal]","北","N","north"),
|
||||
PART_2("꜒","上","above [the] ", "東", "E","east"),
|
||||
|
@ -16,9 +16,9 @@ public enum T04PartQuad implements BãßBȍőnPartAlt3ʸᴰ<T04PartQuad> {
|
|||
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ʸᴰ<T04PartQuad> {
|
|||
});
|
||||
}
|
||||
|
||||
public T02PartBinary splitPartBinary(T02PartBinary part) {
|
||||
return T02PartBinary.values()[(ordinal() >> part.ordinal()) & 1];
|
||||
public T002PartBinary splitPartBinary(T002PartBinary part) {
|
||||
return T002PartBinary.values()[(ordinal() >> part.ordinal()) & 1];
|
||||
}
|
||||
}
|
|
@ -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ʸᴰ<T05PartPental> {
|
||||
public enum T005PartPental implements BãßBȍőnPartAlt2ʸᴰ<T005PartPental> {
|
||||
|
||||
PART_1("˥","火","fire", "EI","heile"),
|
||||
PART_2("˦","水","water","U", "hudor"),
|
||||
|
@ -16,9 +16,9 @@ public enum T05PartPental implements BãßBȍőnPartAlt2ʸᴰ<T05PartPental> {
|
|||
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);
|
|
@ -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ʸᴰ<T06PartSeximal> {
|
||||
public enum T006PartSeximal implements BãßBȍőnPartAlt2ʸᴰ<T006PartSeximal> {
|
||||
|
||||
PART_1("˦","四","4","A","⚀"),
|
||||
PART_2("˨","五","5","D","⚁"),
|
||||
|
@ -17,9 +17,9 @@ public enum T06PartSeximal implements BãßBȍőnPartAlt2ʸᴰ<T06PartSeximal> {
|
|||
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ʸᴰ<T06PartSeximal> {
|
|||
});
|
||||
}
|
||||
|
||||
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];
|
||||
}
|
||||
}
|
|
@ -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ʸᴰ<T07PartSeptet> {
|
||||
public enum T007PartSeptet implements BãßBȍőnPartAlt1ʸᴰ<T007PartSeptet> {
|
||||
|
||||
// TODO: replace with global unique one char china key value.
|
||||
|
||||
|
@ -19,9 +19,9 @@ public enum T07PartSeptet implements BãßBȍőnPartAlt1ʸᴰ<T07PartSeptet> {
|
|||
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);
|
|
@ -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ʸᴰ<T08PartOctal>, BãßBȍőnPartAlt1ʸᴰ<T08PartOctal> {
|
||||
public enum T008PartOctal implements BãßBȍőnPartShiftBitsʸᴰ<T008PartOctal>, BãßBȍőnPartAlt1ʸᴰ<T008PartOctal> {
|
||||
|
||||
PART_1("˥","乾","creative", 0, "☰"),
|
||||
PART_2("˩","兌","joyous", 3, "☱"),
|
||||
|
@ -20,9 +20,9 @@ public enum T08PartOctal implements BãßBȍőnPartShiftBitsʸᴰ<T08PartOctal>,
|
|||
|
||||
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ʸᴰ<T08PartOctal>,
|
|||
});
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
|
@ -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ʸᴰ<T09PartNonary> {
|
||||
public enum T009PartNonary implements BãßBȍőnPartʸᴰ<T009PartNonary> {
|
||||
|
||||
PART_1 ("˦","藍","blue"),
|
||||
PART_2 ("˨","皓","white"),
|
||||
|
@ -18,9 +18,9 @@ public enum T09PartNonary implements BãßBȍőnPartʸᴰ<T09PartNonary> {
|
|||
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);
|
|
@ -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ʸᴰ<T10PartDecimal> {
|
||||
public enum T010PartDecimal implements BãßBȍőnPartAlt2ʸᴰ<T010PartDecimal> {
|
||||
|
||||
PART_1 ("˥","零","zero", "꜌","꜒"),
|
||||
PART_2 ("˦","壹","one", "꜋","꜓"),
|
||||
|
@ -21,9 +21,9 @@ public enum T10PartDecimal implements BãßBȍőnPartAlt2ʸᴰ<T10PartDecimal> {
|
|||
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);
|
|
@ -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ʸᴰ<T11PartUndecimal> {
|
||||
public enum T011PartUndecimal implements BãßBȍőnPartʸᴰ<T011PartUndecimal> {
|
||||
|
||||
PART_1 ("˥","走","walk"),
|
||||
PART_2 ("꜈","跑","run"),
|
||||
|
@ -20,9 +20,9 @@ public enum T11PartUndecimal implements BãßBȍőnPartʸᴰ<T11PartUndecimal> {
|
|||
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);
|
|
@ -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ʸᴰ<T12PartUncial> {
|
||||
public enum T012PartUncial implements BãßBȍőnPartAlt1ʸᴰ<T012PartUncial> {
|
||||
|
||||
PART_1 ("˥","日","sun", "সা"),
|
||||
PART_2 ("˧","月","moon", "ঋ"),
|
||||
|
@ -22,9 +22,9 @@ public enum T12PartUncial implements BãßBȍőnPartAlt1ʸᴰ<T12PartUncial> {
|
|||
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);
|
|
@ -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ʸᴰ<T14PartTetradecimal> {
|
||||
public enum T014PartTetradecimal implements BãßBȍőnPartʸᴰ<T014PartTetradecimal> {
|
||||
|
||||
// TODO: replace with global unique one char china key value.
|
||||
|
||||
|
@ -25,9 +25,9 @@ public enum T14PartTetradecimal implements BãßBȍőnPartʸᴰ<T14PartTetradeci
|
|||
PART_14 ("˦˨","期門","qimen"),
|
||||
;
|
||||
|
||||
public final static T14PartTetradecimal STATIC = T14PartTetradecimal.PART_1;
|
||||
public final static T014PartTetradecimal STATIC = T014PartTetradecimal.PART_1;
|
||||
|
||||
private T14PartTetradecimal(String dialTone, String chinaKey, String chinaValue) {
|
||||
private T014PartTetradecimal(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);
|
|
@ -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ʸᴰ<T15PartPenta> {
|
||||
public enum T015PartPenta implements BãßBȍőnPartʸᴰ<T015PartPenta> {
|
||||
|
||||
// TODO: replace with global unique one char china key value.
|
||||
|
||||
|
@ -27,9 +27,9 @@ public enum T15PartPenta implements BãßBȍőnPartʸᴰ<T15PartPenta> {
|
|||
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);
|
|
@ -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ʸᴰ<T16PartHex> {
|
||||
public enum T016PartHex implements BãßBȍőnPartAlt1ʸᴰ<T016PartHex> {
|
||||
|
||||
PART_1 ("˥","氫","hydrogen", "0"),
|
||||
PART_2 ("˦","氦","helium", "1"),
|
||||
|
@ -26,9 +26,9 @@ public enum T16PartHex implements BãßBȍőnPartAlt1ʸᴰ<T16PartHex> {
|
|||
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ʸᴰ<T16PartHex> {
|
|||
});
|
||||
}
|
||||
|
||||
public T02PartBinary splitPartBinary(T04PartQuad part) {
|
||||
return T02PartBinary.values()[(ordinal() >> part.ordinal()) & 1];
|
||||
public T002PartBinary splitPartBinary(T004PartQuad part) {
|
||||
return T002PartBinary.values()[(ordinal() >> part.ordinal()) & 1];
|
||||
}
|
||||
}
|
|
@ -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ʸᴰ<T17PartHeptadecimal> {
|
||||
public enum T017PartHeptadecimal implements BãßBȍőnPartAlt2ʸᴰ<T017PartHeptadecimal> {
|
||||
|
||||
// TODO: replace with global unique one char china key value.
|
||||
|
||||
|
@ -30,9 +30,9 @@ public enum T17PartHeptadecimal implements BãßBȍőnPartAlt2ʸᴰ<T17PartHepta
|
|||
PART_17("˦꜕","贵", "guizhou","B", "si"),
|
||||
;
|
||||
|
||||
public final static T17PartHeptadecimal STATIC = T17PartHeptadecimal.PART_1;
|
||||
public final static T017PartHeptadecimal STATIC = T017PartHeptadecimal.PART_1;
|
||||
|
||||
private T17PartHeptadecimal(String dialTone, String chinaKey, String chinaValue, String alt1Value, String alt2Value) {
|
||||
private T017PartHeptadecimal(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);
|
|
@ -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ʸᴰ<T18PartOctodecimal> {
|
||||
public enum T018PartOctodecimal implements BãßBȍőnPartʸᴰ<T018PartOctodecimal> {
|
||||
|
||||
PART_1 ("˥˥","心", "heart"),
|
||||
PART_2 ("˥˦","眼", "eye"),
|
||||
|
@ -27,9 +27,9 @@ public enum T18PartOctodecimal implements BãßBȍőnPartʸᴰ<T18PartOctodecima
|
|||
PART_18("˦꜔","背", "back"),
|
||||
;
|
||||
|
||||
public final static T18PartOctodecimal STATIC = T18PartOctodecimal.PART_1;
|
||||
public final static T018PartOctodecimal STATIC = T018PartOctodecimal.PART_1;
|
||||
|
||||
private T18PartOctodecimal(String dialTone, String chinaKey, String chinaValue) {
|
||||
private T018PartOctodecimal(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);
|
|
@ -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ʸᴰ<T20PartScore> {
|
||||
public enum T020PartScore implements BãßBȍőnPartAlt4ʸᴰ<T020PartScore> {
|
||||
|
||||
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ʸᴰ<T20PartScore> {
|
|||
PART_20("꜑", "幺", "yocto", "y", "J", "K", "X"),
|
||||
;
|
||||
|
||||
private static final Map<String, T20PartScore> OPENLC_MAP = Collections.unmodifiableMap(
|
||||
private static final Map<String, T020PartScore> 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ʸᴰ<T20PartScore> {
|
|||
});
|
||||
}
|
||||
|
||||
public T20PartScore BãßValueOfOpenLC(String openLCKey) {
|
||||
public T020PartScore BãßValueOfOpenLC(String openLCKey) {
|
||||
return OPENLC_MAP.get(openLCKey);
|
||||
}
|
||||
}
|
|
@ -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ʸᴰ<T21PartUnvigesimal> {
|
||||
public enum T021PartUnvigesimal implements BãßBȍőnPartAlt2ʸᴰ<T021PartUnvigesimal> {
|
||||
|
||||
// TODO: replace with global unique one char china key value.
|
||||
|
||||
|
@ -35,9 +35,9 @@ public enum T21PartUnvigesimal implements BãßBȍőnPartAlt2ʸᴰ<T21PartUnvige
|
|||
PART_21("˧˥","成都市","chengdu", "B♯", "Si♯"),
|
||||
;
|
||||
|
||||
public final static T21PartUnvigesimal STATIC = T21PartUnvigesimal.PART_1;
|
||||
public final static T021PartUnvigesimal STATIC = T021PartUnvigesimal.PART_1;
|
||||
|
||||
private T21PartUnvigesimal(String dialTone, String chinaKey, String chinaValue, String alt1Value, String alt2Value) {
|
||||
private T021PartUnvigesimal(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);
|
|
@ -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ʸᴰ<T25PartPentavigesimal> {
|
||||
public enum T025PartPentavigesimal implements BãßBȍőnPartʸᴰ<T025PartPentavigesimal> {
|
||||
|
||||
PART_1("˥˥","𝍠","1D360"),
|
||||
PART_2("˥˦","𝍡","1D361"),
|
||||
|
@ -35,9 +35,9 @@ public enum T25PartPentavigesimal implements BãßBȍőnPartʸᴰ<T25PartPentavi
|
|||
PART_25("˧˩","𝍸","1D378"),
|
||||
;
|
||||
|
||||
public final static T25PartPentavigesimal STATIC = T25PartPentavigesimal.PART_1;
|
||||
public final static T025PartPentavigesimal STATIC = T025PartPentavigesimal.PART_1;
|
||||
|
||||
private T25PartPentavigesimal(String dialTone, String chinaKey, String chinaValue) {
|
||||
private T025PartPentavigesimal(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);
|
|
@ -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ʸᴰ<T60PartSexagesimal> {
|
||||
public enum T060PartSexagesimal implements BãßBȍőnPartʸᴰ<T060PartSexagesimal> {
|
||||
|
||||
// todo: convert to 60; https://en.wikipedia.org/wiki/Chinese_zodiac
|
||||
|
||||
|
@ -71,9 +71,9 @@ public enum T60PartSexagesimal implements BãßBȍőnPartʸᴰ<T60PartSexagesima
|
|||
PART_60("꜒꜖","蘋","apple"),
|
||||
;
|
||||
|
||||
public final static T60PartSexagesimal STATIC = T60PartSexagesimal.PART_1;
|
||||
public final static T060PartSexagesimal STATIC = T060PartSexagesimal.PART_1;
|
||||
|
||||
private T60PartSexagesimal(String dialTone, String chinaKey, String chinaValue) {
|
||||
private T060PartSexagesimal(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);
|
|
@ -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ʸᴰ<T64PartTetrasexagesimal> {
|
||||
public enum T064PartTetrasexagesimal implements BãßBȍőnPartAlt2ʸᴰ<T064PartTetrasexagesimal> {
|
||||
|
||||
PART_1 ("˥˥","䷀","force", "⠀","A"),
|
||||
PART_2 ("˥˦","䷁","field", "⠁","B"),
|
||||
|
@ -76,9 +76,9 @@ public enum T64PartTetrasexagesimal implements BãßBȍőnPartAlt2ʸᴰ<T64PartT
|
|||
PART_64("꜕˨","䷿","fording", "⠿","/"),
|
||||
;
|
||||
|
||||
public final static T64PartTetrasexagesimal STATIC = T64PartTetrasexagesimal.PART_1;
|
||||
public final static T064PartTetrasexagesimal STATIC = T064PartTetrasexagesimal.PART_1;
|
||||
|
||||
private T64PartTetrasexagesimal(String dialTone, String chinaKey, String chinaValue, String alt1Value, String alt2Value) {
|
||||
private T064PartTetrasexagesimal(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);
|
|
@ -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ʸᴰ<T87PartXuanJing> {
|
||||
public enum T087PartXuanJing implements BãßBȍőnPartʸᴰ<T087PartXuanJing> {
|
||||
|
||||
PART_1("˥˥","𝌀","1D300"),
|
||||
PART_2("˥˦","𝌁","1D301"),
|
||||
|
@ -96,9 +96,9 @@ public enum T87PartXuanJing implements BãßBȍőnPartʸᴰ<T87PartXuanJing> {
|
|||
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);
|
|
@ -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<V006Tixte> {
|
||||
|
||||
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<V006Tixte> {
|
|||
|
||||
@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()]);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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<V009Tyte> {
|
||||
|
||||
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<V009Tyte> {
|
|||
|
||||
@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
|
||||
|
|
|
@ -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<V018Tord> {
|
||||
|
||||
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<V018Tord> {
|
|||
}
|
||||
|
||||
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<V018Tord> {
|
|||
|
||||
@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<V018Tord> {
|
|||
|
||||
@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));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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<V027Temvig> {
|
||||
|
||||
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<V027Temvig> {
|
|||
}
|
||||
|
||||
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<V027Temvig> {
|
|||
|
||||
@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<V027Temvig> {
|
|||
|
||||
@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));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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<V036Teger> {
|
||||
|
||||
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<V036Teger> {
|
|||
}
|
||||
|
||||
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<V036Teger> {
|
|||
|
||||
@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<V036Teger> {
|
|||
|
||||
@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));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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<V042Traw> {
|
||||
|
||||
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<values.length;i++) {
|
||||
|
@ -27,11 +27,11 @@ public final class V042Traw implements BaseNumber<V042Traw> {
|
|||
}
|
||||
}
|
||||
|
||||
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<V042Traw> {
|
|||
|
||||
@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));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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<V072Tong> {
|
||||
|
||||
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<V072Tong> {
|
|||
}
|
||||
|
||||
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<V072Tong> {
|
|||
|
||||
@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<V072Tong> {
|
|||
|
||||
@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));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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<V144Tocta> {
|
||||
|
||||
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<V144Tocta> {
|
|||
}
|
||||
|
||||
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<V144Tocta> {
|
|||
|
||||
@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<V144Tocta> {
|
|||
|
||||
@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));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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ˣᴸ<V0x000348ˣᴸ> {
|
||||
|
||||
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<values.length;i++) {
|
||||
|
@ -28,11 +28,11 @@ public class V0x000348ˣᴸ implements BaseNumberˣᴸ<V0x000348ˣᴸ> {
|
|||
}
|
||||
}
|
||||
|
||||
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ˣᴸ<V0x000348ˣᴸ> {
|
|||
|
||||
@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));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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ˣᴸ<V0x000654ˣᴸ> {
|
||||
|
||||
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<this.values.length;i++) {
|
||||
|
@ -36,11 +36,11 @@ public class V0x000654ˣᴸ implements BaseNumberTyteˣᴸ<V0x000654ˣᴸ> {
|
|||
}
|
||||
}
|
||||
|
||||
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ˣᴸ<V0x000654ˣᴸ> {
|
|||
|
||||
@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ˣᴸ<V0x000654ˣᴸ> {
|
|||
|
||||
@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));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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ˣᴸ<V0x000CA8ˣᴸ> {
|
||||
|
||||
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ˣᴸ<V0x000CA8ˣᴸ> {
|
|||
}
|
||||
|
||||
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ˣᴸ<V0x000CA8ˣᴸ> {
|
|||
|
||||
@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ˣᴸ<V0x000CA8ˣᴸ> {
|
|||
|
||||
@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));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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ˣᴸ<V0x0013B0ˣᴸ> {
|
||||
|
||||
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<values.length;i++) {
|
||||
|
@ -27,11 +27,11 @@ public class V0x0013B0ˣᴸ implements BaseNumberˣᴸ<V0x0013B0ˣᴸ> {
|
|||
}
|
||||
}
|
||||
|
||||
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ˣᴸ<V0x0013B0ˣᴸ> {
|
|||
|
||||
@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));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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ʸᴰ<BaseGlyphSet>
|
|||
// 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ʸᴰ<BaseGlyphSet>
|
|||
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ʸᴰ<BaseGlyphSet>
|
|||
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ʸᴰ<BaseGlyphSet>
|
|||
}
|
||||
|
||||
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()) {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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<V072To
|
|||
public void bindChild(Element childElement, V072Tong parent, Object childObject) throws ElementBindingHandlerException {
|
||||
if (childObject instanceof V072TongP1) {
|
||||
V072TongP1 p1 = (V072TongP1)childObject;
|
||||
parent.setValue(T02PartBinary.PART_1, p1.theValue());
|
||||
parent.setValue(T002PartBinary.PART_1, p1.theValue());
|
||||
}
|
||||
if (childObject instanceof V072TongP2) {
|
||||
V072TongP2 p2 = (V072TongP2)childObject;
|
||||
parent.setValue(T02PartBinary.PART_2, p2.theValue());
|
||||
parent.setValue(T002PartBinary.PART_2, p2.theValue());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -37,8 +37,8 @@ public class V072TongBindingHandler extends AbstractElementBindingHandler<V072To
|
|||
public void createChilderen(Element parentElement,V072Tong parent) throws ElementBindingHandlerException {
|
||||
V072TongP1 p1 = new V072TongP1();
|
||||
V072TongP2 p2 = new V072TongP2();
|
||||
p1.setValue(parent.getValue(T02PartBinary.PART_1));
|
||||
p2.setValue(parent.getValue(T02PartBinary.PART_2));
|
||||
p1.setValue(parent.getValue(T002PartBinary.PART_1));
|
||||
p2.setValue(parent.getValue(T002PartBinary.PART_2));
|
||||
createChild(parentElement, p1);
|
||||
createChild(parentElement, p2);
|
||||
}
|
||||
|
|
|
@ -10,7 +10,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.V072Tong;
|
||||
|
||||
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
|
@ -19,8 +19,8 @@ public class Base2TerminatorTest {
|
|||
@Test
|
||||
public void testBytes() throws IOException {
|
||||
V072Tong tong = new V072Tong();
|
||||
tong.getValue(T02PartBinary.PART_1).setValueNumber(32768);
|
||||
tong.getValue(T02PartBinary.PART_2).setValueNumber(689024);
|
||||
tong.getValue(T002PartBinary.PART_1).setValueNumber(32768);
|
||||
tong.getValue(T002PartBinary.PART_2).setValueNumber(689024);
|
||||
|
||||
List<V072Tong> 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());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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("高"));
|
||||
}
|
||||
}
|
|
@ -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("三"));
|
||||
}
|
||||
}
|
|
@ -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("天"));
|
||||
}
|
||||
}
|
|
@ -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("土"));
|
||||
}
|
||||
}
|
|
@ -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("九"));
|
||||
}
|
||||
}
|
|
@ -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("नि"));
|
||||
}
|
||||
}
|
|
@ -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("坤"));
|
||||
}
|
||||
}
|
|
@ -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("紺"));
|
||||
}
|
||||
}
|
|
@ -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("玖"));
|
||||
}
|
||||
}
|
|
@ -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("耦"));
|
||||
}
|
||||
}
|
|
@ -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("亞"));
|
||||
}
|
||||
}
|
|
@ -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("硫"));
|
||||
}
|
||||
}
|
|
@ -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"));
|
||||
}
|
||||
}
|
|
@ -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("三"));
|
||||
}
|
||||
}
|
|
@ -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("天"));
|
||||
}
|
||||
}
|
|
@ -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("土"));
|
||||
}
|
||||
}
|
|
@ -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("蘋"));
|
||||
}
|
||||
}
|
|
@ -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("九"));
|
||||
}
|
||||
}
|
|
@ -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("नि"));
|
||||
}
|
||||
}
|
|
@ -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("坤"));
|
||||
}
|
||||
}
|
|
@ -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("紺"));
|
||||
}
|
||||
}
|
|
@ -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("玖"));
|
||||
}
|
||||
}
|
|
@ -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("耦"));
|
||||
}
|
||||
}
|
|
@ -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("亞"));
|
||||
}
|
||||
}
|
|
@ -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("硫"));
|
||||
}
|
||||
}
|
|
@ -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"));
|
||||
}
|
||||
}
|
|
@ -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("蘋"));
|
||||
}
|
||||
}
|
|
@ -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<V072Tong> 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<V072Tong> 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;
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue