Moved XL number types to size only name.

This commit is contained in:
Willem Cazander 2022-02-03 18:52:59 +01:00
parent 1bd8e53c6b
commit 954945d1fe
17 changed files with 301 additions and 115 deletions

View file

@ -8,7 +8,7 @@ import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal;
import love.distributedrebirth.numberxd.base2t.BaseAppenderTyte; import love.distributedrebirth.numberxd.base2t.BaseAppenderTyte;
import love.distributedrebirth.numberxd.base2t.BaseIteratorTyte; import love.distributedrebirth.numberxd.base2t.BaseIteratorTyte;
import love.distributedrebirth.numberxd.base2t.type.V009Tyte; import love.distributedrebirth.numberxd.base2t.type.V009Tyte;
import love.distributedrebirth.numberxd.base2t.type.V090Tocta; import love.distributedrebirth.numberxd.base2t.type.V144Tocta;
/** /**
* Holds an 144 bit fraction. * Holds an 144 bit fraction.
@ -19,7 +19,7 @@ public class GroßGetậl1ⁿᴰ implements BaseGetậl<GroßGetậl1ⁿᴰ> {
public static int NUMERATOR_SIZE = 7; public static int NUMERATOR_SIZE = 7;
public static int DENOMINATOR_SIZE = 9; public static int DENOMINATOR_SIZE = 9;
public static int BIT_COUNT = V090Tocta.BIT_COUNT; public static int BIT_COUNT = V144Tocta.BIT_COUNT;
private final V009Tyte[] numerator = new V009Tyte[NUMERATOR_SIZE]; private final V009Tyte[] numerator = new V009Tyte[NUMERATOR_SIZE];
private final V009Tyte[] denominator = new V009Tyte[DENOMINATOR_SIZE]; private final V009Tyte[] denominator = new V009Tyte[DENOMINATOR_SIZE];
@ -50,7 +50,7 @@ public class GroßGetậl1ⁿᴰ implements BaseGetậl<GroßGetậl1ⁿᴰ> {
} }
} }
public GroßGetậl1ⁿᴰ(V090Tocta tocta) { public GroßGetậl1ⁿᴰ(V144Tocta tocta) {
List<V009Tyte> tytes = new ArrayList<>(); List<V009Tyte> tytes = new ArrayList<>();
tocta.fillTytesByReference(new BaseAppenderTyte(tytes)); tocta.fillTytesByReference(new BaseAppenderTyte(tytes));
for (int i=0;i<NUMERATOR_SIZE;i++) { for (int i=0;i<NUMERATOR_SIZE;i++) {
@ -61,17 +61,17 @@ public class GroßGetậl1ⁿᴰ implements BaseGetậl<GroßGetậl1ⁿᴰ> {
} }
} }
public V090Tocta toToctaByReference() { public V144Tocta toToctaByReference() {
return new V090Tocta(iteratorTytesByReference()); return new V144Tocta(iteratorTytesByReference());
} }
public V090Tocta toToctaByClone() { public V144Tocta toToctaByClone() {
return new V090Tocta(iteratorOctalsByClone()); return new V144Tocta(iteratorOctalsByClone());
} }
@Override @Override
public int getBitCount() { public int getBitCount() {
return V090Tocta.BIT_COUNT; return V144Tocta.BIT_COUNT;
} }
@Override @Override

View file

@ -4,7 +4,7 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
import love.distributedrebirth.numberxd.base2t.part.T04PartQuad; import love.distributedrebirth.numberxd.base2t.part.T04PartQuad;
import love.distributedrebirth.numberxd.base2t.type.V024Teger; import love.distributedrebirth.numberxd.base2t.type.V036Teger;
/** /**
* *
@ -20,7 +20,7 @@ public class Gê̄ldGetậl {
private static final Character LEFT_TO_RIGHT_MARK = 0x200E; private static final Character LEFT_TO_RIGHT_MARK = 0x200E;
private static final Character RIGHT_TO_LEFT_MARK = 0x200F; private static final Character RIGHT_TO_LEFT_MARK = 0x200F;
public Gê̄ldGetậl(V024Teger teger) { public Gê̄ldGetậl(V036Teger teger) {
this( this(
new Gê̄ldGetậlÅtHebrew(teger.getTytePart(T04PartQuad.PART_1)), new Gê̄ldGetậlÅtHebrew(teger.getTytePart(T04PartQuad.PART_1)),
new Gê̄ldGetậlÅtHebrew(teger.getTytePart(T04PartQuad.PART_2)), new Gê̄ldGetậlÅtHebrew(teger.getTytePart(T04PartQuad.PART_2)),
@ -146,8 +146,8 @@ public class Gê̄ldGetậl {
return totalDecimalValue; return totalDecimalValue;
} }
public V024Teger toTeger() { public V036Teger toTeger() {
V024Teger result = new V024Teger(); V036Teger result = new V036Teger();
result.setTytePart(T04PartQuad.PART_1, nummerAlphabet.toTyte()); result.setTytePart(T04PartQuad.PART_1, nummerAlphabet.toTyte());
result.setTytePart(T04PartQuad.PART_2, nummerDeelA.toTyte()); result.setTytePart(T04PartQuad.PART_2, nummerDeelA.toTyte());
result.setTytePart(T04PartQuad.PART_3, nummerDeelB.toTyte()); result.setTytePart(T04PartQuad.PART_3, nummerDeelB.toTyte());

View file

@ -2,8 +2,8 @@ package love.distributedrebirth.numberxd;
import love.distributedrebirth.numberxd.base2t.BaseNumberTyte; import love.distributedrebirth.numberxd.base2t.BaseNumberTyte;
import love.distributedrebirth.numberxd.base2t.part.T08PartOctal; import love.distributedrebirth.numberxd.base2t.part.T08PartOctal;
import love.distributedrebirth.numberxd.base2t.type.V654Triz; import love.distributedrebirth.numberxd.base2t.typexl.V0x000654ˣᴸ;
import love.distributedrebirth.numberxd.base2t.type.VCA8Tath; import love.distributedrebirth.numberxd.base2t.typexl.V0x000CA8ˣᴸ;
import love.distributedrebirth.numberxd.base2t.BaseAppenderOctal; import love.distributedrebirth.numberxd.base2t.BaseAppenderOctal;
import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal; import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal;
import love.distributedrebirth.numberxd.base2t.BaseAppenderTyte; import love.distributedrebirth.numberxd.base2t.BaseAppenderTyte;
@ -18,26 +18,26 @@ import love.distributedrebirth.numberxd.base2t.BaseAppenderTyte;
*/ */
public class KlompGetậl4ˢᴰ implements BaseNumberTyte<KlompGetậl4ˢᴰ> { public class KlompGetậl4ˢᴰ implements BaseNumberTyte<KlompGetậl4ˢᴰ> {
public static int BIT_COUNT = V654Triz.BIT_COUNT * T08PartOctal.LENGTH(); public static int BIT_COUNT = V0x000654ˣᴸ.BIT_COUNT * T08PartOctal.LENGTH();
private final VCA8Tath[] values = new VCA8Tath[T08PartOctal.LENGTH()]; private final V0x000CA8ˣᴸ[] values = new V0x000CA8ˣᴸ[T08PartOctal.LENGTH()];
public KlompGetậl4ˢᴰ() { public KlompGetậl4ˢᴰ() {
for (int i=0;i<this.values.length;i++) { for (int i=0;i<this.values.length;i++) {
this.values[i] = new VCA8Tath(); this.values[i] = new V0x000CA8ˣᴸ();
} }
} }
public KlompGetậl4ˢᴰ(BaseIteratorOctal values) { public KlompGetậl4ˢᴰ(BaseIteratorOctal values) {
for (int i=0;i<this.values.length;i++) { for (int i=0;i<this.values.length;i++) {
this.values[i] = new VCA8Tath(values); this.values[i] = new V0x000CA8ˣᴸ(values);
} }
} }
public VCA8Tath getValue(T08PartOctal part) { public V0x000CA8ˣᴸ getValue(T08PartOctal part) {
return values[part.ordinal()]; return values[part.ordinal()];
} }
public void setValue(T08PartOctal part, VCA8Tath value) { public void setValue(T08PartOctal part, V0x000CA8ˣᴸ value) {
values[part.ordinal()] = value; values[part.ordinal()] = value;
} }

View file

@ -10,8 +10,8 @@ import java.util.List;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnEnumInstanceʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnEnumInstanceʸᴰ;
import love.distributedrebirth.numberxd.base2t.part.T08PartOctal; import love.distributedrebirth.numberxd.base2t.part.T08PartOctal;
import love.distributedrebirth.numberxd.base2t.type.V048Tong; import love.distributedrebirth.numberxd.base2t.type.V072Tong;
import love.distributedrebirth.numberxd.base2t.type.V090Tocta; import love.distributedrebirth.numberxd.base2t.type.V144Tocta;
/** /**
* Terminate from and to classical bytes. * Terminate from and to classical bytes.
@ -27,7 +27,7 @@ public enum Base2Terminator implements BãßBȍőnEnumInstanceʸᴰ<Base2Termina
private static final int SHIFT_8 = 8; private static final int SHIFT_8 = 8;
private static final int SHIFT_16 = 16; private static final int SHIFT_16 = 16;
public int Bãß2ReadTong(InputStream input, List<V048Tong> output) throws IOException { public int Bãß2ReadTong(InputStream input, List<V072Tong> output) throws IOException {
int totalBytes = 0; int totalBytes = 0;
byte[] data = new byte[BLOCK_TONG_SIZE]; byte[] data = new byte[BLOCK_TONG_SIZE];
int readDataSize = 0; // per 9 bytes we have 24 octals for one V072Tong number int readDataSize = 0; // per 9 bytes we have 24 octals for one V072Tong number
@ -37,13 +37,13 @@ public enum Base2Terminator implements BãßBȍőnEnumInstanceʸᴰ<Base2Termina
int v1 = data[3] + (data[4] << SHIFT_8) + (data[5] << SHIFT_16); int v1 = data[3] + (data[4] << SHIFT_8) + (data[5] << SHIFT_16);
int v2 = data[6] + (data[7] << SHIFT_8) + (data[8] << SHIFT_16); int v2 = data[6] + (data[7] << SHIFT_8) + (data[8] << SHIFT_16);
List<T08PartOctal> octals = Bãß2ReadOctals(v0, v1, v2); List<T08PartOctal> octals = Bãß2ReadOctals(v0, v1, v2);
output.add(new V048Tong(new BaseIteratorOctal(octals.iterator()))); output.add(new V072Tong(new BaseIteratorOctal(octals.iterator())));
totalBytes += BLOCK_TONG_SIZE; totalBytes += BLOCK_TONG_SIZE;
} }
return totalBytes; return totalBytes;
} }
public int Bãß2ReadTocta(InputStream input, List<V090Tocta> output) throws IOException { public int Bãß2ReadTocta(InputStream input, List<V144Tocta> output) throws IOException {
int totalBytes = 0; int totalBytes = 0;
byte[] data = new byte[BLOCK_TOCTA_SIZE]; byte[] data = new byte[BLOCK_TOCTA_SIZE];
int readDataSize = 0; // per 18 bytes we have 48 octals for one V144Tocta number int readDataSize = 0; // per 18 bytes we have 48 octals for one V144Tocta number
@ -56,7 +56,7 @@ public enum Base2Terminator implements BãßBȍőnEnumInstanceʸᴰ<Base2Termina
int v4 = data[12] + (data[13] << SHIFT_8) + (data[14] << SHIFT_16); int v4 = data[12] + (data[13] << SHIFT_8) + (data[14] << SHIFT_16);
int v5 = data[15] + (data[16] << SHIFT_8) + (data[17] << SHIFT_16); int v5 = data[15] + (data[16] << SHIFT_8) + (data[17] << SHIFT_16);
List<T08PartOctal> octals = Bãß2ReadOctals(v0, v1, v2, v3, v4, v5); List<T08PartOctal> octals = Bãß2ReadOctals(v0, v1, v2, v3, v4, v5);
output.add(new V090Tocta(new BaseIteratorOctal(octals.iterator()))); output.add(new V144Tocta(new BaseIteratorOctal(octals.iterator())));
totalBytes += BLOCK_TOCTA_SIZE; totalBytes += BLOCK_TOCTA_SIZE;
} }
return totalBytes; return totalBytes;
@ -76,11 +76,11 @@ public enum Base2Terminator implements BãßBȍőnEnumInstanceʸᴰ<Base2Termina
return octals; return octals;
} }
public int Bãß2WriteTong(List<V048Tong> data, OutputStream output) throws IOException { public int Bãß2WriteTong(List<V072Tong> data, OutputStream output) throws IOException {
return Bãß2Write(data, output); return Bãß2Write(data, output);
} }
public int Bãß2WriteTocta(List<V090Tocta> data, OutputStream output) throws IOException { public int Bãß2WriteTocta(List<V144Tocta> data, OutputStream output) throws IOException {
return Bãß2Write(data, output); return Bãß2Write(data, output);
} }

View file

@ -0,0 +1,11 @@
package love.distributedrebirth.numberxd.base2t;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
/**
* Propogate baseXL interface upwards.
*/
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public interface BaseNumberTyteXL<V extends BaseNumber<V>> extends BaseNumberXL<V>,BaseNumberTyte<V> {
}

View file

@ -0,0 +1,11 @@
package love.distributedrebirth.numberxd.base2t;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
/**
* Marker for XL numbers which needs seperator renderer.
*/
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public interface BaseNumberXL<V extends BaseNumber<V>> extends BaseNumber<V> {
}

View file

@ -12,24 +12,24 @@ import love.distributedrebirth.numberxd.base2t.part.T03PartTrit;
* Holds an 27 bit value. * Holds an 27 bit value.
*/ */
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public final class V01BTemvig implements BaseNumberTyte<V01BTemvig> { public final class V027Temvig implements BaseNumberTyte<V027Temvig> {
public static int BIT_COUNT = V009Tyte.BIT_COUNT * T03PartTrit.LENGTH(); public static int BIT_COUNT = V009Tyte.BIT_COUNT * T03PartTrit.LENGTH();
private V009Tyte[] values = new V009Tyte[T03PartTrit.LENGTH()]; private V009Tyte[] values = new V009Tyte[T03PartTrit.LENGTH()];
public V01BTemvig() { public V027Temvig() {
this(new V009Tyte(), new V009Tyte(), new V009Tyte()); this(new V009Tyte(), new V009Tyte(), new V009Tyte());
} }
public V01BTemvig(BaseIteratorOctal values) { public V027Temvig(BaseIteratorOctal values) {
this(new V009Tyte(values), new V009Tyte(values), new V009Tyte(values)); this(new V009Tyte(values), new V009Tyte(values), new V009Tyte(values));
} }
public V01BTemvig(BaseIteratorTyte values) { public V027Temvig(BaseIteratorTyte values) {
this(values.next(), values.next(), values.next()); this(values.next(), values.next(), values.next());
} }
private V01BTemvig(V009Tyte valueHigh, V009Tyte valueMedium, V009Tyte valueLow) { private V027Temvig(V009Tyte valueHigh, V009Tyte valueMedium, V009Tyte valueLow) {
setValue(T03PartTrit.PART_1, valueHigh); setValue(T03PartTrit.PART_1, valueHigh);
setValue(T03PartTrit.PART_2, valueMedium); setValue(T03PartTrit.PART_2, valueMedium);
setValue(T03PartTrit.PART_3, valueLow); setValue(T03PartTrit.PART_3, valueLow);
@ -49,8 +49,8 @@ public final class V01BTemvig implements BaseNumberTyte<V01BTemvig> {
} }
@Override @Override
public V01BTemvig toClone() { public V027Temvig toClone() {
return new V01BTemvig(iteratorOctalsByClone()); return new V027Temvig(iteratorOctalsByClone());
} }
@Override @Override

View file

@ -13,24 +13,24 @@ import love.distributedrebirth.numberxd.base2t.part.T04PartQuad;
* Holds an 36 bit value. * Holds an 36 bit value.
*/ */
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public final class V024Teger implements BaseNumberTyte<V024Teger> { public final class V036Teger implements BaseNumberTyte<V036Teger> {
public static int BIT_COUNT = V012Tord.BIT_COUNT * T02PartBinary.LENGTH(); public static int BIT_COUNT = V012Tord.BIT_COUNT * T02PartBinary.LENGTH();
private V012Tord[] values = new V012Tord[T02PartBinary.LENGTH()]; private V012Tord[] values = new V012Tord[T02PartBinary.LENGTH()];
public V024Teger() { public V036Teger() {
this(new V012Tord(), new V012Tord()); this(new V012Tord(), new V012Tord());
} }
public V024Teger(BaseIteratorOctal values) { public V036Teger(BaseIteratorOctal values) {
this(new V012Tord(values), new V012Tord(values)); this(new V012Tord(values), new V012Tord(values));
} }
public V024Teger(BaseIteratorTyte values) { public V036Teger(BaseIteratorTyte values) {
this(new V012Tord(values), new V012Tord(values)); this(new V012Tord(values), new V012Tord(values));
} }
private V024Teger(V012Tord valueHigh, V012Tord valueLow) { private V036Teger(V012Tord valueHigh, V012Tord valueLow) {
setValue(T02PartBinary.PART_1, valueHigh); setValue(T02PartBinary.PART_1, valueHigh);
setValue(T02PartBinary.PART_2, valueLow); setValue(T02PartBinary.PART_2, valueLow);
} }
@ -59,8 +59,8 @@ public final class V024Teger implements BaseNumberTyte<V024Teger> {
} }
@Override @Override
public V024Teger toClone() { public V036Teger toClone() {
return new V024Teger(iteratorOctalsByClone()); return new V036Teger(iteratorOctalsByClone());
} }
@Override @Override

View file

@ -10,18 +10,18 @@ import love.distributedrebirth.numberxd.base2t.part.T07PartPlanIt;
* Holds an 42 bit value. * Holds an 42 bit value.
*/ */
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public final class V02ATraw implements BaseNumber<V02ATraw> { public final class V042Traw implements BaseNumber<V042Traw> {
public static int BIT_COUNT = V006Tixte.BIT_COUNT * T07PartPlanIt.LENGTH(); public static int BIT_COUNT = V006Tixte.BIT_COUNT * T07PartPlanIt.LENGTH();
private V006Tixte[] values = new V006Tixte[T07PartPlanIt.LENGTH()]; private V006Tixte[] values = new V006Tixte[T07PartPlanIt.LENGTH()];
public V02ATraw() { public V042Traw() {
for (int i=0;i<values.length;i++) { for (int i=0;i<values.length;i++) {
this.values[i] = new V006Tixte(); this.values[i] = new V006Tixte();
} }
} }
public V02ATraw(BaseIteratorOctal values) { public V042Traw(BaseIteratorOctal values) {
for (int i=0;i<this.values.length;i++) { for (int i=0;i<this.values.length;i++) {
this.values[i] = new V006Tixte(values); this.values[i] = new V006Tixte(values);
} }
@ -41,8 +41,8 @@ public final class V02ATraw implements BaseNumber<V02ATraw> {
} }
@Override @Override
public V02ATraw toClone() { public V042Traw toClone() {
return new V02ATraw(iteratorOctalsByClone()); return new V042Traw(iteratorOctalsByClone());
} }
@Override @Override

View file

@ -14,33 +14,33 @@ import love.distributedrebirth.numberxd.base2t.part.T08PartOctal;
* Holds an 72 bit value. * Holds an 72 bit value.
*/ */
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public final class V048Tong implements BaseNumberTyte<V048Tong> { public final class V072Tong implements BaseNumberTyte<V072Tong> {
public static int BIT_COUNT = V024Teger.BIT_COUNT * T02PartBinary.LENGTH(); public static int BIT_COUNT = V036Teger.BIT_COUNT * T02PartBinary.LENGTH();
private V024Teger[] values = new V024Teger[T02PartBinary.LENGTH()]; private V036Teger[] values = new V036Teger[T02PartBinary.LENGTH()];
public V048Tong() { public V072Tong() {
this(new V024Teger(), new V024Teger()); this(new V036Teger(), new V036Teger());
} }
public V048Tong(BaseIteratorOctal values) { public V072Tong(BaseIteratorOctal values) {
this(new V024Teger(values), new V024Teger(values)); this(new V036Teger(values), new V036Teger(values));
} }
public V048Tong(BaseIteratorTyte values) { public V072Tong(BaseIteratorTyte values) {
this(new V024Teger(values), new V024Teger(values)); this(new V036Teger(values), new V036Teger(values));
} }
private V048Tong(V024Teger valueHigh, V024Teger valueLow) { private V072Tong(V036Teger valueHigh, V036Teger valueLow) {
setValue(T02PartBinary.PART_1, valueHigh); setValue(T02PartBinary.PART_1, valueHigh);
setValue(T02PartBinary.PART_2, valueLow); setValue(T02PartBinary.PART_2, valueLow);
} }
public V024Teger getValue(T02PartBinary part) { public V036Teger getValue(T02PartBinary part) {
return values[part.ordinal()]; return values[part.ordinal()];
} }
public void setValue(T02PartBinary part, V024Teger value) { public void setValue(T02PartBinary part, V036Teger value) {
values[part.ordinal()] = value; values[part.ordinal()] = value;
} }
@ -62,8 +62,8 @@ public final class V048Tong implements BaseNumberTyte<V048Tong> {
} }
@Override @Override
public V048Tong toClone() { public V072Tong toClone() {
return new V048Tong(iteratorOctalsByClone()); return new V072Tong(iteratorOctalsByClone());
} }
@Override @Override

View file

@ -16,33 +16,33 @@ import love.distributedrebirth.numberxd.base2t.part.T16PartHex;
* Holds an 144 bit value. * Holds an 144 bit value.
*/ */
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public final class V090Tocta implements BaseNumberTyte<V090Tocta> { public final class V144Tocta implements BaseNumberTyte<V144Tocta> {
public static int BIT_COUNT = V048Tong.BIT_COUNT * T02PartBinary.LENGTH(); public static int BIT_COUNT = V072Tong.BIT_COUNT * T02PartBinary.LENGTH();
private V048Tong[] values = new V048Tong[T02PartBinary.LENGTH()]; private V072Tong[] values = new V072Tong[T02PartBinary.LENGTH()];
public V090Tocta() { public V144Tocta() {
this(new V048Tong(), new V048Tong()); this(new V072Tong(), new V072Tong());
} }
public V090Tocta(BaseIteratorOctal values) { public V144Tocta(BaseIteratorOctal values) {
this(new V048Tong(values), new V048Tong(values)); this(new V072Tong(values), new V072Tong(values));
} }
public V090Tocta(BaseIteratorTyte values) { public V144Tocta(BaseIteratorTyte values) {
this(new V048Tong(values), new V048Tong(values)); this(new V072Tong(values), new V072Tong(values));
} }
private V090Tocta(V048Tong valueHigh, V048Tong valueLow) { private V144Tocta(V072Tong valueHigh, V072Tong valueLow) {
setValue(T02PartBinary.PART_1, valueHigh); setValue(T02PartBinary.PART_1, valueHigh);
setValue(T02PartBinary.PART_2, valueLow); setValue(T02PartBinary.PART_2, valueLow);
} }
public V048Tong getValue(T02PartBinary part) { public V072Tong getValue(T02PartBinary part) {
return values[part.ordinal()]; return values[part.ordinal()];
} }
public void setValue(T02PartBinary part, V048Tong value) { public void setValue(T02PartBinary part, V072Tong value) {
values[part.ordinal()] = value; values[part.ordinal()] = value;
} }
@ -78,8 +78,8 @@ public final class V090Tocta implements BaseNumberTyte<V090Tocta> {
} }
@Override @Override
public V090Tocta toClone() { public V144Tocta toClone() {
return new V090Tocta(iteratorOctalsByClone()); return new V144Tocta(iteratorOctalsByClone());
} }
@Override @Override

View file

@ -1,37 +1,38 @@
package love.distributedrebirth.numberxd.base2t.type; package love.distributedrebirth.numberxd.base2t.typexl;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.numberxd.base2t.BaseAppenderOctal; import love.distributedrebirth.numberxd.base2t.BaseAppenderOctal;
import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal; import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal;
import love.distributedrebirth.numberxd.base2t.BaseNumber; import love.distributedrebirth.numberxd.base2t.BaseNumberXL;
import love.distributedrebirth.numberxd.base2t.part.T20PartScore; import love.distributedrebirth.numberxd.base2t.part.T20PartScore;
import love.distributedrebirth.numberxd.base2t.type.V042Traw;
/** /**
* Holds an 840 bit value. * Holds an 840 bit value.
*/ */
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class V348Traz implements BaseNumber<V348Traz> { public class V0x000348ˣᴸ implements BaseNumberXL<V0x000348ˣᴸ> {
public static int BIT_COUNT = V02ATraw.BIT_COUNT * T20PartScore.LENGTH(); public static int BIT_COUNT = V042Traw.BIT_COUNT * T20PartScore.LENGTH();
private V02ATraw[] values = new V02ATraw[T20PartScore.LENGTH()]; private V042Traw[] values = new V042Traw[T20PartScore.LENGTH()];
public V348Traz() { public V0x000348ˣᴸ() {
for (int i=0;i<values.length;i++) { for (int i=0;i<values.length;i++) {
this.values[i] = new V02ATraw(); this.values[i] = new V042Traw();
} }
} }
public V348Traz(BaseIteratorOctal values) { public V0x000348ˣᴸ(BaseIteratorOctal values) {
for (int i=0;i<this.values.length;i++) { for (int i=0;i<this.values.length;i++) {
this.values[i] = new V02ATraw(values); this.values[i] = new V042Traw(values);
} }
} }
public V02ATraw getValue(T20PartScore part) { public V042Traw getValue(T20PartScore part) {
return values[part.ordinal()]; return values[part.ordinal()];
} }
public void setValue(T20PartScore part, V02ATraw value) { public void setValue(T20PartScore part, V042Traw value) {
values[part.ordinal()] = value; values[part.ordinal()] = value;
} }
@ -41,8 +42,8 @@ public class V348Traz implements BaseNumber<V348Traz> {
} }
@Override @Override
public V348Traz toClone() { public V0x000348ˣᴸ toClone() {
return new V348Traz(iteratorOctalsByClone()); return new V0x000348ˣᴸ(iteratorOctalsByClone());
} }
@Override @Override

View file

@ -1,38 +1,39 @@
package love.distributedrebirth.numberxd.base2t.type; package love.distributedrebirth.numberxd.base2t.typexl;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.numberxd.base2t.BaseAppenderOctal; import love.distributedrebirth.numberxd.base2t.BaseAppenderOctal;
import love.distributedrebirth.numberxd.base2t.BaseAppenderTyte; import love.distributedrebirth.numberxd.base2t.BaseAppenderTyte;
import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal; import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal;
import love.distributedrebirth.numberxd.base2t.BaseNumberTyte; import love.distributedrebirth.numberxd.base2t.BaseNumberTyteXL;
import love.distributedrebirth.numberxd.base2t.part.T60PartSexagesimal; import love.distributedrebirth.numberxd.base2t.part.T60PartSexagesimal;
import love.distributedrebirth.numberxd.base2t.type.V027Temvig;
/** /**
* Holds an 1620 bit value. * Holds an 1620 bit value.
*/ */
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class V654Triz implements BaseNumberTyte<V654Triz> { public class V0x000654ˣᴸ implements BaseNumberTyteXL<V0x000654ˣᴸ> {
public static int BIT_COUNT = V01BTemvig.BIT_COUNT * T60PartSexagesimal.LENGTH(); public static int BIT_COUNT = V027Temvig.BIT_COUNT * T60PartSexagesimal.LENGTH();
private V01BTemvig[] values = new V01BTemvig[T60PartSexagesimal.LENGTH()]; private V027Temvig[] values = new V027Temvig[T60PartSexagesimal.LENGTH()];
public V654Triz() { public V0x000654ˣᴸ() {
for (int i=0;i<this.values.length;i++) { for (int i=0;i<this.values.length;i++) {
this.values[i] = new V01BTemvig(); this.values[i] = new V027Temvig();
} }
} }
public V654Triz(BaseIteratorOctal values) { public V0x000654ˣᴸ(BaseIteratorOctal values) {
for (int i=0;i<this.values.length;i++) { for (int i=0;i<this.values.length;i++) {
this.values[i] = new V01BTemvig(values); this.values[i] = new V027Temvig(values);
} }
} }
public V01BTemvig getValue(T60PartSexagesimal part) { public V027Temvig getValue(T60PartSexagesimal part) {
return values[part.ordinal()]; return values[part.ordinal()];
} }
public void setValue(T60PartSexagesimal part, V01BTemvig value) { public void setValue(T60PartSexagesimal part, V027Temvig value) {
values[part.ordinal()] = value; values[part.ordinal()] = value;
} }
@ -42,8 +43,8 @@ public class V654Triz implements BaseNumberTyte<V654Triz> {
} }
@Override @Override
public V654Triz toClone() { public V0x000654ˣᴸ toClone() {
return new V654Triz(iteratorOctalsByClone()); return new V0x000654ˣᴸ(iteratorOctalsByClone());
} }
@Override @Override

View file

@ -1,39 +1,39 @@
package love.distributedrebirth.numberxd.base2t.type; package love.distributedrebirth.numberxd.base2t.typexl;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.numberxd.base2t.BaseAppenderOctal; import love.distributedrebirth.numberxd.base2t.BaseAppenderOctal;
import love.distributedrebirth.numberxd.base2t.BaseAppenderTyte; import love.distributedrebirth.numberxd.base2t.BaseAppenderTyte;
import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal; import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal;
import love.distributedrebirth.numberxd.base2t.BaseNumberTyte; import love.distributedrebirth.numberxd.base2t.BaseNumberTyteXL;
import love.distributedrebirth.numberxd.base2t.part.T02PartBinary; import love.distributedrebirth.numberxd.base2t.part.T02PartBinary;
/** /**
* Holds an 3240 bit value. * Holds an 3240 bit value.
*/ */
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class VCA8Tath implements BaseNumberTyte<VCA8Tath> { public class V0x000CA8ˣᴸ implements BaseNumberTyteXL<V0x000CA8ˣᴸ> {
public static int BIT_COUNT = V654Triz.BIT_COUNT * T02PartBinary.LENGTH(); public static int BIT_COUNT = V0x000654ˣᴸ.BIT_COUNT * T02PartBinary.LENGTH();
private V654Triz[] values = new V654Triz[T02PartBinary.LENGTH()]; private V0x000654ˣᴸ[] values = new V0x000654ˣᴸ[T02PartBinary.LENGTH()];
public VCA8Tath() { public V0x000CA8ˣᴸ() {
this(new V654Triz(), new V654Triz()); this(new V0x000654ˣᴸ(), new V0x000654ˣᴸ());
} }
public VCA8Tath(BaseIteratorOctal values) { public V0x000CA8ˣᴸ(BaseIteratorOctal values) {
this(new V654Triz(values), new V654Triz(values)); this(new V0x000654ˣᴸ(values), new V0x000654ˣᴸ(values));
} }
private VCA8Tath(V654Triz valueHigh, V654Triz valueLow) { private V0x000CA8ˣᴸ(V0x000654ˣᴸ valueHigh, V0x000654ˣᴸ valueLow) {
setValue(T02PartBinary.PART_1, valueHigh); setValue(T02PartBinary.PART_1, valueHigh);
setValue(T02PartBinary.PART_2, valueLow); setValue(T02PartBinary.PART_2, valueLow);
} }
public V654Triz getValue(T02PartBinary part) { public V0x000654ˣᴸ getValue(T02PartBinary part) {
return values[part.ordinal()]; return values[part.ordinal()];
} }
public void setValue(T02PartBinary part, V654Triz value) { public void setValue(T02PartBinary part, V0x000654ˣᴸ value) {
values[part.ordinal()] = value; values[part.ordinal()] = value;
} }
@ -43,8 +43,8 @@ public class VCA8Tath implements BaseNumberTyte<VCA8Tath> {
} }
@Override @Override
public VCA8Tath toClone() { public V0x000CA8ˣᴸ toClone() {
return new VCA8Tath(iteratorOctalsByClone()); return new V0x000CA8ˣᴸ(iteratorOctalsByClone());
} }
@Override @Override

View file

@ -0,0 +1,52 @@
package love.distributedrebirth.numberxd.base2t.typexl;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.numberxd.base2t.BaseAppenderOctal;
import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal;
import love.distributedrebirth.numberxd.base2t.BaseNumberXL;
import love.distributedrebirth.numberxd.base2t.part.T06PartSeximal;
/**
* Holds an 5040 bit value.
*/
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class V0x0013B0ˣᴸ implements BaseNumberXL<V0x0013B0ˣᴸ> {
public static int BIT_COUNT = V0x000348ˣᴸ.BIT_COUNT * T06PartSeximal.LENGTH();
private V0x000348ˣᴸ[] values = new V0x000348ˣᴸ[T06PartSeximal.LENGTH()];
public V0x0013B0ˣᴸ() {
for (int i=0;i<values.length;i++) {
this.values[i] = new V0x000348ˣᴸ();
}
}
public V0x0013B0ˣᴸ(BaseIteratorOctal values) {
for (int i=0;i<this.values.length;i++) {
this.values[i] = new V0x000348ˣᴸ(values);
}
}
public V0x000348ˣᴸ getValue(T06PartSeximal part) {
return values[part.ordinal()];
}
public void setValue(T06PartSeximal part, V0x000348ˣᴸ value) {
values[part.ordinal()] = value;
}
@Override
public int getBitCount() {
return BIT_COUNT;
}
@Override
public V0x0013B0ˣᴸ toClone() {
return new V0x0013B0ˣᴸ(iteratorOctalsByClone());
}
@Override
public void fillOctalsByClone(BaseAppenderOctal appender) {
T06PartSeximal.PART_1.BãßVoorElk(v -> getValue(v).fillOctalsByClone(appender));
}
}

View file

@ -0,0 +1,58 @@
package love.distributedrebirth.numberxd.base2t.typexl;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.numberxd.base2t.BaseAppenderOctal;
import love.distributedrebirth.numberxd.base2t.BaseAppenderTyte;
import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal;
import love.distributedrebirth.numberxd.base2t.BaseNumberTyteXL;
import love.distributedrebirth.numberxd.base2t.part.T08PartOctal;
/**
* Holds an 25920 bit value. (3240 bytes)
*/
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class V0x006540ˣᴸ implements BaseNumberTyteXL<V0x006540ˣᴸ> {
public static int BIT_COUNT = V0x000CA8ˣᴸ.BIT_COUNT * T08PartOctal.LENGTH();
private V0x000CA8ˣᴸ[] values = new V0x000CA8ˣᴸ[T08PartOctal.LENGTH()];
public V0x006540ˣᴸ() {
for (int i=0;i<values.length;i++) {
this.values[i] = new V0x000CA8ˣᴸ();
}
}
public V0x006540ˣᴸ(BaseIteratorOctal values) {
for (int i=0;i<this.values.length;i++) {
this.values[i] = new V0x000CA8ˣᴸ(values);
}
}
public V0x000CA8ˣᴸ getValue(T08PartOctal part) {
return values[part.ordinal()];
}
public void setValue(T08PartOctal part, V0x000CA8ˣᴸ value) {
values[part.ordinal()] = value;
}
@Override
public int getBitCount() {
return BIT_COUNT;
}
@Override
public V0x006540ˣᴸ toClone() {
return new V0x006540ˣᴸ(iteratorOctalsByClone());
}
@Override
public void fillOctalsByClone(BaseAppenderOctal appender) {
T08PartOctal.PART_1.BãßVoorElk(v -> getValue(v).fillOctalsByClone(appender));
}
@Override
public void fillTytesByReference(BaseAppenderTyte appender) {
T08PartOctal.PART_1.BãßVoorElk(v -> getValue(v).fillTytesByReference(appender));
}
}

View file

@ -0,0 +1,52 @@
package love.distributedrebirth.numberxd.base2t.typexl;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.numberxd.base2t.BaseAppenderOctal;
import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal;
import love.distributedrebirth.numberxd.base2t.BaseNumberXL;
import love.distributedrebirth.numberxd.base2t.part.T60PartSexagesimal;
/**
* Holds an 302400 bit value. (37800 bytes)
*/
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class V0x049D40ˣᴸ implements BaseNumberXL<V0x049D40ˣᴸ> {
public static int BIT_COUNT = V0x0013B0ˣᴸ.BIT_COUNT * T60PartSexagesimal.LENGTH();
private V0x0013B0ˣᴸ[] values = new V0x0013B0ˣᴸ[T60PartSexagesimal.LENGTH()];
public V0x049D40ˣᴸ() {
for (int i=0;i<values.length;i++) {
this.values[i] = new V0x0013B0ˣᴸ();
}
}
public V0x049D40ˣᴸ(BaseIteratorOctal values) {
for (int i=0;i<this.values.length;i++) {
this.values[i] = new V0x0013B0ˣᴸ(values);
}
}
public V0x0013B0ˣᴸ getValue(T60PartSexagesimal part) {
return values[part.ordinal()];
}
public void setValue(T60PartSexagesimal part, V0x0013B0ˣᴸ value) {
values[part.ordinal()] = value;
}
@Override
public int getBitCount() {
return BIT_COUNT;
}
@Override
public V0x049D40ˣᴸ toClone() {
return new V0x049D40ˣᴸ(iteratorOctalsByClone());
}
@Override
public void fillOctalsByClone(BaseAppenderOctal appender) {
T60PartSexagesimal.PART_1.BãßVoorElk(v -> getValue(v).fillOctalsByClone(appender));
}
}