2022-02-09 16:39:11 +01:00
|
|
|
package love.distributedrebirth.numberxd;
|
|
|
|
|
|
|
|
|
|
import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal;
|
|
|
|
|
import love.distributedrebirth.numberxd.base2t.BaseIteratorOctalStack;
|
2022-10-26 01:49:44 +02:00
|
|
|
import love.distributedrebirth.numberxd.base2t.part.ii.TerminatorPartᶦᶦ;
|
2022-02-09 16:39:11 +01:00
|
|
|
import love.distributedrebirth.numberxd.base2t.typexl.V0x0013B0ˣᴸ;
|
2022-10-31 04:39:32 +01:00
|
|
|
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
2022-02-09 16:39:11 +01:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Wave getal in x parts.
|
|
|
|
|
*/
|
2022-10-30 16:59:24 +01:00
|
|
|
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
2022-02-09 16:39:11 +01:00
|
|
|
public class WavẽWorstGetậl1ⁿᴰ extends AbstractBaseGetậlMatrix1<WavẽWorstGetậl1ⁿᴰ, V0x0013B0ˣᴸ> {
|
|
|
|
|
|
|
|
|
|
private final V0x0013B0ˣᴸ[] values;
|
2022-10-26 01:49:44 +02:00
|
|
|
private final TerminatorPartᶦᶦ<?> worstCut;
|
2022-02-09 16:39:11 +01:00
|
|
|
private final int worstCutLength;
|
|
|
|
|
|
2022-10-26 01:49:44 +02:00
|
|
|
public WavẽWorstGetậl1ⁿᴰ(TerminatorPartᶦᶦ<?> worstCut) {
|
2022-02-09 16:39:11 +01:00
|
|
|
this.worstCut = worstCut;
|
2022-10-24 10:12:39 +02:00
|
|
|
this.worstCutLength = worstCut.teŀráàmWaardes().sizeᴿᵈ();
|
2022-02-09 16:39:11 +01:00
|
|
|
this.values = new V0x0013B0ˣᴸ[this.worstCutLength];
|
|
|
|
|
for (int i=0;i<this.values.length;i++) {
|
|
|
|
|
this.values[i] = new V0x0013B0ˣᴸ();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-10-26 01:49:44 +02:00
|
|
|
public WavẽWorstGetậl1ⁿᴰ(TerminatorPartᶦᶦ<?> worstCut, BaseIteratorOctal values) {
|
2022-02-09 16:39:11 +01:00
|
|
|
this.worstCut = worstCut;
|
2022-10-24 10:12:39 +02:00
|
|
|
this.worstCutLength = worstCut.teŀráàmWaardes().sizeᴿᵈ();
|
2022-02-09 16:39:11 +01:00
|
|
|
this.values = new V0x0013B0ˣᴸ[this.worstCutLength];
|
|
|
|
|
for (int i=0;i<this.values.length;i++) {
|
|
|
|
|
this.values[i] = new V0x0013B0ˣᴸ(values);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public V0x0013B0ˣᴸ getValue() {
|
|
|
|
|
return values[matrix1];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public int getMatrix1Length() {
|
|
|
|
|
return worstCutLength;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public WavẽWorstGetậl1ⁿᴰ toClone(BaseIteratorOctal values) {
|
|
|
|
|
return new WavẽWorstGetậl1ⁿᴰ(worstCut, values);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public BaseIteratorOctal iteratorOctalsByClone() {
|
|
|
|
|
BaseIteratorOctalStack cloneStack = new BaseIteratorOctalStack();
|
|
|
|
|
for (int i=0;i<this.values.length;i++) {
|
|
|
|
|
cloneStack.addIterator(this.values[i].iteratorOctalsByClone());
|
|
|
|
|
}
|
|
|
|
|
return cloneStack;
|
|
|
|
|
}
|
|
|
|
|
}
|