gdxapp4d/demo4d-numberxd/src/main/love/distributedrebirth/numberxd/WaveGetậl1ᑫᴰ.java

53 lines
1.5 KiB
Java
Raw Normal View History

2022-02-04 17:00:03 +00:00
package love.distributedrebirth.numberxd;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal;
import love.distributedrebirth.numberxd.base2t.BaseIteratorOctalStack;
import love.distributedrebirth.numberxd.base2t.part.T04PartQuad;
import love.distributedrebirth.numberxd.base2t.typexl.V0x049D40ˣᴸ;
/**
* Wave quad channel.
*/
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class WaveGetậl1ᑫᴰ extends AbstractBaseGetậlMatrix1<WaveGetậl1ᑫᴰ, V0x049D40ˣᴸ> {
2022-02-04 17:00:03 +00:00
private final V0x049D40ˣᴸ[] values = new V0x049D40ˣᴸ[T04PartQuad.LENGTH()];
public WaveGetậl1ᑫᴰ() {
for (int i=0;i<this.values.length;i++) {
this.values[i] = new V0x049D40ˣᴸ();
}
}
public WaveGetậl1ᑫᴰ(BaseIteratorOctal values) {
for (int i=0;i<this.values.length;i++) {
this.values[i] = new V0x049D40ˣᴸ(values);
}
}
@Override
public V0x049D40ˣᴸ getValue() {
return values[matrix1];
2022-02-04 17:00:03 +00:00
}
@Override
public int getMatrix1Length() {
2022-02-04 17:00:03 +00:00
return T04PartQuad.LENGTH();
}
@Override
2022-02-04 21:44:11 +00:00
public WaveGetậl1ᑫᴰ toClone(BaseIteratorOctal values) {
return new WaveGetậl1ᑫᴰ(values);
}
@Override
public BaseIteratorOctal iteratorOctalsByClone() {
2022-02-04 17:00:03 +00:00
BaseIteratorOctalStack cloneStack = new BaseIteratorOctalStack();
for (int i=0;i<this.values.length;i++) {
cloneStack.addIterator(this.values[i].iteratorOctalsByClone());
}
2022-02-04 21:44:11 +00:00
return cloneStack;
2022-02-04 17:00:03 +00:00
}
}