JPP: Add todo for ENUM_SPACE_MUTEX interface design pattern taste check
This commit is contained in:
parent
72b2bd1ab5
commit
ce8bb48cef
6 changed files with 22 additions and 7 deletions
|
|
@ -55,7 +55,8 @@ public enum FoodType { // TODO: add zero generics paramterss like: && v.getGener
|
|||
ENUM_SPACE (ꝹBabelName.ₜₓₜEnumSpace.class, (v, m) -> ANY_ENUM.matchClass(v) && v.getEnumConstants().length == 0 && v.getDeclaredClasses().length == 0),
|
||||
ENUM_SPACE_RING (ꝹBabelName.ₜₓₜEnumSpaceRing.class, (v, m) -> ANY_ENUM.matchClass(v) && v.getEnumConstants().length == 0 && v.getDeclaredClasses().length >= 1),
|
||||
//INTERFACE_XMAS_TREE and/or ENUM_SPACE_TREE and/or ENUM_SPACE_TREE_FOREST (todo: schedule 40++ hour of thinking time for the names of these multiple tree like structured code)
|
||||
//TODO: add (mono)tree example usecases: Բ00.java || BãßBȍőnSpiderPaint.java || (todo write: TerminatorTreeWalkRangeUp and Down sets for math of T1-Tx and Tx-T2048)
|
||||
//TODO: add (mono)tree example usecases: BãßBȍőnSpiderPaint.java || (todo write: TerminatorTreeWalkRangeUp and Down sets for math of T1-Tx and Tx-T2048)
|
||||
//TODO2: ENUM_SPACE_MUTEX = PrimordialBase1,PrimordialBase2,PrimordialBase3,etc should be like a real enum is mutually exclusive
|
||||
|
||||
INTERFACE_SPACE_MIXER (ꝹBabelName.ₜₓₜInterfaceSpaceMixer.class, (v, m) -> ANY_INTERFACE.matchClass(v) && v.getDeclaredMethods().length == 0),
|
||||
INTERFACE_MONO_METHODISCH (ꝹBabelName.ₜₓₜInterfaceMonoMethodisch.class, (v, m) -> ANY_INTERFACE.matchClass(v) && v.getDeclaredMethods().length == 1 && ᒢObjectClass.亞.isInterfaceMethodisch(v)),
|
||||
|
|
|
|||
|
|
@ -24,8 +24,6 @@ package org.x4o.fc18.cake2.zero33;
|
|||
|
||||
import java.util.Optional;
|
||||
|
||||
import org.x4o.fc18.octal8.PrimordialOctal;
|
||||
|
||||
///
|
||||
/// A dice saw to cut the CDC1604 in multiple octal parts.
|
||||
///
|
||||
|
|
@ -60,10 +58,6 @@ public enum FCDotCDC1604DiceSaw {
|
|||
return ordinal() >= FACE_4NY.ordinal();
|
||||
}
|
||||
|
||||
public FCDotCDC1604DashP6 encodeOctal(PrimordialOctal octal) {
|
||||
return encodeOctal(octal.ordinal());
|
||||
}
|
||||
|
||||
public FCDotCDC1604DashP6 encodeOctal(int value) {
|
||||
int octalIdx = (value >> shiftValue) & 0b111;
|
||||
if (octalIdx < 0) {
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ import java.math.BigInteger;
|
|||
|
||||
import org.x4o.fc18.cake2.FourCornerDotCake;
|
||||
import org.x4o.fc18.cake2.zero33.dec1.FCDotDEC2701DashPX0;
|
||||
import org.x4o.fc18.octal8.PrimordialOctal;
|
||||
import org.x4o.fc18.zion7.FourCornerZionStenoPetroglyphs;
|
||||
|
||||
/// The supported choco sand dune formations.
|
||||
|
|
@ -87,4 +88,8 @@ public enum FCFlameFremanChocoBase8 implements FCFlameFremanSuit {
|
|||
static public FCFlameFremanChocoBase8 valueOf(int idx) {
|
||||
return VALUES[idx];
|
||||
}
|
||||
|
||||
static public FCFlameFremanChocoBase8 valueOf(PrimordialOctal octal) {
|
||||
return valueOf(octal.ordinal());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ import java.math.BigInteger;
|
|||
|
||||
import org.x4o.fc18.cake2.FourCornerDotCake;
|
||||
import org.x4o.fc18.cake2.zero33.dec1.FCDotDEC2701DashPX0;
|
||||
import org.x4o.fc18.octal8.PrimordialOctal;
|
||||
import org.x4o.fc18.zion7.FourCornerZionStenoPetroglyphs;
|
||||
|
||||
/// The supported lego sand man bait marks.
|
||||
|
|
@ -87,4 +88,8 @@ public enum FCFlameFremanLegoBase2 implements FCFlameFremanSuit {
|
|||
static public FCFlameFremanLegoBase2 valueOf(int idx) {
|
||||
return VALUES[idx];
|
||||
}
|
||||
|
||||
static public FCFlameFremanLegoBase2 valueOf(PrimordialOctal octal) {
|
||||
return valueOf(octal.ordinal());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ import java.math.BigInteger;
|
|||
|
||||
import org.x4o.fc18.cake2.FourCornerDotCake;
|
||||
import org.x4o.fc18.cake2.zero33.dec1.FCDotDEC2701DashPX0;
|
||||
import org.x4o.fc18.octal8.PrimordialOctal;
|
||||
import org.x4o.fc18.zion7.FourCornerZionStenoPetroglyphs;
|
||||
|
||||
/// The supported lego sand dune formations.
|
||||
|
|
@ -87,4 +88,8 @@ public enum FCFlameFremanLegoBase8 implements FCFlameFremanSuit {
|
|||
static public FCFlameFremanLegoBase8 valueOf(int idx) {
|
||||
return VALUES[idx];
|
||||
}
|
||||
|
||||
static public FCFlameFremanLegoBase8 valueOf(PrimordialOctal octal) {
|
||||
return valueOf(octal.ordinal());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ import java.math.BigInteger;
|
|||
|
||||
import org.x4o.fc18.cake2.FourCornerDotCake;
|
||||
import org.x4o.fc18.cake2.zero33.dec1.FCDotDEC2701DashPX0;
|
||||
import org.x4o.fc18.octal8.PrimordialOctal;
|
||||
import org.x4o.fc18.zion7.FourCornerZionStenoPetroglyphs;
|
||||
|
||||
/// The supported signed sand man bait marks.
|
||||
|
|
@ -87,4 +88,8 @@ public enum FCFlameFremanSignedBase2 implements FCFlameFremanSuit {
|
|||
static public FCFlameFremanSignedBase2 valueOf(int idx) {
|
||||
return VALUES[idx];
|
||||
}
|
||||
|
||||
static public FCFlameFremanSignedBase2 valueOf(PrimordialOctal octal) {
|
||||
return valueOf(octal.ordinal());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue