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
|
|
@ -171,14 +171,14 @@ public enum TTꞱꞱᖟGateway implements BãßᛗᚢᛗᛗᛉVū́ǘrChaliceEnu
|
|||
|
||||
static abstract private class BoneTerminatorBaseX<T extends BoneTerminatorBaseX<T>> implements Terminator𓄯<T>,BãßᛗᚢᛗᛗᛉBoneBabe𓄯<T> {
|
||||
//protected final int slices;
|
||||
protected final int slice;
|
||||
private final Function<Integer, T> creator;
|
||||
protected final long slice;
|
||||
private final Function<Long, T> creator;
|
||||
private final BãßBȍőnCoffinԲ ghostsInAShell = 亞ᶦᶦᶦ.thisʸᴰᐧᐧˡᶦᵍʰᵗˢᵃᵇᵉʳ(thisᵀᴮᵒⁿᵉ());
|
||||
|
||||
@BãßBȍőnSpiderWire注(paint = BãßBȍőnBőatꞱᴿᴳᴮ.ẞassPaint.ꞱAnnotationWire.class)
|
||||
private Terminator注 terminator注;
|
||||
|
||||
private BoneTerminatorBaseX(/*int slices,*/ int slice, Function<Integer, T> creator) {
|
||||
private BoneTerminatorBaseX(/*int slices,*/ long slice, Function<Long, T> creator) {
|
||||
亞ᶦᶦᶦᶦ.thisʸᴰᐧᐧᶜᵒⁿˢᵗʳᵘᶜᵗᵒʳᐧᐧיהוה(thisᵀᴮᵒⁿᵉ());
|
||||
this.creator = Objects.requireNonNull(creator);
|
||||
this.slice = slice;
|
||||
|
|
@ -192,15 +192,15 @@ public enum TTꞱꞱᖟGateway implements BãßᛗᚢᛗᛗᛉVū́ǘrChaliceEnu
|
|||
return ghostsInAShell;
|
||||
}
|
||||
@Override
|
||||
final public int zerdinal() {
|
||||
final public long zerdinal() {
|
||||
return slice;
|
||||
}
|
||||
@Override
|
||||
final public int zerdinalSpaceBoundary() {
|
||||
final public long zerdinalSpaceBoundary() {
|
||||
return terminator注.slices();
|
||||
}
|
||||
@Override
|
||||
final public T zerdinalMaterializeSpace(int zerdinal) {
|
||||
final public T zerdinalMaterializeSpace(long zerdinal) {
|
||||
if (slice == zerdinal) {
|
||||
return thisᵀᴮᵒⁿᵉ(); // keep JVM identity equals to itself
|
||||
}
|
||||
|
|
@ -265,26 +265,26 @@ public enum TTꞱꞱᖟGateway implements BãßᛗᚢᛗᛗᛉVū́ǘrChaliceEnu
|
|||
}
|
||||
private interface PrimordialZerdinalBase1 extends PrimordialZerdinalMutexBase1, PrimordialZerdinalMutex<PrimordialZerdinalMutexBase1> {
|
||||
@Override
|
||||
default int zerdinalSpaceBoundary() {
|
||||
default long zerdinalSpaceBoundary() {
|
||||
return PART_0001; // TODO: this comes (twice) automaticly from the aggregated named tri merg-ed object slug group A/B(of 18 bit) by knowing the offset of the base of the slug group via the interface the value part (above)
|
||||
}
|
||||
}
|
||||
private interface PrimordialZerdinalBase2 extends PrimordialZerdinalMutexBase2, PrimordialZerdinalMutex<PrimordialZerdinalMutexBase2> {
|
||||
@Override
|
||||
default int zerdinalSpaceBoundary() {
|
||||
default long zerdinalSpaceBoundary() {
|
||||
return PART_0002;
|
||||
}
|
||||
}
|
||||
@Terminator注(slices = 1) // TODO: delete anno, comes from first tri merg-ed slug, the second tri-merged-ed slug is the PART_0001++ slice identifier interface key.
|
||||
static public class BoneZerdinalBase1 extends BoneTerminatorBaseX<BoneZerdinalBase1> implements PrimordialZerdinalBase1 {
|
||||
static public final BoneZerdinalBase1 IDENDITY = new BoneZerdinalBase1(ᒢℭỗᶇṧⱦᶏꬼȶʂ.INTᣟᐧᣟZERO);
|
||||
private BoneZerdinalBase1(int slice) {
|
||||
private BoneZerdinalBase1(long slice) {
|
||||
super(slice, i -> new BoneZerdinalBase1(i)); // TODO: make anno optional and add slice count in an drum constructor
|
||||
}
|
||||
static public BoneZerdinalBase1 valueOf(int zerdinal) {
|
||||
return IDENDITY.zerdinalMaterializeSpace(zerdinal);
|
||||
}
|
||||
static public int valuesLength() {
|
||||
static public long valuesLength() {
|
||||
return IDENDITY.zerdinalSpaceBoundary();
|
||||
}
|
||||
static public BoneZerdinalBase1[] values() {
|
||||
|
|
@ -294,13 +294,13 @@ public enum TTꞱꞱᖟGateway implements BãßᛗᚢᛗᛗᛉVū́ǘrChaliceEnu
|
|||
@Terminator注(slices = 2)
|
||||
static public class BoneZerdinalBase2 extends BoneTerminatorBaseX<BoneZerdinalBase2> implements PrimordialZerdinalBase2 {
|
||||
static public final BoneZerdinalBase2 IDENDITY = new BoneZerdinalBase2(ᒢℭỗᶇṧⱦᶏꬼȶʂ.INTᣟᐧᣟZERO);
|
||||
private BoneZerdinalBase2(int slice) {
|
||||
private BoneZerdinalBase2(long slice) {
|
||||
super(slice, i -> new BoneZerdinalBase2(i));
|
||||
}
|
||||
static public BoneZerdinalBase2 valueOf(int zerdinal) {
|
||||
return IDENDITY.zerdinalMaterializeSpace(zerdinal);
|
||||
}
|
||||
static public int valuesLength() {
|
||||
static public long valuesLength() {
|
||||
return IDENDITY.zerdinalSpaceBoundary();
|
||||
}
|
||||
static public BoneZerdinalBase2[] values() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue