81 lines
2.4 KiB
Java
81 lines
2.4 KiB
Java
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.T008PartOctal;
|
||
import love.distributedrebirth.numberxd.base2t.typexl.V0x000CA8ˣᴸ;
|
||
|
||
/**
|
||
* Array of ŌṁKlompGetậl4ˢᴰ sliced as cheese.
|
||
*/
|
||
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||
public class KlompÅtŌṁKāassGetậl4ˢᴰ extends AbstractBaseGetậlMatrix2<KlompÅtŌṁKāassGetậl4ˢᴰ, V0x000CA8ˣᴸ> {
|
||
|
||
private final V0x000CA8ˣᴸ[][] kaas;
|
||
private final int kaasCuts;
|
||
|
||
public KlompÅtŌṁKāassGetậl4ˢᴰ(int kaasCuts) {
|
||
if (kaasCuts < 2) {
|
||
throw new IllegalArgumentException("Can't slice cheese into less than one peace.");
|
||
}
|
||
this.kaasCuts = 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ˣᴸ();
|
||
}
|
||
}
|
||
}
|
||
|
||
public KlompÅtŌṁKāassGetậl4ˢᴰ(int kaasCuts, BaseIteratorOctal values) {
|
||
if (kaasCuts < 2) {
|
||
throw new IllegalArgumentException("Can't slice cheese into less than one peace.");
|
||
}
|
||
this.kaasCuts = 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);
|
||
}
|
||
}
|
||
}
|
||
|
||
public int getKaasCuts() {
|
||
return kaasCuts;
|
||
}
|
||
|
||
@Override
|
||
public V0x000CA8ˣᴸ getValue() {
|
||
return kaas[matrix1][matrix2];
|
||
}
|
||
|
||
@Override
|
||
public int getMatrix1Length() {
|
||
return T008PartOctal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
|
||
}
|
||
|
||
@Override
|
||
public int getMatrix2Length() {
|
||
return kaasCuts;
|
||
}
|
||
|
||
@Override
|
||
public KlompÅtŌṁKāassGetậl4ˢᴰ toClone(BaseIteratorOctal values) {
|
||
return new KlompÅtŌṁKāassGetậl4ˢᴰ(getKaasCuts(), values);
|
||
}
|
||
|
||
@Override
|
||
public BaseIteratorOctal iteratorOctalsByClone() {
|
||
BaseIteratorOctalStack cloneStack = new BaseIteratorOctalStack();
|
||
for (int x=0;x<getMatrix1Length();x++) {
|
||
setMatrix1(x);
|
||
for (int y=0;y<getMatrix2Length();y++) {
|
||
setMatrix2(y);
|
||
cloneStack.addIterator(getValue().iteratorOctalsByClone());
|
||
}
|
||
}
|
||
return cloneStack;
|
||
}
|
||
}
|