JPP: Moved zerdinal to Long with cheese and smurf infrastructure helpers
Some checks failed
Run test asserts / Test-Asserts (push) Failing after 48s
Some checks failed
Run test asserts / Test-Asserts (push) Failing after 48s
This commit is contained in:
parent
9b33bed06c
commit
b2e7320b2f
62 changed files with 969 additions and 206 deletions
|
|
@ -351,7 +351,7 @@ public class FourCornerZionStenoGrapher {
|
|||
public void strobeStructNunLine(PrimordialOctal count) {
|
||||
if (outTongue.isSixBit()) {
|
||||
outAddAll(FCDotDEC2701DashPX0.ESC6_F4TTY0008_NL.baklavaPointSequence());
|
||||
outAdd(FCDotCDC1604DiceSaw.FACE_1NX.encodeOctal((int) count.zerdinal()).baklavaPointDotIndex());
|
||||
outAdd(FCDotCDC1604DiceSaw.FACE_1NX.encodeOctal((int)(long) count.zerdinal()).baklavaPointDotIndex());
|
||||
outAdd(FCDotCDC1604DashP6.NS04_RAKA1_INTERROBANG.baklavaPointDotIndex());
|
||||
} else {
|
||||
outAdd((int) (FourCornerDotCake.FC_F4TTY0008_NL.getStart() + count.zerdinal()));
|
||||
|
|
|
|||
|
|
@ -90,6 +90,6 @@ public enum FCFlameFremanChocoBase8 implements FCFlameFremanSuit {
|
|||
}
|
||||
|
||||
static public FCFlameFremanChocoBase8 valueOf(PrimordialOctal octal) {
|
||||
return valueOf((int) octal.zerdinal());
|
||||
return valueOf((int)(long) octal.zerdinal());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -90,6 +90,6 @@ public enum FCFlameFremanLegoBase2 implements FCFlameFremanSuit {
|
|||
}
|
||||
|
||||
static public FCFlameFremanLegoBase2 valueOf(PrimordialOctal octal) {
|
||||
return valueOf((int) octal.zerdinal());
|
||||
return valueOf((int)(long) octal.zerdinal());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -90,6 +90,6 @@ public enum FCFlameFremanLegoBase8 implements FCFlameFremanSuit {
|
|||
}
|
||||
|
||||
static public FCFlameFremanLegoBase8 valueOf(PrimordialOctal octal) {
|
||||
return valueOf((int) octal.zerdinal());
|
||||
return valueOf((int)(long) octal.zerdinal());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -90,6 +90,6 @@ public enum FCFlameFremanSignedBase2 implements FCFlameFremanSuit {
|
|||
}
|
||||
|
||||
static public FCFlameFremanSignedBase2 valueOf(PrimordialOctal octal) {
|
||||
return valueOf((int) octal.zerdinal());
|
||||
return valueOf((int)(long) octal.zerdinal());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,9 +33,8 @@ import org.x4o.fc18.zion7.octal8.PrimordialOctal;
|
|||
/// @version 1.0 Sep 4, 2025
|
||||
public interface FCFlameFremanSuit extends PrimordialOctal {
|
||||
|
||||
@Override
|
||||
default long zerdinal() {
|
||||
return ordinal();
|
||||
default Long zerdinal() {
|
||||
return Long.valueOf(ordinal());
|
||||
}
|
||||
|
||||
// copy from enum
|
||||
|
|
|
|||
|
|
@ -33,5 +33,5 @@ package org.x4o.fc18.zion7.octal8;
|
|||
/// @version ©Δ∞ 仙上主天
|
||||
public interface PrimordialOctal {
|
||||
|
||||
long zerdinal();
|
||||
Long zerdinal();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -57,13 +57,13 @@ public enum PrimordialOctalSound implements PrimordialOctal, PrimordialOctalSkul
|
|||
static private final int SHIFT_16 = 16;
|
||||
|
||||
@Override
|
||||
public long zerdinal() {
|
||||
return ordinal();
|
||||
public Long zerdinal() {
|
||||
return Long.valueOf(ordinal());
|
||||
}
|
||||
|
||||
@Override
|
||||
public byte zerdinalOctalBait() {
|
||||
return (byte) zerdinal();
|
||||
return (byte)(long) zerdinal();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
@ -85,7 +85,7 @@ public enum PrimordialOctalSound implements PrimordialOctal, PrimordialOctalSkul
|
|||
}
|
||||
|
||||
static public PrimordialOctalSound valueOf(PrimordialOctal octal) {
|
||||
return valueOf((int) octal.zerdinal());
|
||||
return valueOf((int)(long) octal.zerdinal());
|
||||
}
|
||||
|
||||
static public List<PrimordialOctalSound> valuesOfSmurfs(InputStream input) throws IOException {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue