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