Renamed indexes to matrix

This commit is contained in:
Willem 2022-02-04 20:01:05 +01:00
parent 184da4cf87
commit 6541a02041
21 changed files with 151 additions and 107 deletions

View file

@ -4,17 +4,17 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.numberxd.base2t.BaseNumber; import love.distributedrebirth.numberxd.base2t.BaseNumber;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
abstract public class AbstractBaseGetậlLevel0<T extends BaseGetậl<T,V>,V extends BaseNumber<V>> implements BaseGetậlLevel0<T,V> { abstract public class AbstractBaseGetậlLevel0<T extends BaseGetậl<T,V>,V extends BaseNumber<V>> implements BaseGetậlMatrix0<T,V> {
protected int valueIndex0; protected int matrix0;
@Override @Override
public void setValueIndex0(int valueIndex0) { public void setMatrix0(int matrix0) {
this.valueIndex0 = valueIndex0; this.matrix0 = matrix0;
} }
@Override @Override
public int getValueIndex0() { public int getMatrix0() {
return valueIndex0; return matrix0;
} }
} }

View file

@ -4,17 +4,17 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.numberxd.base2t.BaseNumber; import love.distributedrebirth.numberxd.base2t.BaseNumber;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
abstract public class AbstractBaseGetậlLevel1<T extends BaseGetậl<T,V>,V extends BaseNumber<V>> extends AbstractBaseGetậlLevel0<T,V> implements BaseGetậlLevel1<T,V> { abstract public class AbstractBaseGetậlLevel1<T extends BaseGetậl<T,V>,V extends BaseNumber<V>> extends AbstractBaseGetậlLevel0<T,V> implements BaseGetậlMatrix1<T,V> {
protected int valueIndex1; protected int matrix1;
@Override @Override
public void setValueIndex1(int valueIndex1) { public void setMatrix1(int matrix1) {
this.valueIndex1 = valueIndex1; this.matrix1 = matrix1;
} }
@Override @Override
public int getValueIndex1() { public int getMatrix1() {
return valueIndex1; return matrix1;
} }
} }

View file

@ -4,17 +4,17 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.numberxd.base2t.BaseNumber; import love.distributedrebirth.numberxd.base2t.BaseNumber;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
abstract public class AbstractBaseGetậlLevel2<T extends BaseGetậl<T,V>,V extends BaseNumber<V>> extends AbstractBaseGetậlLevel1<T,V> implements BaseGetậlLevel2<T,V> { abstract public class AbstractBaseGetậlLevel2<T extends BaseGetậl<T,V>,V extends BaseNumber<V>> extends AbstractBaseGetậlLevel1<T,V> implements BaseGetậlMatrix2<T,V> {
protected int valueIndex2; protected int matrix2;
@Override @Override
public void setValueIndex2(int valueIndex1) { public void setMatrix2(int matrix2) {
this.valueIndex1 = valueIndex1; this.matrix2 = matrix2;
} }
@Override @Override
public int getValueIndex2() { public int getMatrix2() {
return valueIndex1; return matrix2;
} }
} }

View file

@ -11,9 +11,9 @@ abstract public class AbstractGroßGetậlŌṁ1ⁿᴰ<T extends BaseGetậl<T,V
private V144Tocta[] values; private V144Tocta[] values;
private int valuesLength; private int valuesLength;
private byte fractalLevel; private int fractalLevel;
public AbstractGroßGetậlŌṁ1ⁿᴰ(byte fractalLevel) { public AbstractGroßGetậlŌṁ1ⁿᴰ(int fractalLevel) {
this.fractalLevel = fractalLevel; this.fractalLevel = fractalLevel;
this.valuesLength = resolveFractalLevel(fractalLevel); this.valuesLength = resolveFractalLevel(fractalLevel);
this.values = new V144Tocta[valuesLength]; this.values = new V144Tocta[valuesLength];
@ -22,7 +22,7 @@ abstract public class AbstractGroßGetậlŌṁ1ⁿᴰ<T extends BaseGetậl<T,V
} }
} }
public AbstractGroßGetậlŌṁ1ⁿᴰ(byte fractalLevel, BaseIteratorOctal values) { public AbstractGroßGetậlŌṁ1ⁿᴰ(int fractalLevel, BaseIteratorOctal values) {
this.fractalLevel = fractalLevel; this.fractalLevel = fractalLevel;
this.valuesLength = resolveFractalLevel(fractalLevel); this.valuesLength = resolveFractalLevel(fractalLevel);
this.values = new V144Tocta[valuesLength]; this.values = new V144Tocta[valuesLength];
@ -31,23 +31,23 @@ abstract public class AbstractGroßGetậlŌṁ1ⁿᴰ<T extends BaseGetậl<T,V
} }
} }
abstract protected int resolveFractalLevel(byte level); abstract protected int resolveFractalLevel(int level);
public V009Tyte getValue() { public V009Tyte getValue() {
return values[valueIndex1].getTytePart(T16PartHex.values()[valueIndex0]); return values[matrix1].getTytePart(T16PartHex.values()[matrix0]);
} }
public byte getFractalLevel() { public int getFractalLevel() {
return fractalLevel; return fractalLevel;
} }
@Override @Override
public int getValueIndex0Length() { public int getMatrix0Length() {
return T16PartHex.LENGTH(); return T16PartHex.LENGTH();
} }
@Override @Override
public int getValueIndex1Length() { public int getMatrix1Length() {
return valuesLength; return valuesLength;
} }
} }

View file

@ -12,9 +12,9 @@ abstract public class AbstractGroßGetậlŌṁ6ˢᴰ<T extends BaseGetậl<T,V0
private V144Tocta[][] values; private V144Tocta[][] values;
private int valuesLength; private int valuesLength;
private byte fractalLevel; private int fractalLevel;
public AbstractGroßGetậlŌṁ6ˢᴰ(byte fractalLevel) { public AbstractGroßGetậlŌṁ6ˢᴰ(int fractalLevel) {
this.fractalLevel = fractalLevel; this.fractalLevel = fractalLevel;
this.valuesLength = resolveFractalLevel(fractalLevel); this.valuesLength = resolveFractalLevel(fractalLevel);
this.values = new V144Tocta[T12PartUncial.LENGTH()][valuesLength]; this.values = new V144Tocta[T12PartUncial.LENGTH()][valuesLength];
@ -25,7 +25,7 @@ abstract public class AbstractGroßGetậlŌṁ6ˢᴰ<T extends BaseGetậl<T,V0
} }
} }
public AbstractGroßGetậlŌṁ6ˢᴰ(byte fractalLevel, BaseIteratorOctal values) { public AbstractGroßGetậlŌṁ6ˢᴰ(int fractalLevel, BaseIteratorOctal values) {
this.fractalLevel = fractalLevel; this.fractalLevel = fractalLevel;
this.valuesLength = resolveFractalLevel(fractalLevel); this.valuesLength = resolveFractalLevel(fractalLevel);
this.values = new V144Tocta[T12PartUncial.LENGTH()][valuesLength]; this.values = new V144Tocta[T12PartUncial.LENGTH()][valuesLength];
@ -36,28 +36,28 @@ abstract public class AbstractGroßGetậlŌṁ6ˢᴰ<T extends BaseGetậl<T,V0
} }
} }
abstract protected int resolveFractalLevel(byte level); abstract protected int resolveFractalLevel(int level);
public V009Tyte getValue() { public V009Tyte getValue() {
return values[valueIndex1][valueIndex2].getTytePart(T16PartHex.values()[valueIndex0]); return values[matrix1][matrix2].getTytePart(T16PartHex.values()[matrix0]);
} }
public byte getFractalLevel() { public int getFractalLevel() {
return fractalLevel; return fractalLevel;
} }
@Override @Override
public int getValueIndex0Length() { public int getMatrix0Length() {
return T16PartHex.LENGTH(); return T16PartHex.LENGTH();
} }
@Override @Override
public int getValueIndex1Length() { public int getMatrix1Length() {
return T12PartUncial.LENGTH(); return T12PartUncial.LENGTH();
} }
@Override @Override
public int getValueIndex2Length() { public int getMatrix2Length() {
return valuesLength; return valuesLength;
} }
} }

View file

@ -4,11 +4,11 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.numberxd.base2t.BaseNumber; import love.distributedrebirth.numberxd.base2t.BaseNumber;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public interface BaseGetậlLevel0<T extends BaseGetậl<T,V>,V extends BaseNumber<V>> extends BaseGetậl<T,V> { public interface BaseGetậlMatrix0<T extends BaseGetậl<T,V>,V extends BaseNumber<V>> extends BaseGetậl<T,V> {
void setValueIndex0(int valueIndex0); void setMatrix0(int valueIndex0);
int getValueIndex0(); int getMatrix0();
int getValueIndex0Length(); int getMatrix0Length();
} }

View file

@ -4,11 +4,11 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.numberxd.base2t.BaseNumber; import love.distributedrebirth.numberxd.base2t.BaseNumber;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public interface BaseGetậlLevel1<T extends BaseGetậl<T,V>,V extends BaseNumber<V>> extends BaseGetậlLevel0<T,V> { public interface BaseGetậlMatrix1<T extends BaseGetậl<T,V>,V extends BaseNumber<V>> extends BaseGetậlMatrix0<T,V> {
void setValueIndex1(int valueIndex1); void setMatrix1(int valueIndex1);
int getValueIndex1(); int getMatrix1();
int getValueIndex1Length(); int getMatrix1Length();
} }

View file

@ -4,11 +4,11 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.numberxd.base2t.BaseNumber; import love.distributedrebirth.numberxd.base2t.BaseNumber;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public interface BaseGetậlLevel2<T extends BaseGetậl<T,V>,V extends BaseNumber<V>> extends BaseGetậlLevel1<T,V> { public interface BaseGetậlMatrix2<T extends BaseGetậl<T,V>,V extends BaseNumber<V>> extends BaseGetậlMatrix1<T,V> {
void setValueIndex2(int valueIndex1); void setMatrix2(int valueIndex1);
int getValueIndex2(); int getMatrix2();
int getValueIndex2Length(); int getMatrix2Length();
} }

View file

@ -4,11 +4,11 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.numberxd.base2t.BaseNumber; import love.distributedrebirth.numberxd.base2t.BaseNumber;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public interface BaseGetậlLevel3<T extends BaseGetậl<T,V>,V extends BaseNumber<V>> extends BaseGetậlLevel2<T,V> { public interface BaseGetậlMatrix3<T extends BaseGetậl<T,V>,V extends BaseNumber<V>> extends BaseGetậlMatrix2<T,V> {
void setValueIndex3(int valueIndex1); void setMatrix3(int valueIndex1);
int getValueIndex3(); int getMatrix3();
int getValueIndex3Length(); int getMatrix3Length();
} }

View file

@ -38,11 +38,11 @@ public class GroßGetậl1ⁿᴰ extends AbstractBaseGetậlLevel0<GroßGetậl1
@Override @Override
public V009Tyte getValue() { public V009Tyte getValue() {
return value.getTytePart(T16PartHex.values()[valueIndex0]); return value.getTytePart(T16PartHex.values()[matrix0]);
} }
@Override @Override
public int getValueIndex0Length() { public int getMatrix0Length() {
return T16PartHex.LENGTH(); return T16PartHex.LENGTH();
} }

View file

@ -29,16 +29,16 @@ public class GroßGetậl6ˢᴰ extends AbstractBaseGetậlLevel1<GroßGetậl6
} }
public V009Tyte getValue() { public V009Tyte getValue() {
return values[valueIndex1].getTytePart(T16PartHex.values()[valueIndex0]); return values[matrix1].getTytePart(T16PartHex.values()[matrix0]);
} }
@Override @Override
public int getValueIndex0Length() { public int getMatrix0Length() {
return T16PartHex.LENGTH(); return T16PartHex.LENGTH();
} }
@Override @Override
public int getValueIndex1Length() { public int getMatrix1Length() {
return T12PartUncial.LENGTH(); return T12PartUncial.LENGTH();
} }

View file

@ -7,32 +7,36 @@ import love.distributedrebirth.numberxd.base2t.BaseIteratorOctalStack;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class GroßGetậlŌṁDiamond1ⁿᴰ extends AbstractGroßGetậlŌṁ1ⁿᴰ<GroßGetậlŌṁDiamond1ⁿᴰ> { public class GroßGetậlŌṁDiamond1ⁿᴰ extends AbstractGroßGetậlŌṁ1ⁿᴰ<GroßGetậlŌṁDiamond1ⁿᴰ> {
// 0th = 1 * V144Tocta (1) // 1th = 1 * V144Tocta (1)
// 1th = 1+3 * V144Tocta (4) // 2th = 1+3 * V144Tocta (4)
// 2th = 1+3+6 * V144Tocta (10) // 3th = 1+3+6 * V144Tocta (10)
// 3th = 1+3+6+14 * V144Tocta (24) // 4th = 1+3+6+14 * V144Tocta (24)
// etc // etc
public GroßGetậlŌṁDiamond1ⁿᴰ(byte level) { public GroßGetậlŌṁDiamond1ⁿᴰ(int level) {
super(level); super(level);
} }
public GroßGetậlŌṁDiamond1ⁿᴰ(byte level, BaseIteratorOctal values) { public GroßGetậlŌṁDiamond1ⁿᴰ(int level, BaseIteratorOctal values) {
super(level, values); super(level, values);
} }
protected int resolveFractalLevel(byte level) { protected int resolveFractalLevel(int n) {
// TODO if (n == 1) {
return level; return 1;
} else {
int result = 1 + n * resolveFractalLevel(n - 1);
return result;
}
} }
@Override @Override
public GroßGetậlŌṁDiamond1ⁿᴰ toClone() { public GroßGetậlŌṁDiamond1ⁿᴰ toClone() {
BaseIteratorOctalStack cloneStack = new BaseIteratorOctalStack(); BaseIteratorOctalStack cloneStack = new BaseIteratorOctalStack();
for (int x=0;x<getValueIndex0Length();x++) { for (int x=0;x<getMatrix0Length();x++) {
setValueIndex0(x); setMatrix0(x);
for (int y=0;y<getValueIndex1Length();y++) { for (int y=0;y<getMatrix1Length();y++) {
setValueIndex1(y); setMatrix1(y);
cloneStack.addIterator(getValue().iteratorOctalsByClone()); cloneStack.addIterator(getValue().iteratorOctalsByClone());
} }
} }

View file

@ -13,15 +13,15 @@ public class GroßGetậlŌṁDiamond6ˢᴰ extends AbstractGroßGetậlŌṁ6ˢ
// 3th = 1+3+6+14 * V144Tocta (24) // 3th = 1+3+6+14 * V144Tocta (24)
// etc // etc
public GroßGetậlŌṁDiamond6ˢᴰ(byte level) { public GroßGetậlŌṁDiamond6ˢᴰ(int level) {
super(level); super(level);
} }
public GroßGetậlŌṁDiamond6ˢᴰ(byte level, BaseIteratorOctal values) { public GroßGetậlŌṁDiamond6ˢᴰ(int level, BaseIteratorOctal values) {
super(level, values); super(level, values);
} }
protected int resolveFractalLevel(byte level) { protected int resolveFractalLevel(int level) {
// TODO // TODO
return level; return level;
} }
@ -29,12 +29,12 @@ public class GroßGetậlŌṁDiamond6ˢᴰ extends AbstractGroßGetậlŌṁ6ˢ
@Override @Override
public GroßGetậlŌṁDiamond6ˢᴰ toClone() { public GroßGetậlŌṁDiamond6ˢᴰ toClone() {
BaseIteratorOctalStack cloneStack = new BaseIteratorOctalStack(); BaseIteratorOctalStack cloneStack = new BaseIteratorOctalStack();
for (int x=0;x<getValueIndex0Length();x++) { for (int x=0;x<getMatrix0Length();x++) {
setValueIndex0(x); setMatrix0(x);
for (int y=0;y<getValueIndex1Length();y++) { for (int y=0;y<getMatrix1Length();y++) {
setValueIndex1(y); setMatrix1(y);
for (int z=0;z<getValueIndex1Length();z++) { for (int z=0;z<getMatrix1Length();z++) {
setValueIndex1(z); setMatrix1(z);
cloneStack.addIterator(getValue().iteratorOctalsByClone()); cloneStack.addIterator(getValue().iteratorOctalsByClone());
} }
} }

View file

@ -12,15 +12,15 @@ public class GroßGetậlŌṁHyperStàr1ⁿᴰ extends AbstractGroßGetậlŌ
// 2th = 5 * 12 * V144Tocta // 2th = 5 * 12 * V144Tocta
// etc // etc
public GroßGetậlŌṁHyperStàr1ⁿᴰ(byte level) { public GroßGetậlŌṁHyperStàr1ⁿᴰ(int level) {
super(level); super(level);
} }
public GroßGetậlŌṁHyperStàr1ⁿᴰ(byte level, BaseIteratorOctal values) { public GroßGetậlŌṁHyperStàr1ⁿᴰ(int level, BaseIteratorOctal values) {
super(level, values); super(level, values);
} }
protected int resolveFractalLevel(byte level) { protected int resolveFractalLevel(int level) {
// TODO // TODO
return level; return level;
} }
@ -28,10 +28,10 @@ public class GroßGetậlŌṁHyperStàr1ⁿᴰ extends AbstractGroßGetậlŌ
@Override @Override
public GroßGetậlŌṁHyperStàr1ⁿᴰ toClone() { public GroßGetậlŌṁHyperStàr1ⁿᴰ toClone() {
BaseIteratorOctalStack cloneStack = new BaseIteratorOctalStack(); BaseIteratorOctalStack cloneStack = new BaseIteratorOctalStack();
for (int x=0;x<getValueIndex0Length();x++) { for (int x=0;x<getMatrix0Length();x++) {
setValueIndex0(x); setMatrix0(x);
for (int y=0;y<getValueIndex1Length();y++) { for (int y=0;y<getMatrix1Length();y++) {
setValueIndex1(y); setMatrix1(y);
cloneStack.addIterator(getValue().iteratorOctalsByClone()); cloneStack.addIterator(getValue().iteratorOctalsByClone());
} }
} }

View file

@ -12,15 +12,15 @@ public class GroßGetậlŌṁHyperStàr6ˢᴰ extends AbstractGroßGetậlŌṁ
// 2th = 5 * 12 * V144Tocta // 2th = 5 * 12 * V144Tocta
// etc // etc
public GroßGetậlŌṁHyperStàr6ˢᴰ(byte level) { public GroßGetậlŌṁHyperStàr6ˢᴰ(int level) {
super(level); super(level);
} }
public GroßGetậlŌṁHyperStàr6ˢᴰ(byte level, BaseIteratorOctal values) { public GroßGetậlŌṁHyperStàr6ˢᴰ(int level, BaseIteratorOctal values) {
super(level, values); super(level, values);
} }
protected int resolveFractalLevel(byte level) { protected int resolveFractalLevel(int level) {
// TODO // TODO
return level; return level;
} }
@ -28,12 +28,12 @@ public class GroßGetậlŌṁHyperStàr6ˢᴰ extends AbstractGroßGetậlŌṁ
@Override @Override
public GroßGetậlŌṁHyperStàr6ˢᴰ toClone() { public GroßGetậlŌṁHyperStàr6ˢᴰ toClone() {
BaseIteratorOctalStack cloneStack = new BaseIteratorOctalStack(); BaseIteratorOctalStack cloneStack = new BaseIteratorOctalStack();
for (int x=0;x<getValueIndex0Length();x++) { for (int x=0;x<getMatrix0Length();x++) {
setValueIndex0(x); setMatrix0(x);
for (int y=0;y<getValueIndex1Length();y++) { for (int y=0;y<getMatrix1Length();y++) {
setValueIndex1(y); setMatrix1(y);
for (int z=0;z<getValueIndex1Length();z++) { for (int z=0;z<getMatrix1Length();z++) {
setValueIndex1(z); setMatrix1(z);
cloneStack.addIterator(getValue().iteratorOctalsByClone()); cloneStack.addIterator(getValue().iteratorOctalsByClone());
} }
} }

View file

@ -159,13 +159,13 @@ public class Gê̄ldGetậl extends AbstractBaseGetậlLevel0<Gê̄ldGetậl,V00
} }
@Override @Override
public int getValueIndex0Length() { public int getMatrix0Length() {
return T04PartQuad.LENGTH(); return T04PartQuad.LENGTH();
} }
@Override @Override
public V009Tyte getValue() { public V009Tyte getValue() {
return value.getTytePart(T04PartQuad.values()[valueIndex0]); return value.getTytePart(T04PartQuad.values()[matrix0]);
} }
@Override @Override

View file

@ -25,11 +25,11 @@ public class KlompGetậl4ˢᴰ extends AbstractBaseGetậlLevel0<KlompGetậl4
@Override @Override
public V0x000CA8ˣᴸ getValue() { public V0x000CA8ˣᴸ getValue() {
return values[valueIndex0]; return values[matrix0];
} }
@Override @Override
public int getValueIndex0Length() { public int getMatrix0Length() {
return T08PartOctal.LENGTH(); return T08PartOctal.LENGTH();
} }

View file

@ -47,26 +47,26 @@ public class KlompÅtŌṁKāassGetậl4ˢᴰ extends AbstractBaseGetậlLevel1<
@Override @Override
public V0x000CA8ˣᴸ getValue() { public V0x000CA8ˣᴸ getValue() {
return kaas[valueIndex0][valueIndex1]; return kaas[matrix0][matrix1];
} }
@Override @Override
public int getValueIndex0Length() { public int getMatrix0Length() {
return T08PartOctal.LENGTH(); return T08PartOctal.LENGTH();
} }
@Override @Override
public int getValueIndex1Length() { public int getMatrix1Length() {
return kaasCuts; return kaasCuts;
} }
@Override @Override
public KlompÅtŌṁKāassGetậl4ˢᴰ toClone() { public KlompÅtŌṁKāassGetậl4ˢᴰ toClone() {
BaseIteratorOctalStack cloneStack = new BaseIteratorOctalStack(); BaseIteratorOctalStack cloneStack = new BaseIteratorOctalStack();
for (int x=0;x<getValueIndex0Length();x++) { for (int x=0;x<getMatrix0Length();x++) {
setValueIndex0(x); setMatrix0(x);
for (int y=0;y<getValueIndex1Length();y++) { for (int y=0;y<getMatrix1Length();y++) {
setValueIndex1(y); setMatrix1(y);
cloneStack.addIterator(getValue().iteratorOctalsByClone()); cloneStack.addIterator(getValue().iteratorOctalsByClone());
} }
} }

View file

@ -28,11 +28,11 @@ public class WaveGetậl1ᑫᴰ extends AbstractBaseGetậlLevel0<WaveGetậl1
@Override @Override
public V0x049D40ˣᴸ getValue() { public V0x049D40ˣᴸ getValue() {
return values[valueIndex0]; return values[matrix0];
} }
@Override @Override
public int getValueIndex0Length() { public int getMatrix0Length() {
return T04PartQuad.LENGTH(); return T04PartQuad.LENGTH();
} }

View file

@ -37,6 +37,13 @@ public final class BaseIteratorOctalStack implements BaseIteratorOctal {
@Override @Override
public T08PartOctal next() { public T08PartOctal next() {
if (stack.isEmpty()) {
throw new IllegalStateException("Stack is empty.");
}
if (stack.peek().hasNext()) {
return stack.peek().next();
}
stack.pop();
if (stack.isEmpty()) { if (stack.isEmpty()) {
throw new IllegalStateException("Stack is empty."); throw new IllegalStateException("Stack is empty.");
} }

View file

@ -0,0 +1,33 @@
package love.distributedrebirth.numberxd;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class GroßGetậlŌṁDiamond1Testⁿᴰ {
@Test
public void testClone() {
GroßGetậlŌṁDiamond1ⁿᴰ getal = new GroßGetậlŌṁDiamond1ⁿᴰ(1);
GroßGetậlŌṁDiamond1ⁿᴰ getalClone = getal.toClone();
Assertions.assertNotNull(getal);
Assertions.assertNotNull(getalClone);
System.out.println("getal: "+getal);
System.out.println("getal.m0L: "+getal.getMatrix0Length());
System.out.println("getal.m1L: "+getal.getMatrix1Length());
GroßGetậlŌṁDiamond1ⁿᴰ getal2 = new GroßGetậlŌṁDiamond1ⁿᴰ(2);
GroßGetậlŌṁDiamond1ⁿᴰ getal3 = new GroßGetậlŌṁDiamond1ⁿᴰ(3);
GroßGetậlŌṁDiamond1ⁿᴰ getal4 = new GroßGetậlŌṁDiamond1ⁿᴰ(4);
GroßGetậlŌṁDiamond1ⁿᴰ getal5 = new GroßGetậlŌṁDiamond1ⁿᴰ(5).toClone();
System.out.println("getal5: "+getal5);
System.out.println("getal5.m0L: "+getal5.getMatrix0Length());
System.out.println("getal5.m1L: "+getal5.getMatrix1Length());
}
}