JPP: Concerted zerdinal to long
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 1m11s
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 1m11s
This commit is contained in:
parent
e6ff02b8e0
commit
806121a09a
106 changed files with 443 additions and 446 deletions
|
|
@ -228,7 +228,7 @@ public class FourCornerUnicodeDisplay {
|
|||
|
||||
@Override
|
||||
public void strobeStructNunLine(PrimordialOctal count) {
|
||||
for (int i = count.zerdinal(); i >= 0; i--) {
|
||||
for (long i = count.zerdinal(); i >= 0; i--) {
|
||||
output.appendCodePoint('\n');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -261,11 +261,11 @@ public class FourCornerZionStenoGrapher {
|
|||
if (outTongue.isSixBit()) {
|
||||
outAdd(FCDotDEC2701DashPX0.ESC6_SAND_WORM.cakePointDotIndex());
|
||||
while (walkItr.hasNext()) {
|
||||
outAdd(FCDotCDC1604DashP6.NX01_A.cakePointDotIndex() + walkItr.next().zerdinal());
|
||||
outAdd((int) (FCDotCDC1604DashP6.NX01_A.cakePointDotIndex() + walkItr.next().zerdinal()));
|
||||
}
|
||||
outAdd(FCDotCDC1604DashP6.NS05_RAKA1_UPQUESTION.cakePointDotIndex());
|
||||
while (spiceItr.hasNext()) {
|
||||
outAdd(FCDotCDC1604DashP6.NX01_A.cakePointDotIndex() + spiceItr.next().zerdinal());
|
||||
outAdd((int) (FCDotCDC1604DashP6.NX01_A.cakePointDotIndex() + spiceItr.next().zerdinal()));
|
||||
}
|
||||
outAdd(FCDotCDC1604DashP6.NS04_RAKA1_INTERROBANG.cakePointDotIndex());
|
||||
} else {
|
||||
|
|
@ -351,10 +351,10 @@ public class FourCornerZionStenoGrapher {
|
|||
public void strobeStructNunLine(PrimordialOctal count) {
|
||||
if (outTongue.isSixBit()) {
|
||||
outAddAll(FCDotDEC2701DashPX0.ESC6_F4TTY0008_NL.baklavaPointSequence());
|
||||
outAdd(FCDotCDC1604DiceSaw.FACE_1NX.encodeOctal(count.zerdinal()).baklavaPointDotIndex());
|
||||
outAdd(FCDotCDC1604DiceSaw.FACE_1NX.encodeOctal((int) count.zerdinal()).baklavaPointDotIndex());
|
||||
outAdd(FCDotCDC1604DashP6.NS04_RAKA1_INTERROBANG.baklavaPointDotIndex());
|
||||
} else {
|
||||
outAdd(FourCornerDotCake.FC_F4TTY0008_NL.getStart() + count.zerdinal());
|
||||
outAdd((int) (FourCornerDotCake.FC_F4TTY0008_NL.getStart() + count.zerdinal()));
|
||||
}
|
||||
outFlush();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -90,6 +90,6 @@ public enum FCFlameFremanChocoBase8 implements FCFlameFremanSuit {
|
|||
}
|
||||
|
||||
static public FCFlameFremanChocoBase8 valueOf(PrimordialOctal octal) {
|
||||
return valueOf(octal.zerdinal());
|
||||
return valueOf((int) octal.zerdinal());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -90,6 +90,6 @@ public enum FCFlameFremanLegoBase2 implements FCFlameFremanSuit {
|
|||
}
|
||||
|
||||
static public FCFlameFremanLegoBase2 valueOf(PrimordialOctal octal) {
|
||||
return valueOf(octal.zerdinal());
|
||||
return valueOf((int) octal.zerdinal());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -90,6 +90,6 @@ public enum FCFlameFremanLegoBase8 implements FCFlameFremanSuit {
|
|||
}
|
||||
|
||||
static public FCFlameFremanLegoBase8 valueOf(PrimordialOctal octal) {
|
||||
return valueOf(octal.zerdinal());
|
||||
return valueOf((int) octal.zerdinal());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -90,6 +90,6 @@ public enum FCFlameFremanSignedBase2 implements FCFlameFremanSuit {
|
|||
}
|
||||
|
||||
static public FCFlameFremanSignedBase2 valueOf(PrimordialOctal octal) {
|
||||
return valueOf(octal.zerdinal());
|
||||
return valueOf((int) octal.zerdinal());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ import org.x4o.fc18.zion7.octal8.PrimordialOctal;
|
|||
public interface FCFlameFremanSuit extends PrimordialOctal {
|
||||
|
||||
@Override
|
||||
default int zerdinal() {
|
||||
default long zerdinal() {
|
||||
return ordinal();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -33,5 +33,5 @@ package org.x4o.fc18.zion7.octal8;
|
|||
/// @version ©Δ∞ 仙上主天
|
||||
public interface PrimordialOctal {
|
||||
|
||||
int zerdinal();
|
||||
long zerdinal();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ public enum PrimordialOctalSound implements PrimordialOctal, PrimordialOctalSkul
|
|||
static private final int SHIFT_16 = 16;
|
||||
|
||||
@Override
|
||||
public int zerdinal() {
|
||||
public long zerdinal() {
|
||||
return ordinal();
|
||||
}
|
||||
|
||||
|
|
@ -68,12 +68,12 @@ public enum PrimordialOctalSound implements PrimordialOctal, PrimordialOctalSkul
|
|||
|
||||
@Override
|
||||
public int zerdinalOctalBitShifter() {
|
||||
return zerdinal() * OCTAL_BITS;
|
||||
return (int) (zerdinal() * OCTAL_BITS);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int zerdinalOctalShiftSmurf(PrimordialOctalSkullBait shifter) {
|
||||
return zerdinal() << shifter.zerdinalOctalBitShifter();
|
||||
return (int) (zerdinal() << shifter.zerdinalOctalBitShifter());
|
||||
}
|
||||
|
||||
static public PrimordialOctalSound valueOfOctalShift(int value, PrimordialOctalSound shifter) {
|
||||
|
|
@ -85,7 +85,7 @@ public enum PrimordialOctalSound implements PrimordialOctal, PrimordialOctalSkul
|
|||
}
|
||||
|
||||
static public PrimordialOctalSound valueOf(PrimordialOctal octal) {
|
||||
return valueOf(octal.zerdinal());
|
||||
return valueOf((int) octal.zerdinal());
|
||||
}
|
||||
|
||||
static public List<PrimordialOctalSound> valuesOfSmurfs(InputStream input) throws IOException {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue