2022-01-30 22:00:16 +01:00
|
|
|
package love.distributedrebirth.numberxd;
|
2022-01-30 21:50:19 +01:00
|
|
|
|
2022-02-02 22:51:56 +01:00
|
|
|
import love.distributedrebirth.numberxd.base2t.part.T12PartUncial;
|
2022-02-04 18:00:03 +01:00
|
|
|
import love.distributedrebirth.numberxd.base2t.part.T16PartHex;
|
|
|
|
|
import love.distributedrebirth.numberxd.base2t.type.V009Tyte;
|
|
|
|
|
import love.distributedrebirth.numberxd.base2t.type.V144Tocta;
|
|
|
|
|
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
|
2022-02-02 18:26:21 +01:00
|
|
|
import love.distributedrebirth.numberxd.base2t.BaseIteratorOctal;
|
2022-02-04 18:00:03 +01:00
|
|
|
import love.distributedrebirth.numberxd.base2t.BaseIteratorOctalStack;
|
2022-01-30 21:50:19 +01:00
|
|
|
|
|
|
|
|
/**
|
2022-01-31 13:58:19 +01:00
|
|
|
* Holds an 864 bit fraction.
|
2022-01-30 21:50:19 +01:00
|
|
|
*/
|
2022-02-04 18:00:03 +01:00
|
|
|
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
2022-02-04 21:26:43 +01:00
|
|
|
public class GroßGetậl6ˢᴰ extends AbstractBaseGetậlMatrix2<GroßGetậl6ˢᴰ,V009Tyte> {
|
2022-01-30 21:50:19 +01:00
|
|
|
|
2022-02-04 18:00:03 +01:00
|
|
|
private final V144Tocta[] values = new V144Tocta[T12PartUncial.LENGTH()];
|
2022-01-30 21:50:19 +01:00
|
|
|
|
2022-01-31 13:58:19 +01:00
|
|
|
public GroßGetậl6ˢᴰ() {
|
2022-01-31 20:13:41 +01:00
|
|
|
for (int i=0;i<this.values.length;i++) {
|
2022-02-04 18:00:03 +01:00
|
|
|
this.values[i] = new V144Tocta();
|
2022-01-30 21:50:19 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-02-02 18:26:21 +01:00
|
|
|
public GroßGetậl6ˢᴰ(BaseIteratorOctal values) {
|
2022-01-31 20:13:41 +01:00
|
|
|
for (int i=0;i<this.values.length;i++) {
|
2022-02-04 18:00:03 +01:00
|
|
|
this.values[i] = new V144Tocta(values);
|
2022-01-30 21:50:19 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-02-04 18:00:03 +01:00
|
|
|
public V009Tyte getValue() {
|
2022-02-04 21:26:43 +01:00
|
|
|
return values[matrix2].getTytePart(T16PartHex.values()[matrix1]);
|
2022-01-30 21:50:19 +01:00
|
|
|
}
|
|
|
|
|
|
2022-02-04 18:00:03 +01:00
|
|
|
@Override
|
2022-02-04 21:26:43 +01:00
|
|
|
public int getMatrix1Length() {
|
2022-02-04 18:00:03 +01:00
|
|
|
return T16PartHex.LENGTH();
|
2022-01-30 21:50:19 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
2022-02-04 21:26:43 +01:00
|
|
|
public int getMatrix2Length() {
|
2022-02-04 18:00:03 +01:00
|
|
|
return T12PartUncial.LENGTH();
|
2022-01-30 21:50:19 +01:00
|
|
|
}
|
2022-02-04 18:00:03 +01:00
|
|
|
|
2022-01-30 21:50:19 +01:00
|
|
|
@Override
|
2022-02-04 22:44:11 +01:00
|
|
|
public GroßGetậl6ˢᴰ toClone(BaseIteratorOctal values) {
|
|
|
|
|
return new GroßGetậl6ˢᴰ(values);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public BaseIteratorOctal iteratorOctalsByClone() {
|
2022-02-04 18:00:03 +01:00
|
|
|
BaseIteratorOctalStack cloneStack = new BaseIteratorOctalStack();
|
|
|
|
|
for (int i=0;i<this.values.length;i++) {
|
|
|
|
|
cloneStack.addIterator(this.values[i].iteratorOctalsByClone());
|
|
|
|
|
}
|
2022-02-04 22:44:11 +01:00
|
|
|
return cloneStack;
|
2022-01-30 21:50:19 +01:00
|
|
|
}
|
|
|
|
|
}
|