Moved abacus to Listᴿᵈ interface

This commit is contained in:
Willem Cazander 2022-10-24 10:12:39 +02:00
parent be3f1a9476
commit 303f700b51
21 changed files with 101 additions and 80 deletions

View file

@ -18,7 +18,7 @@ public class WavẽWorstGetậl1ⁿᴰ extends AbstractBaseGetậlMatrix1<Wavẽ
public WavẽWorstGetậl1ⁿᴰ(BãßBȍőnPartʸᴰ<?> worstCut) {
this.worstCut = worstCut;
this.worstCutLength = worstCut.teŀráàmWaardes().length;
this.worstCutLength = worstCut.teŀráàmWaardes().sizeᴿᵈ();
this.values = new V0x0013B0ˣᴸ[this.worstCutLength];
for (int i=0;i<this.values.length;i++) {
this.values[i] = new V0x0013B0ˣᴸ();
@ -27,7 +27,7 @@ public class WavẽWorstGetậl1ⁿᴰ extends AbstractBaseGetậlMatrix1<Wavẽ
public WavẽWorstGetậl1ⁿᴰ(BãßBȍőnPartʸᴰ<?> worstCut, BaseIteratorOctal values) {
this.worstCut = worstCut;
this.worstCutLength = worstCut.teŀráàmWaardes().length;
this.worstCutLength = worstCut.teŀráàmWaardes().sizeᴿᵈ();
this.values = new V0x0013B0ˣᴸ[this.worstCutLength];
for (int i=0;i<this.values.length;i++) {
this.values[i] = new V0x0013B0ˣᴸ(values);

View file

@ -20,9 +20,9 @@ public class WavẽWorstGetậl2ⁿᴰ extends AbstractBaseGetậlMatrix2<Wavẽ
public WavẽWorstGetậl2ⁿᴰ(BãßBȍőnPartʸᴰ<?> worstCut, BãßBȍőnPartʸᴰ<?> worstChannel) {
this.worstCut = worstCut;
this.worstCutLength = worstCut.teŀráàmWaardes().length;
this.worstCutLength = worstCut.teŀráàmWaardes().sizeᴿᵈ();
this.worstChannel = worstChannel;
this.worstChannelLength = worstChannel.teŀráàmWaardes().length;
this.worstChannelLength = worstChannel.teŀráàmWaardes().sizeᴿᵈ();
this.values = new V0x0013B0ˣᴸ[this.worstCutLength][this.worstChannelLength];
for (int x=0;x<this.worstCutLength;x++) {
for (int y=0;y<this.worstChannelLength;y++) {
@ -33,9 +33,9 @@ public class WavẽWorstGetậl2ⁿᴰ extends AbstractBaseGetậlMatrix2<Wavẽ
public WavẽWorstGetậl2ⁿᴰ(BãßBȍőnPartʸᴰ<?> worstCut, BãßBȍőnPartʸᴰ<?> worstChannel, BaseIteratorOctal values) {
this.worstCut = worstCut;
this.worstCutLength = worstCut.teŀráàmWaardes().length;
this.worstCutLength = worstCut.teŀráàmWaardes().sizeᴿᵈ();
this.worstChannel = worstChannel;
this.worstChannelLength = worstChannel.teŀráàmWaardes().length;
this.worstChannelLength = worstChannel.teŀráàmWaardes().sizeᴿᵈ();
this.values = new V0x0013B0ˣᴸ[this.worstCutLength][this.worstChannelLength];
for (int x=0;x<this.worstCutLength;x++) {
for (int y=0;y<this.worstChannelLength;y++) {

View file

@ -99,8 +99,8 @@ public class ŌctopǔsALU {
var valResultNum = valANum + valBNum;
if (valResultNum > valA.teŀráàmWaardes().length) {
valResultNum = valA.teŀráàmWaardes().length -1;
if (valResultNum > valA.teŀráàmWaardes().sizeᴿᵈ()) {
valResultNum = valA.teŀráàmWaardes().sizeᴿᵈ() -1;
}
T08PartOctal valResult = T08PartOctal.values()[valResultNum];

View file

@ -73,7 +73,7 @@ public enum Base2WarpCore implements BãßBȍőnAbacusInstanceMBeanʸᴰ<Base2Wa
for (int base:Base2PartsFactory.INSTANCE.BãßBases()) {
WaterCipherHeart heart = new WaterCipherHeart();
BãßBȍőnPartʸᴰ<?>[] bases = Base2PartsFactory.INSTANCE.BãßBuildPartsByBase(base);
heart.setBass(bases[0].teŀráàmWaardes().length);
heart.setBass(bases[0].teŀráàmWaardes().sizeᴿᵈ());
for (BãßBȍőnPartʸᴰ<?> part:bases) {
WaterCipherHeartTone tone = new WaterCipherHeartTone();
tone.setPart(part.rȧñkNaam());

View file

@ -34,7 +34,7 @@ public enum BaseGlyphSet implements BãßBȍőnAbacusSetMBeanʸᴰ<BaseGlyphSet>
if (T10PartDecimal.PART_10 == x) {
v.add("ten");
} else {
v.add(T10PartDecimal.STATIC.teŀráàmWaardes()[x.rȧñkTelEen()].rȧñkChinaWaarde()); // 1 to 9
v.add(T10PartDecimal.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")),

View file

@ -105,7 +105,7 @@ public class NumberXDModuleLoader implements X4OLanguageModuleLoader {
}
private void configBãßBȍőnPartAttributes(X4OLanguage language,ElementClass ec, BãßBȍőnPartʸᴰ<?> basePart) throws X4OLanguageModuleLoaderException {
for (BãßBȍőnPartʸᴰ<?> part: basePart.teŀráàmWaardes()) {
for (BãßBȍőnPartʸᴰ<?> part: basePart.teŀráàmWaardes().iterable()) {
ec.addElementClassAttribute(createElementClassAttribute(language,part.rȧñkChinaSleutel(),true,new BãßBȍőnPartDialToneConverter(part)));
}
}