Missed one classic style bit name.
This commit is contained in:
parent
993ffd2d45
commit
0a6972d927
|
@ -13,24 +13,24 @@ import love.distributedrebirth.numberxd.base2t.part.T06PartSeximal;
|
||||||
* Holds an 18 bit value.
|
* Holds an 18 bit value.
|
||||||
*/
|
*/
|
||||||
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
||||||
public final class V012Tord implements BaseNumberTyte<V012Tord> {
|
public final class V018Tord implements BaseNumberTyte<V018Tord> {
|
||||||
|
|
||||||
public static int BIT_COUNT = V009Tyte.BIT_COUNT * T02PartBinary.LENGTH();
|
public static int BIT_COUNT = V009Tyte.BIT_COUNT * T02PartBinary.LENGTH();
|
||||||
private V009Tyte[] values = new V009Tyte[T02PartBinary.LENGTH()];
|
private V009Tyte[] values = new V009Tyte[T02PartBinary.LENGTH()];
|
||||||
|
|
||||||
public V012Tord() {
|
public V018Tord() {
|
||||||
this(new V009Tyte(), new V009Tyte());
|
this(new V009Tyte(), new V009Tyte());
|
||||||
}
|
}
|
||||||
|
|
||||||
public V012Tord(BaseIteratorOctal values) {
|
public V018Tord(BaseIteratorOctal values) {
|
||||||
this(new V009Tyte(values), new V009Tyte(values));
|
this(new V009Tyte(values), new V009Tyte(values));
|
||||||
}
|
}
|
||||||
|
|
||||||
public V012Tord(BaseIteratorTyte values) {
|
public V018Tord(BaseIteratorTyte values) {
|
||||||
this(values.next(), values.next());
|
this(values.next(), values.next());
|
||||||
}
|
}
|
||||||
|
|
||||||
private V012Tord(V009Tyte valueHigh, V009Tyte valueLow) {
|
private V018Tord(V009Tyte valueHigh, V009Tyte valueLow) {
|
||||||
setValue(T02PartBinary.PART_1, valueHigh);
|
setValue(T02PartBinary.PART_1, valueHigh);
|
||||||
setValue(T02PartBinary.PART_2, valueLow);
|
setValue(T02PartBinary.PART_2, valueLow);
|
||||||
}
|
}
|
||||||
|
@ -53,8 +53,8 @@ public final class V012Tord implements BaseNumberTyte<V012Tord> {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public V012Tord toClone() {
|
public V018Tord toClone() {
|
||||||
return new V012Tord(iteratorOctalsByClone());
|
return new V018Tord(iteratorOctalsByClone());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
|
@ -15,31 +15,31 @@ import love.distributedrebirth.numberxd.base2t.part.T04PartQuad;
|
||||||
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
||||||
public final class V036Teger implements BaseNumberTyte<V036Teger> {
|
public final class V036Teger implements BaseNumberTyte<V036Teger> {
|
||||||
|
|
||||||
public static int BIT_COUNT = V012Tord.BIT_COUNT * T02PartBinary.LENGTH();
|
public static int BIT_COUNT = V018Tord.BIT_COUNT * T02PartBinary.LENGTH();
|
||||||
private V012Tord[] values = new V012Tord[T02PartBinary.LENGTH()];
|
private V018Tord[] values = new V018Tord[T02PartBinary.LENGTH()];
|
||||||
|
|
||||||
public V036Teger() {
|
public V036Teger() {
|
||||||
this(new V012Tord(), new V012Tord());
|
this(new V018Tord(), new V018Tord());
|
||||||
}
|
}
|
||||||
|
|
||||||
public V036Teger(BaseIteratorOctal values) {
|
public V036Teger(BaseIteratorOctal values) {
|
||||||
this(new V012Tord(values), new V012Tord(values));
|
this(new V018Tord(values), new V018Tord(values));
|
||||||
}
|
}
|
||||||
|
|
||||||
public V036Teger(BaseIteratorTyte values) {
|
public V036Teger(BaseIteratorTyte values) {
|
||||||
this(new V012Tord(values), new V012Tord(values));
|
this(new V018Tord(values), new V018Tord(values));
|
||||||
}
|
}
|
||||||
|
|
||||||
private V036Teger(V012Tord valueHigh, V012Tord valueLow) {
|
private V036Teger(V018Tord valueHigh, V018Tord valueLow) {
|
||||||
setValue(T02PartBinary.PART_1, valueHigh);
|
setValue(T02PartBinary.PART_1, valueHigh);
|
||||||
setValue(T02PartBinary.PART_2, valueLow);
|
setValue(T02PartBinary.PART_2, valueLow);
|
||||||
}
|
}
|
||||||
|
|
||||||
public V012Tord getValue(T02PartBinary part) {
|
public V018Tord getValue(T02PartBinary part) {
|
||||||
return values[part.ordinal()];
|
return values[part.ordinal()];
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setValue(T02PartBinary part, V012Tord value) {
|
public void setValue(T02PartBinary part, V018Tord value) {
|
||||||
values[part.ordinal()] = value;
|
values[part.ordinal()] = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -60,13 +60,13 @@ public final class V144Tocta implements BaseNumberTyte<V144Tocta> {
|
||||||
.setValue(part.splitPartBinary(T04PartQuad.PART_4), value);
|
.setValue(part.splitPartBinary(T04PartQuad.PART_4), value);
|
||||||
}
|
}
|
||||||
|
|
||||||
public V012Tord getTordPart(T08PartOctal part) {
|
public V018Tord getTordPart(T08PartOctal part) {
|
||||||
return getValue(part.splitPartBinary(T03PartTrit.PART_1))
|
return getValue(part.splitPartBinary(T03PartTrit.PART_1))
|
||||||
.getValue(part.splitPartBinary(T03PartTrit.PART_2))
|
.getValue(part.splitPartBinary(T03PartTrit.PART_2))
|
||||||
.getValue(part.splitPartBinary(T03PartTrit.PART_3));
|
.getValue(part.splitPartBinary(T03PartTrit.PART_3));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setTordPart(T08PartOctal part, V012Tord value) {
|
public void setTordPart(T08PartOctal part, V018Tord value) {
|
||||||
getValue(part.splitPartBinary(T03PartTrit.PART_1))
|
getValue(part.splitPartBinary(T03PartTrit.PART_1))
|
||||||
.getValue(part.splitPartBinary(T03PartTrit.PART_2))
|
.getValue(part.splitPartBinary(T03PartTrit.PART_2))
|
||||||
.setValue(part.splitPartBinary(T03PartTrit.PART_3), value);
|
.setValue(part.splitPartBinary(T03PartTrit.PART_3), value);
|
||||||
|
|
Loading…
Reference in a new issue