Created DefaultBãßBȍőn interface

This commit is contained in:
Willem Cazander 2022-10-14 01:35:53 +02:00
parent 3acc28dbbf
commit 2e29efb5fe
78 changed files with 963 additions and 606 deletions

View file

@ -17,8 +17,7 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.gdxapp4d.vrgem4.service.deskapp.AbstractDeskApp; import love.distributedrebirth.gdxapp4d.vrgem4.service.deskapp.AbstractDeskApp;
import love.distributedrebirth.gdxapp4d.vrgem4.service.deskapp.DeskAppContourSection; import love.distributedrebirth.gdxapp4d.vrgem4.service.deskapp.DeskAppContourSection;
import love.distributedrebirth.gdxapp4d.vrgem4.service.deskapp.DeskAppRenderer; import love.distributedrebirth.gdxapp4d.vrgem4.service.deskapp.DeskAppRenderer;
import love.distributedrebirth.numberxd.base2t.part.T10PartDecimal; import love.distributedrebirth.numberxd.unicode.BaseGlyphSet;
import love.distributedrebirth.numberxd.base2t.part.T16PartHex;
import net.forwardfire.unitxc.UnitXCManager; import net.forwardfire.unitxc.UnitXCManager;
import net.forwardfire.unitxc.model.UnitXCGroup; import net.forwardfire.unitxc.model.UnitXCGroup;
import net.forwardfire.unitxc.model.UnitXCType; import net.forwardfire.unitxc.model.UnitXCType;
@ -38,6 +37,7 @@ public class DemoUnitConverterDeskApp extends AbstractDeskApp implements DeskApp
private final ImInt unitTypeLimit = new ImInt(5432); private final ImInt unitTypeLimit = new ImInt(5432);
private final List<UnitXCType> convertFromTypes; private final List<UnitXCType> convertFromTypes;
private final BigInteger totalUnits; private final BigInteger totalUnits;
private final ImInt selectedNumberGlyph = new ImInt();
private String[] convertFromTypeNames; private String[] convertFromTypeNames;
public DemoUnitConverterDeskApp(UnitXCManager unitManager) { public DemoUnitConverterDeskApp(UnitXCManager unitManager) {
@ -76,9 +76,21 @@ public class DemoUnitConverterDeskApp extends AbstractDeskApp implements DeskApp
@Override @Override
public void render() { public void render() {
String amount10 = totalUnits.toString(T10PartDecimal.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ()); List<String> bases = new ArrayList<>();
String amount16 = totalUnits.toString(T16PartHex.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ()); for (BaseGlyphSet base:BaseGlyphSet.values()) {
ImGui.text("Total units loaded: "+amount10+" ("+amount16+")"); bases.add(base.name());
}
String[] items = new String[bases.size()];
items = bases.toArray(items);
ImGui.combo("HexType", selectedNumberGlyph, items);
String selectedItem = items[selectedNumberGlyph.get()];
BaseGlyphSet hexNumber = BaseGlyphSet.valueOf(selectedItem);
//String amount10 = totalUnits.toString(T10PartDecimal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ());
String amount10 = BaseGlyphSet.LATIN_BASIC.BȍőnPrintNumber10(totalUnits);
String amount16 = hexNumber.BȍőnPrintNumber16(totalUnits);
ImGui.text("Total units loaded: "+amount10+" (0x"+amount16+")");
// TODO: don't do update on render thread // TODO: don't do update on render thread
if (ImGui.inputDouble("ConvertValue", convertValue)) { if (ImGui.inputDouble("ConvertValue", convertValue)) {

View file

@ -0,0 +1,45 @@
package love.distributedrebirth.bassboonyd;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReadWriteLock;
import java.util.concurrent.locks.ReentrantReadWriteLock;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public interface BãßBȍőn<T, K extends BãßBȍőnCoffinStoreKeyʸᴰ> extends BãßBȍőnCoffinStoreʸᴰ<T, K> {
static class Ꝑŕḯṿª implements BãßBȍőnꝐŕḯṿª {
private static final Map<Object, BãßBȍőnCoffinOpenʸᴰ<?>> GRAVE_YARD = new HashMap<>();
private static final ReadWriteLock FUNERAL = new ReentrantReadWriteLock();
}
@SuppressWarnings("unchecked")
default T BȍőnCoffinHeadStoneʸᴰ() {
return (T) this;
}
@SuppressWarnings("unchecked")
@Override
default BãßBȍőnCoffinʸᴰ<K> GET_BBC() {
BãßBȍőnCoffinOpenʸᴰ<K> zombieCoffin = null;
Lock bibleReader = Ꝑŕḯṿª.FUNERAL.readLock(); // Can't force enum only, thus no jvm safety
bibleReader.lock();
try {
zombieCoffin = (BãßBȍőnCoffinOpenʸᴰ<K>) Ꝑŕḯṿª.GRAVE_YARD.get(BȍőnCoffinHeadStoneʸᴰ());
} finally {
bibleReader.unlock();
}
if (zombieCoffin == null) {
Lock shemiraWriter = Ꝑŕḯṿª.FUNERAL.writeLock();
shemiraWriter.lock();
try {
zombieCoffin = BãßBȍőnCoffinOpenʸᴰ.newInstance();
Ꝑŕḯṿª.GRAVE_YARD.put(BȍőnCoffinHeadStoneʸᴰ(), zombieCoffin);
} finally {
shemiraWriter.unlock();
}
}
return zombieCoffin;
}
}

View file

@ -0,0 +1,91 @@
package love.distributedrebirth.bassboonyd;
import java.util.List;
import java.util.Map;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public interface BãßBȍőnCoffinGhostʸᴰ {
Object PUT_GHOST(String key, Object value);
Object GHOST_OBJ(String key);
@SuppressWarnings("unchecked")
default <Y> Y GHOST_OBJ(String key, Class<Y> type) {
return (Y) GHOST_OBJ(key);
}
default String GHOST_STR(String key) {
return String.class.cast(GHOST_OBJ(key));
}
default Short GHOST_SHORT(String key) {
return Short.class.cast(GHOST_OBJ(key));
}
default Character GHOST_CHAR(String key) {
return Character.class.cast(GHOST_OBJ(key));
}
default Integer GHOST_INT(String key) {
return Integer.class.cast(GHOST_OBJ(key));
}
default Long GHOST_LONG(String key) {
return Long.class.cast(GHOST_OBJ(key));
}
default Boolean GHOST_BOOL(String key) {
return Boolean.class.cast(GHOST_OBJ(key));
}
default Float GHOST_FLOAT(String key) {
return Float.class.cast(GHOST_OBJ(key));
}
default Double GHOST_DOUBLE(String key) {
return Double.class.cast(GHOST_OBJ(key));
}
@SuppressWarnings("unchecked")
default Map<String,Object> GHOST_MAP_OBJ(String key) {
return Map.class.cast(GHOST_OBJ(key));
}
default Object GHOST_MAP_OBJ_VALUE(String key, String valueKey) {
return GHOST_MAP_OBJ(key).get(valueKey);
}
@SuppressWarnings("unchecked")
default Map<String,String> GHOST_MAP_STR(String key) {
return Map.class.cast(GHOST_OBJ(key));
}
default String GHOST_MAP_STR_VALUE(String key, String valueKey) {
return GHOST_MAP_STR(key).get(valueKey);
}
@SuppressWarnings("unchecked")
default Map<String,Integer> GHOST_MAP_INT(String key) {
return Map.class.cast(GHOST_OBJ(key));
}
default Integer GHOST_MAP_INT_VALUE(String key, String valueKey) {
return GHOST_MAP_INT(key).get(valueKey);
}
@SuppressWarnings("unchecked")
default List<Object> GHOST_LIST_OBJ(String key) {
return List.class.cast(GHOST_OBJ(key));
}
@SuppressWarnings("unchecked")
default List<String> GHOST_LIST_STR(String key) {
return List.class.cast(GHOST_OBJ(key));
}
@SuppressWarnings("unchecked")
default List<Integer> GHOST_LIST_INT(String key) {
return List.class.cast(GHOST_OBJ(key));
}
}

View file

@ -6,7 +6,7 @@ import java.util.Map;
import java.util.function.Consumer; import java.util.function.Consumer;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public interface BãßBȍőnCoffinOpenʸᴰ<T extends BãßBȍőnCoffinStoreKeyʸᴰ> extends BãßBȍőnCoffinʸᴰ<T>, DefaultInitMethodʸᴰ { public interface BãßBȍőnCoffinOpenʸᴰ<T extends BãßBȍőnCoffinStoreKeyʸᴰ> extends BãßBȍőnCoffinʸᴰ<T> {
void LOCK_COFFIN(); void LOCK_COFFIN();
@ -20,23 +20,49 @@ public interface BãßBȍőnCoffinOpenʸᴰ<T extends BãßBȍőnCoffinStoreKey
PUT_OBJ(key, new ArrayList<>()); PUT_OBJ(key, new ArrayList<>());
} }
static <T extends DefaultEnumBaseʸᴰ<?> & BãßBȍőnCoffinStoreʸᴰ<?>> void lockCoffin(T store, Consumer<String> logHandler) { static void lockCoffin(DefaultEnumBaseʸᴰ<?,?> store, Consumer<String> logHandler) {
logHandler.accept("Lock: "+store.BãßClassNaam()+" since: "+store.BãßAuthorCopyright()); logHandler.accept("Lock: "+store.BãßClassNaam()+" since: "+store.BãßAuthorCopyright());
for (Object o:store.BãßInstances()) { for (Object o:store.BãßInstances()) {
BãßBȍőnCoffinStoreʸᴰ<?> coffin = BãßBȍőnCoffinStoreʸᴰ.class.cast(o); BãßBȍőnCoffinStoreʸᴰ<?, ?> coffin = BãßBȍőnCoffinStoreʸᴰ.class.cast(o);
BãßBȍőnCoffinOpenʸᴰ<?> coffinOpen = BãßBȍőnCoffinOpenʸᴰ.class.cast(coffin.GET_BBC()); BãßBȍőnCoffinOpenʸᴰ<?> coffinOpen = BãßBȍőnCoffinOpenʸᴰ.class.cast(coffin.GET_BBC());
coffinOpen.LOCK_COFFIN(); coffinOpen.LOCK_COFFIN();
} }
} }
static class BãßBȍőnFamilyGrave implements BãßBȍőnCoffinGhostʸᴰ {
final Map<String,Object> ghosts = new HashMap<>();
volatile boolean deathLock = false;
public void LOCK_GHOST() {
deathLock = true;
}
@Override
public Object PUT_GHOST(String key, Object value) {
if (deathLock) {
throw new IllegalStateException("Can't restore body of family ghost.");
}
return ghosts.put(key, value);
}
@Override
public Object GHOST_OBJ(String key) {
return ghosts.get(key);
}
}
static <Y extends BãßBȍőnCoffinStoreKeyʸᴰ> BãßBȍőnCoffinOpenʸᴰ<Y> newInstance() { static <Y extends BãßBȍőnCoffinStoreKeyʸᴰ> BãßBȍőnCoffinOpenʸᴰ<Y> newInstance() {
return new BãßBȍőnCoffinOpenʸᴰ<Y>() { return new BãßBȍőnCoffinOpenʸᴰ<Y>() {
final Map<Y,Object> initMap = new HashMap<>(); final Map<Y,Object> initMap = new HashMap<>();
final Map<Class<?>,BãßBȍőnFamilyGrave> familyGrave = new HashMap<>();
volatile boolean deathLock = false; volatile boolean deathLock = false;
@Override @Override
public void LOCK_COFFIN() { public void LOCK_COFFIN() {
deathLock = true; deathLock = true;
for (BãßBȍőnFamilyGrave grave:familyGrave.values()) {
grave.LOCK_GHOST();
}
} }
@Override @Override
@ -51,6 +77,16 @@ public interface BãßBȍőnCoffinOpenʸᴰ<T extends BãßBȍőnCoffinStoreKey
} }
return initMap.put(key, value); return initMap.put(key, value);
} }
@Override
public BãßBȍőnCoffinGhostʸᴰ UNHOLY(Class<?> familyName) {
BãßBȍőnFamilyGrave familyGhosts = familyGrave.get(familyName);
if (familyGhosts == null) {
familyGhosts = new BãßBȍőnFamilyGrave();
familyGrave.put(familyName, familyGhosts);
}
return familyGhosts;
}
}; };
} }
} }

View file

@ -4,4 +4,12 @@ package love.distributedrebirth.bassboonyd;
public interface BãßBȍőnCoffinStoreKeyʸᴰ { public interface BãßBȍőnCoffinStoreKeyʸᴰ {
String name(); String name();
static class None implements BãßBȍőnCoffinStoreKeyʸᴰ {
@Override
public String name() {
return BãßBȍőnCoffinStoreKeyʸᴰ.class.getSimpleName();
}
}
} }

View file

@ -1,7 +1,9 @@
package love.distributedrebirth.bassboonyd; package love.distributedrebirth.bassboonyd;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public interface BãßBȍőnCoffinStoreʸᴰ<T extends BãßBȍőnCoffinStoreKeyʸᴰ> { public interface BãßBȍőnCoffinStoreʸᴰ<T, K extends BãßBȍőnCoffinStoreKeyʸᴰ> {
BãßBȍőnCoffinʸᴰ<T> GET_BBC(); BãßBȍőnCoffinʸᴰ<K> GET_BBC();
T BȍőnCoffinHeadStoneʸᴰ();
} }

View file

@ -6,6 +6,8 @@ import java.util.Map;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public interface BãßBȍőnCoffinʸᴰ<T extends BãßBȍőnCoffinStoreKeyʸᴰ> { public interface BãßBȍőnCoffinʸᴰ<T extends BãßBȍőnCoffinStoreKeyʸᴰ> {
BãßBȍőnCoffinGhostʸᴰ UNHOLY(Class<?> familyName);
Object GET_OBJ(T key); Object GET_OBJ(T key);
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
@ -50,16 +52,28 @@ public interface BãßBȍőnCoffinʸᴰ<T extends BãßBȍőnCoffinStoreKeyʸᴰ
return Map.class.cast(GET_OBJ(key)); return Map.class.cast(GET_OBJ(key));
} }
default Object GET_MAP_OBJ_VALUE(T key, String valueKey) {
return GET_MAP_OBJ(key).get(valueKey);
}
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
default Map<String,String> GET_MAP_STR(T key) { default Map<String,String> GET_MAP_STR(T key) {
return Map.class.cast(GET_OBJ(key)); return Map.class.cast(GET_OBJ(key));
} }
default String GET_MAP_STR_VALUE(T key, String valueKey) {
return GET_MAP_STR(key).get(valueKey);
}
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
default Map<String,Integer> GET_MAP_INT(T key) { default Map<String,Integer> GET_MAP_INT(T key) {
return Map.class.cast(GET_OBJ(key)); return Map.class.cast(GET_OBJ(key));
} }
default Integer GET_MAP_INT_VALUE(T key, String valueKey) {
return GET_MAP_INT(key).get(valueKey);
}
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
default List<Object> GET_LIST_OBJ(T key) { default List<Object> GET_LIST_OBJ(T key) {
return List.class.cast(GET_OBJ(key)); return List.class.cast(GET_OBJ(key));

View file

@ -1,5 +1,5 @@
package love.distributedrebirth.bassboonyd; package love.distributedrebirth.bassboonyd;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public interface BãßBȍőnInitMarkerʸᴰ { public interface BãßBȍőnꝐŕḯṿª {
} }

View file

@ -0,0 +1,10 @@
package love.distributedrebirth.bassboonyd;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public enum BãßBȍőnꝐŕḯṿªḕInitArgsʸᴰ {
NONE,
BBC,
BOON,
BOON_AND_BBC
}

View file

@ -0,0 +1,13 @@
package love.distributedrebirth.bassboonyd;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public enum BãßBȍőnꝐŕḯṿªḕInitPhaseʸᴰ {
BOON_PRE_BOOT,
BOON_PRE_SERVICE,
SERVICE_PRE,
SERVICE,
SERVICE_POST,
BOON_POST_SERVICE,
BOON_POST_DONE,
}

View file

@ -8,6 +8,9 @@ import java.lang.annotation.Target;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD}) @Target({ElementType.METHOD})
public @interface BãßBȍőnInitMethodʸᴰ { public @interface BãßBȍőnꝐŕḯṿªInitʸᴰ {
BãßBȍőnꝐŕḯṿªḕInitPhaseʸᴰ phase() default BãßBȍőnꝐŕḯṿªḕInitPhaseʸᴰ.SERVICE;
BãßBȍőnꝐŕḯṿªḕInitArgsʸᴰ args() default BãßBȍőnꝐŕḯṿªḕInitArgsʸᴰ.NONE;
} }

View file

@ -1,14 +0,0 @@
package love.distributedrebirth.bassboonyd;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnAnnotationInfoʸᴰ(required = {BãßBȍőnAuthorInfoʸᴰ.class})
public interface DefaultAuthorInfoʸᴰ {
default String BãßAuthorNaam() {
return getClass().getAnnotation(BãßBȍőnAuthorInfoʸᴰ.class).name();
}
default String BãßAuthorCopyright() {
return getClass().getAnnotation(BãßBȍőnAuthorInfoʸᴰ.class).copyright();
}
}

View file

@ -0,0 +1,9 @@
package love.distributedrebirth.bassboonyd;
public interface DefaultBãßBȍőn<T, K extends BãßBȍőnCoffinStoreKeyʸᴰ> extends
BãßBȍőn<T,K>,
InjectInitMethodʸᴰ<T,K>,
InjectAuthorInfoʸᴰ<T,K>,
InjectClassInfoʸᴰ<T,K>,
InjectPackageInfoʸᴰ<T,K> {
}

View file

@ -1,14 +0,0 @@
package love.distributedrebirth.bassboonyd;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnAnnotationInfoʸᴰ(required = {BãßBȍőnClassInfoʸᴰ.class})
public interface DefaultClassInfoʸᴰ {
default String BãßClassNaam() {
return getClass().getAnnotation(BãßBȍőnClassInfoʸᴰ.class).name();
}
default String BãßClassPurpose() {
return getClass().getAnnotation(BãßBȍőnClassInfoʸᴰ.class).purpose();
}
}

View file

@ -1,15 +1,15 @@
package love.distributedrebirth.bassboonyd; package love.distributedrebirth.bassboonyd;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public interface DefaultEnumBaseʸᴰ<T> extends DefaultAuthorInfoʸᴰ,DefaultClassInfoʸᴰ,DefaultPackageInfoʸᴰ { public interface DefaultEnumBaseʸᴰ<T, K extends BãßBȍőnCoffinStoreKeyʸᴰ> extends DefaultBãßBȍőn<T, K> {
// Bȍőn prefix is for set instance enum methods (called DefaultEnumSetʸᴰ)
// Bãß prefix is for single instance enum methods (called DefaultEnumInstanceʸᴰ)
int ordinal(); int ordinal();
String name(); String name();
// Bȍőn prefix is for set instance enum methods (called DefaultEnumSetʸᴰ)
// Bãß prefix is for single instance enum methods (called DefaultEnumInstanceʸᴰ)
default String BȍőnNaam() { default String BȍőnNaam() {
return name(); return name();
} }
@ -23,10 +23,4 @@ public interface DefaultEnumBaseʸᴰ<T> extends DefaultAuthorInfoʸᴰ,DefaultC
throw new RuntimeException(e); throw new RuntimeException(e);
} }
} }
/*
default String BȍőnNaamI18N() {
return BãßClassNaam() + BãßBȍőnConstantsʸᴰ.STR_DOT + BȍőnNaam();
}
*/
} }

View file

@ -1,7 +1,7 @@
package love.distributedrebirth.bassboonyd; package love.distributedrebirth.bassboonyd;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public interface DefaultEnumInstanceʸᴰ<T> extends DefaultEnumBaseʸᴰ<T> { public interface DefaultEnumInstanceʸᴰ<T, K extends BãßBȍőnCoffinStoreKeyʸᴰ> extends DefaultEnumBaseʸᴰ<T,K> {
default T BãßInstance() { default T BãßInstance() {
return BãßInstances()[BãßBȍőnConstantsʸᴰ.INT_ZERO]; return BãßInstances()[BãßBȍőnConstantsʸᴰ.INT_ZERO];

View file

@ -8,50 +8,59 @@ import java.util.function.Function;
import java.util.stream.Collectors; import java.util.stream.Collectors;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public interface DefaultEnumSetʸᴰ<T> extends DefaultEnumBaseʸᴰ<T> { public interface DefaultEnumSetʸᴰ<T, K extends BãßBȍőnCoffinStoreKeyʸᴰ> extends DefaultEnumBaseʸᴰ<T,K> {
public static class Ꝑŕḯṿª implements BãßBȍőnꝐŕḯṿª {
private static final String GHOST_KEY_RANG_TEL_EEN = "rangTelEen";
@BãßBȍőnꝐŕḯṿªḕInitʸᴰ(args = BãßBȍőnꝐŕḯṿªḕInitArgsʸᴰ.BOON_AND_BBC)
private static void init(DefaultEnumSetʸᴰ<?,?> boon, BãßBȍőnCoffinOpenʸᴰ<?> BBC) {
BBC.UNHOLY(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_KEY_RANG_TEL_EEN, boon.BȍőnRangTelNul() + BãßBȍőnConstantsʸᴰ.INT_ONE);
}
}
default int BȍőnRangTelNul() { default int BȍőnRangTelNul() {
return ordinal(); return ordinal();
} }
default int BȍőnRangTelEen() { default int BȍőnRangTelEen() {
return ordinal() + 1; return GET_BBC().UNHOLY(Ꝑŕḯṿª.class).GHOST_INT(Ꝑŕḯṿª.GHOST_KEY_RANG_TEL_EEN);
} }
default List<T> BãßInstancesList() { default List<T> BãßInstancesList() {
return Arrays.asList(BãßInstances()); return Arrays.asList(BãßInstances());
} }
default <K> Map<K,T> BãßInstancesToMap(Function<T,K> keyMapper) { default Map<String,T> BãßInstancesToMap(Function<T,String> keyMapper) {
return BãßInstancesList().stream().collect(Collectors.toMap(keyMapper, v -> v)); return BãßInstancesList().stream().collect(Collectors.toMap(keyMapper, v -> v));
} }
default T BȍőnVolgende() { default T BȍőnVolgende() {
T[] values = BãßInstances(); T[] values = BãßInstances();
int resultIndex = 0; int resultIndex = BãßBȍőnConstantsʸᴰ.INT_ZERO;
for (int i=0;i<values.length;i++) { for (int i=BãßBȍőnConstantsʸᴰ.INT_ZERO;i<values.length;i++) {
if (this == values[i]) { if (this == values[i]) {
resultIndex = i + 1; resultIndex = i + BãßBȍőnConstantsʸᴰ.INT_ONE;
break; break;
} }
} }
if (resultIndex == values.length) { if (resultIndex == values.length) {
resultIndex = 0; resultIndex = BãßBȍőnConstantsʸᴰ.INT_ZERO;
} }
return values[resultIndex]; return values[resultIndex];
} }
default T BȍőnVorige() { default T BȍőnVorige() {
T[] values = BãßInstances(); T[] values = BãßInstances();
int resultIndex = 0; int resultIndex = BãßBȍőnConstantsʸᴰ.INT_ZERO;
for (int i=0;i<values.length;i++) { for (int i=BãßBȍőnConstantsʸᴰ.INT_ZERO;i<values.length;i++) {
if (this == values[i]) { if (this == values[i]) {
resultIndex = i - 1; resultIndex = i - BãßBȍőnConstantsʸᴰ.INT_ONE;
break; break;
} }
} }
if (resultIndex < 0) { if (resultIndex < BãßBȍőnConstantsʸᴰ.INT_ZERO) {
resultIndex = values.length - 1; resultIndex = values.length - BãßBȍőnConstantsʸᴰ.INT_ONE;
} }
return values[resultIndex]; return values[resultIndex];
} }

View file

@ -1,63 +0,0 @@
package love.distributedrebirth.bassboonyd;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.LinkedHashSet;
import java.util.Set;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnAnnotationInfoʸᴰ(required = {})
public interface DefaultInitMethodʸᴰ {
default void BOON_INIT(Object boon) {
final class InitScanner {
public void scanInterfaces(Object boon, Object bbc) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException {
for (Class<?> interfaceClass:walkInterfaces(boon.getClass(), new LinkedHashSet<>())) {
for (Class<?> declaredClass:((Class<?>) interfaceClass).getDeclaredClasses()) {
initStaticMarker(declaredClass, bbc);
}
}
}
public void scanClass(Object boon, Object bbc) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException {
for (Class<?> declaredClass:boon.getClass().getDeclaredClasses()) {
initStaticMarker(declaredClass, bbc);
}
}
private void initStaticMarker(Class<?> declaredClass, Object bbc) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException {
if (!BãßBȍőnInitMarkerʸᴰ.class.isAssignableFrom(declaredClass)) {
return;
}
for (Method m:declaredClass.getDeclaredMethods()) {
if (m.isAnnotationPresent(BãßBȍőnInitMethodʸᴰ.class)) {
m.setAccessible(true);
m.invoke(null, bbc);
}
}
}
private Set<Class<?>> walkInterfaces(Class<?> clazz, Set<Class<?>> result) {
while (clazz != null) {
for (Class<?> next : clazz.getInterfaces()) {
if (result.add(next)) {
return walkInterfaces(next, result);
}
}
clazz = clazz.getSuperclass();
}
return result;
}
}
InitScanner init = new InitScanner();
try {
init.scanInterfaces(boon, this);
init.scanClass(boon, this);
} catch (Exception e) {
throw new RuntimeException(e);
}
}
}

View file

@ -1,10 +0,0 @@
package love.distributedrebirth.bassboonyd;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnAnnotationInfoʸᴰ(required = {BãßBȍőnPackageInfoʸᴰ.class})
public interface DefaultPackageInfoʸᴰ {
default String BãßPackageNaam() {
return getClass().getAnnotation(BãßBȍőnPackageInfoʸᴰ.class).name();
}
}

View file

@ -0,0 +1,28 @@
package love.distributedrebirth.bassboonyd;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnAnnotationInfoʸᴰ(required = {BãßBȍőnAuthorInfoʸᴰ.class})
public interface InjectAuthorInfoʸᴰ<T, K extends BãßBȍőnCoffinStoreKeyʸᴰ> extends BãßBȍőn<T,K> {
public static class Ꝑŕḯṿª implements BãßBȍőnꝐŕḯṿª {
private static final String GHOST_KEY_AUTHOR_NAME = "authorName";
private static final String GHOST_KEY_AUTHOR_COPYRIGHT = "authorCopyright";
private static final String DEFAULT_AUTHOR_NAME = "奴隸來自 仙上主天";
private static final String DEFAULT_AUTHOR_COPYRIGHT = "©Δ∞ 仙上主天";
@BãßBȍőnꝐŕḯṿªḕInitʸᴰ(phase = BãßBȍőnꝐŕḯṿªḕInitPhaseʸᴰ.BOON_PRE_BOOT, args = BãßBȍőnꝐŕḯṿªḕInitArgsʸᴰ.BOON_AND_BBC)
private static void init(BãßBȍőn<?,?> boon, BãßBȍőnCoffinOpenʸᴰ<?> BBC) {
BãßBȍőnAuthorInfoʸᴰ anno = boon.getClass().getAnnotation(BãßBȍőnAuthorInfoʸᴰ.class);
BBC.UNHOLY(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_KEY_AUTHOR_NAME, anno!=null?anno.name():DEFAULT_AUTHOR_NAME);
BBC.UNHOLY(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_KEY_AUTHOR_COPYRIGHT, anno!=null?anno.copyright():DEFAULT_AUTHOR_COPYRIGHT);
}
}
default String BãßAuthorNaam() {
return GET_BBC().UNHOLY(Ꝑŕḯṿª.class).GHOST_STR(Ꝑŕḯṿª.GHOST_KEY_AUTHOR_NAME);
}
default String BãßAuthorCopyright() {
return GET_BBC().UNHOLY(Ꝑŕḯṿª.class).GHOST_STR(Ꝑŕḯṿª.GHOST_KEY_AUTHOR_COPYRIGHT);
}
}

View file

@ -0,0 +1,27 @@
package love.distributedrebirth.bassboonyd;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnAnnotationInfoʸᴰ(required = {BãßBȍőnClassInfoʸᴰ.class})
public interface InjectClassInfoʸᴰ<T, K extends BãßBȍőnCoffinStoreKeyʸᴰ> extends BãßBȍőn<T, K> {
public static class Ꝑŕḯṿª implements BãßBȍőnꝐŕḯṿª {
private static final String GHOST_KEY_BEAN_NAME = "beanName";
private static final String GHOST_KEY_BEAN_PURPOSE = "beanPurpose";
private static final String DEFAULT_BEAN_PURPOSE = "Undefined";
@BãßBȍőnꝐŕḯṿªḕInitʸᴰ(phase = BãßBȍőnꝐŕḯṿªḕInitPhaseʸᴰ.BOON_PRE_BOOT, args = BãßBȍőnꝐŕḯṿªḕInitArgsʸᴰ.BOON_AND_BBC)
private static void init(BãßBȍőn<?,?> boon, BãßBȍőnCoffinOpenʸᴰ<?> BBC) {
BãßBȍőnClassInfoʸᴰ anno = boon.getClass().getAnnotation(BãßBȍőnClassInfoʸᴰ.class);
BBC.UNHOLY(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_KEY_BEAN_NAME, anno!=null?anno.name():boon.getClass().getSimpleName());
BBC.UNHOLY(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_KEY_BEAN_PURPOSE, anno!=null?anno.purpose():DEFAULT_BEAN_PURPOSE);
}
}
default String BãßClassNaam() {
return GET_BBC().UNHOLY(Ꝑŕḯṿª.class).GHOST_STR(Ꝑŕḯṿª.GHOST_KEY_BEAN_NAME);
}
default String BãßClassPurpose() {
return GET_BBC().UNHOLY(Ꝑŕḯṿª.class).GHOST_STR(Ꝑŕḯṿª.GHOST_KEY_BEAN_PURPOSE);
}
}

View file

@ -0,0 +1,85 @@
package love.distributedrebirth.bassboonyd;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.LinkedHashSet;
import java.util.Set;
import java.util.function.Consumer;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public interface InjectInitMethodʸᴰ<T, K extends BãßBȍőnCoffinStoreKeyʸᴰ> extends BãßBȍőn<T,K> {
public static class Ꝑŕḯṿª implements BãßBȍőnꝐŕḯṿª {
private static void scanInterfaces(BãßBȍőnꝐŕḯṿªḕInitPhaseʸᴰ phase, Object boon, BãßBȍőnCoffinOpenʸᴰ<?> bbc) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException {
for (Class<?> interfaceClass:walkInterfaces(boon.getClass(), new LinkedHashSet<>())) {
for (Class<?> declaredClass:((Class<?>) interfaceClass).getDeclaredClasses()) {
initPrivateMarker(phase, declaredClass, bbc, boon);
}
}
}
private static void scanClass(BãßBȍőnꝐŕḯṿªḕInitPhaseʸᴰ phase, Object boon, BãßBȍőnCoffinOpenʸᴰ<?> bbc) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException {
for (Class<?> declaredClass:boon.getClass().getDeclaredClasses()) {
initPrivateMarker(phase, declaredClass, bbc, boon);
}
}
private static void initPrivateMarker(BãßBȍőnꝐŕḯṿªḕInitPhaseʸᴰ phase, Class<?> declaredClass, BãßBȍőnCoffinOpenʸᴰ<?> bbc, Object boon) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException {
if (!BãßBȍőnꝐŕḯṿª.class.isAssignableFrom(declaredClass)) {
return;
}
for (Method m:declaredClass.getDeclaredMethods()) {
if (!m.isAnnotationPresent(BãßBȍőnꝐŕḯṿªḕInitʸᴰ.class)) {
continue;
}
BãßBȍőnꝐŕḯṿªḕInitʸᴰ anno = m.getAnnotation(BãßBȍőnꝐŕḯṿªḕInitʸᴰ.class);
if (phase != anno.phase()) {
continue; // TODO: redo to fast code path
}
//System.out.println("annoInvoke: "+anno.args()+" req="+phase+" of "+boon.getClass().getSimpleName()+"."+boon+" from: "+declaredClass.getName());
m.setAccessible(true);
if (anno.args() == BãßBȍőnꝐŕḯṿªḕInitArgsʸᴰ.BBC) {
m.invoke(null, bbc);
} else if (anno.args() == BãßBȍőnꝐŕḯṿªḕInitArgsʸᴰ.BOON) {
m.invoke(null, boon);
} else if (anno.args() == BãßBȍőnꝐŕḯṿªḕInitArgsʸᴰ.BOON_AND_BBC) {
m.invoke(null, boon, bbc);
} else {
m.invoke(null);
}
}
}
private static Set<Class<?>> walkInterfaces(Class<?> clazz, Set<Class<?>> result) {
while (clazz != null) {
for (Class<?> next : clazz.getInterfaces()) {
if (result.add(next)) {
walkInterfaces(next, result);
}
}
clazz = clazz.getSuperclass();
}
return result;
}
}
default void BOON_INIT() {
BOON_INIT(null);
}
default void BOON_INIT(Consumer<BãßBȍőnCoffinOpenʸᴰ<K>> initBody) {
BãßBȍőnCoffinOpenʸᴰ<K> bbc = (BãßBȍőnCoffinOpenʸᴰ<K>) GET_BBC();
try {
for (BãßBȍőnꝐŕḯṿªḕInitPhaseʸᴰ phase:BãßBȍőnꝐŕḯṿªḕInitPhaseʸᴰ.values()) {
Ꝑŕḯṿª.scanInterfaces(phase, this, bbc);
Ꝑŕḯṿª.scanClass(phase, this, bbc);
}
if (initBody != null) {
initBody.accept(bbc);
}
} catch (Exception e) {
throw new RuntimeException(e);
}
}
}

View file

@ -0,0 +1,20 @@
package love.distributedrebirth.bassboonyd;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnAnnotationInfoʸᴰ(required = {BãßBȍőnPackageInfoʸᴰ.class})
public interface InjectPackageInfoʸᴰ<T, K extends BãßBȍőnCoffinStoreKeyʸᴰ> extends BãßBȍőn<T, K> {
public static class Ꝑŕḯṿª implements BãßBȍőnꝐŕḯṿª {
private static final String GHOST_KEY_PACKAGE_NAME = "packageName";
@BãßBȍőnꝐŕḯṿªḕInitʸᴰ(phase = BãßBȍőnꝐŕḯṿªḕInitPhaseʸᴰ.BOON_PRE_BOOT, args = BãßBȍőnꝐŕḯṿªḕInitArgsʸᴰ.BOON_AND_BBC)
private static void init(BãßBȍőn<?,?> boon, BãßBȍőnCoffinOpenʸᴰ<?> BBC) {
BãßBȍőnPackageInfoʸᴰ anno = boon.getClass().getAnnotation(BãßBȍőnPackageInfoʸᴰ.class);
BBC.UNHOLY(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_KEY_PACKAGE_NAME, anno!=null?anno.name():boon.getClass().getPackage().getName());
}
}
default String BãßPackageNaam() {
return GET_BBC().UNHOLY(Ꝑŕḯṿª.class).GHOST_STR(Ꝑŕḯṿª.GHOST_KEY_PACKAGE_NAME);
}
}

View file

@ -1,46 +1,61 @@
package love.distributedrebirth.bassboonyd.jmx; package love.distributedrebirth.bassboonyd.jmx;
import java.util.HashMap;
import java.util.Map;
import love.distributedrebirth.bassboonyd.BãßBȍőnAnnotationInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAnnotationInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinStoreKeyʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinStoreKeyʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinStoreʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnConstantsʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnConstantsʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnꝐŕḯṿª;
import love.distributedrebirth.bassboonyd.DefaultEnumBaseʸᴰ; import love.distributedrebirth.bassboonyd.DefaultEnumBaseʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnAnnotationInfoʸᴰ(required = {BãßBȍőnClassInfoʸᴰ.class, BãßBȍőnAuthorInfoʸᴰ.class}) @BãßBȍőnAnnotationInfoʸᴰ(required = {BãßBȍőnClassInfoʸᴰ.class, BãßBȍőnAuthorInfoʸᴰ.class})
public interface DefaultEnumBaseᴶᴹˣ<T,K extends BãßBȍőnCoffinStoreKeyʸᴰ> extends DefaultEnumBaseʸᴰ<T>,BãßBȍőnCoffinStoreʸᴰ<K> { public interface DefaultEnumBaseᴶᴹˣ<T,K extends BãßBȍőnCoffinStoreKeyʸᴰ> extends DefaultEnumBaseʸᴰ<T,K> {
void BȍőnJmxInit(K key); public static class Ꝑŕḯṿª implements BãßBȍőnꝐŕḯṿª {
private static final String GHOST_KEY_JMX = "JMX";
default GuageCounterᴶᴹˣ BȍőnJmxInitGuageCounter(K key, String name) {
return BȍőnJmxInitGuageCounter(key, name, BãßBȍőnConstantsʸᴰ.STR_EMPTY);
} }
default GuageCounterᴶᴹˣ BȍőnJmxInitGuageCounter(K key, String name, String description) { public static Map<String, Object> GHOST_MAP(BãßBȍőnCoffinOpenʸᴰ<?> BBC) {
Map<String, Object> result = BBC.UNHOLY(Ꝑŕḯṿª.class).GHOST_MAP_OBJ(Ꝑŕḯṿª.GHOST_KEY_JMX);
if (result == null) {
result = new HashMap<>();
BBC.UNHOLY(Ꝑŕḯṿª.class).PUT_GHOST(Ꝑŕḯṿª.GHOST_KEY_JMX, result);
}
return result;
}
default GuageCounterᴶᴹˣ BȍőnJmxInitGuageCounter(String name) {
return BȍőnJmxInitGuageCounter(name, BãßBȍőnConstantsʸᴰ.STR_EMPTY);
}
default GuageCounterᴶᴹˣ BȍőnJmxInitGuageCounter(String name, String description) {
GuageCounterᴶᴹˣ result = new GuageCounterᴶᴹˣ(name, description); GuageCounterᴶᴹˣ result = new GuageCounterᴶᴹˣ(name, description);
GET_BBC().GET_MAP_OBJ(key).put(name, result); GET_BBC().UNHOLY(Ꝑŕḯṿª.class).GHOST_MAP_OBJ(Ꝑŕḯṿª.GHOST_KEY_JMX).put(name, result);
return result; return result;
} }
default StringAttributeᴶᴹˣ BȍőnJmxInitStringAttribute(K key, String name) { default StringAttributeᴶᴹˣ BȍőnJmxInitStringAttribute(String name) {
return BȍőnJmxInitStringAttribute(key, name, BãßBȍőnConstantsʸᴰ.STR_EMPTY); return BȍőnJmxInitStringAttribute(name, BãßBȍőnConstantsʸᴰ.STR_EMPTY);
} }
default StringAttributeᴶᴹˣ BȍőnJmxInitStringAttribute(K key, String name, String description) { default StringAttributeᴶᴹˣ BȍőnJmxInitStringAttribute(String name, String description) {
StringAttributeᴶᴹˣ result = new StringAttributeᴶᴹˣ(name, description); StringAttributeᴶᴹˣ result = new StringAttributeᴶᴹˣ(name, description);
GET_BBC().GET_MAP_OBJ(key).put(name, result); GET_BBC().UNHOLY(Ꝑŕḯṿª.class).GHOST_MAP_OBJ(Ꝑŕḯṿª.GHOST_KEY_JMX).put(name, result);
return result; return result;
} }
default BooleanAttributeᴶᴹˣ BȍőnJmxInitBooleanAttribute(K key, String name) { default BooleanAttributeᴶᴹˣ BȍőnJmxInitBooleanAttribute(String name) {
return BȍőnJmxInitBooleanAttribute(key, name, BãßBȍőnConstantsʸᴰ.STR_EMPTY); return BȍőnJmxInitBooleanAttribute(name, BãßBȍőnConstantsʸᴰ.STR_EMPTY);
} }
default BooleanAttributeᴶᴹˣ BȍőnJmxInitBooleanAttribute(K key, String name, String description) { default BooleanAttributeᴶᴹˣ BȍőnJmxInitBooleanAttribute(String name, String description) {
BooleanAttributeᴶᴹˣ result = new BooleanAttributeᴶᴹˣ(name, description); BooleanAttributeᴶᴹˣ result = new BooleanAttributeᴶᴹˣ(name, description);
GET_BBC().GET_MAP_OBJ(key).put(name, result); GET_BBC().UNHOLY(Ꝑŕḯṿª.class).GHOST_MAP_OBJ(Ꝑŕḯṿª.GHOST_KEY_JMX).put(name, result);
return result; return result;
} }
} }

View file

@ -11,29 +11,34 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinStoreKeyʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinStoreKeyʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnConstantsʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnConstantsʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnꝐŕḯṿª;
import love.distributedrebirth.bassboonyd.BãßBȍőnꝐŕḯṿªḕInitArgsʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnꝐŕḯṿªḕInitPhaseʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnꝐŕḯṿªḕInitʸᴰ;
import love.distributedrebirth.bassboonyd.DefaultEnumInstanceʸᴰ; import love.distributedrebirth.bassboonyd.DefaultEnumInstanceʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnAnnotationInfoʸᴰ(required = {BãßBȍőnClassInfoʸᴰ.class, BãßBȍőnAuthorInfoʸᴰ.class}) @BãßBȍőnAnnotationInfoʸᴰ(required = {BãßBȍőnClassInfoʸᴰ.class, BãßBȍőnAuthorInfoʸᴰ.class})
public interface DefaultEnumInstanceᴶᴹˣ<T,K extends BãßBȍőnCoffinStoreKeyʸᴰ> extends DefaultEnumBaseᴶᴹˣ<T,K>,DefaultEnumInstanceʸᴰ<T> { public interface DefaultEnumInstanceᴶᴹˣ<T,K extends BãßBȍőnCoffinStoreKeyʸᴰ> extends DefaultEnumBaseᴶᴹˣ<T,K>,DefaultEnumInstanceʸᴰ<T,K> {
@SuppressWarnings("unchecked") public static class Ꝑŕḯṿª implements BãßBȍőnꝐŕḯṿª {
default void BȍőnJmxInit(K key) {
BãßBȍőnCoffinOpenʸᴰ<K> coffin = BãßBȍőnCoffinOpenʸᴰ.class.cast(GET_BBC()); @BãßBȍőnꝐŕḯṿªḕInitʸᴰ(phase = BãßBȍőnꝐŕḯṿªḕInitPhaseʸᴰ.BOON_PRE_SERVICE, args = BãßBȍőnꝐŕḯṿªḕInitArgsʸᴰ.BOON_AND_BBC)
coffin.PUT_MAP(key); private static void init(DefaultEnumBaseᴶᴹˣ<?,?> boon, BãßBȍőnCoffinOpenʸᴰ<?> BBC) {
try { try {
StringBuilder name = new StringBuilder(); StringBuilder name = new StringBuilder();
name.append(BãßPackageNaam()); name.append(boon.BãßPackageNaam());
name.append(BãßBȍőnConstantsʸᴰ.STR_COLON); name.append(BãßBȍőnConstantsʸᴰ.STR_COLON);
name.append(BãßBȍőnConstantsʸᴰ.STR_TYPE); name.append(BãßBȍőnConstantsʸᴰ.STR_TYPE);
name.append(BãßBȍőnConstantsʸᴰ.STR_IS); name.append(BãßBȍőnConstantsʸᴰ.STR_IS);
name.append(BãßClassNaam()); name.append(boon.BãßClassNaam());
MBeanServer server = ManagementFactory.getPlatformMBeanServer(); MBeanServer server = ManagementFactory.getPlatformMBeanServer();
ObjectName objectName1 = new ObjectName(name.toString()); ObjectName objectName1 = new ObjectName(name.toString());
server.registerMBean(new MBeanDynamicᴶᴹˣ(BãßClassPurpose(), GET_BBC().GET_MAP_OBJ(key)), objectName1); server.registerMBean(new MBeanDynamicᴶᴹˣ(boon.BãßClassPurpose(), DefaultEnumBaseᴶᴹˣ.GHOST_MAP(BBC)), objectName1);
} catch (Exception e) { } catch (Exception e) {
throw new RuntimeException(e); throw new RuntimeException(e);
} }
} }
} }
}

View file

@ -11,33 +11,38 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinStoreKeyʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinStoreKeyʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnConstantsʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnConstantsʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnꝐŕḯṿª;
import love.distributedrebirth.bassboonyd.BãßBȍőnꝐŕḯṿªḕInitArgsʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnꝐŕḯṿªḕInitPhaseʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnꝐŕḯṿªḕInitʸᴰ;
import love.distributedrebirth.bassboonyd.DefaultEnumSetʸᴰ; import love.distributedrebirth.bassboonyd.DefaultEnumSetʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnAnnotationInfoʸᴰ(required = {BãßBȍőnClassInfoʸᴰ.class, BãßBȍőnAuthorInfoʸᴰ.class}) @BãßBȍőnAnnotationInfoʸᴰ(required = {BãßBȍőnClassInfoʸᴰ.class, BãßBȍőnAuthorInfoʸᴰ.class})
public interface DefaultEnumSetᴶᴹˣ<T,K extends BãßBȍőnCoffinStoreKeyʸᴰ> extends DefaultEnumBaseᴶᴹˣ<T,K>,DefaultEnumSetʸᴰ<T> { public interface DefaultEnumSetᴶᴹˣ<T,K extends BãßBȍőnCoffinStoreKeyʸᴰ> extends DefaultEnumBaseᴶᴹˣ<T,K>,DefaultEnumSetʸᴰ<T,K> {
@SuppressWarnings("unchecked") public static class Ꝑŕḯṿª implements BãßBȍőnꝐŕḯṿª {
default void BȍőnJmxInit(K key) {
BãßBȍőnCoffinOpenʸᴰ<K> coffin = BãßBȍőnCoffinOpenʸᴰ.class.cast(GET_BBC()); @BãßBȍőnꝐŕḯṿªḕInitʸᴰ(phase = BãßBȍőnꝐŕḯṿªḕInitPhaseʸᴰ.BOON_PRE_SERVICE, args = BãßBȍőnꝐŕḯṿªḕInitArgsʸᴰ.BOON_AND_BBC)
coffin.PUT_MAP(key); private static void init(DefaultEnumBaseᴶᴹˣ<?,?> boon, BãßBȍőnCoffinOpenʸᴰ<?> BBC) {
try { try {
StringBuilder name = new StringBuilder(); StringBuilder name = new StringBuilder();
name.append(BãßPackageNaam()); name.append(boon.BãßPackageNaam());
name.append(BãßBȍőnConstantsʸᴰ.STR_COLON); name.append(BãßBȍőnConstantsʸᴰ.STR_COLON);
name.append(BãßBȍőnConstantsʸᴰ.STR_TYPE); name.append(BãßBȍőnConstantsʸᴰ.STR_TYPE);
name.append(BãßBȍőnConstantsʸᴰ.STR_IS); name.append(BãßBȍőnConstantsʸᴰ.STR_IS);
name.append(BãßClassNaam()); name.append(boon.BãßClassNaam());
name.append(BãßBȍőnConstantsʸᴰ.STR_COMMA); name.append(BãßBȍőnConstantsʸᴰ.STR_COMMA);
name.append(BãßBȍőnConstantsʸᴰ.STR_NAME); name.append(BãßBȍőnConstantsʸᴰ.STR_NAME);
name.append(BãßBȍőnConstantsʸᴰ.STR_IS); name.append(BãßBȍőnConstantsʸᴰ.STR_IS);
name.append(BȍőnNaam()); name.append(boon.BȍőnNaam());
MBeanServer server = ManagementFactory.getPlatformMBeanServer(); MBeanServer server = ManagementFactory.getPlatformMBeanServer();
ObjectName objectName1 = new ObjectName(name.toString()); ObjectName objectName1 = new ObjectName(name.toString());
server.registerMBean(new MBeanDynamicᴶᴹˣ(BãßClassPurpose(), GET_BBC().GET_MAP_OBJ(key)), objectName1); server.registerMBean(new MBeanDynamicᴶᴹˣ(boon.BãßClassPurpose(), DefaultEnumBaseᴶᴹˣ.GHOST_MAP(BBC)), objectName1);
} catch (Exception e) { } catch (Exception e) {
throw new RuntimeException(e); throw new RuntimeException(e);
} }
} }
} }
}

View file

@ -1,13 +0,0 @@
package love.distributedrebirth.bassboonyd.jmx;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinStoreKeyʸᴰ;
/**
* Only use when no other coffin keys are needed on instance or enum.
*/
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public enum MBeanStoreKeyᴶᴹˣ implements BãßBȍőnCoffinStoreKeyʸᴰ {
JMX,
;
}

View file

@ -43,7 +43,7 @@ abstract public class AbstractGroßGetậlŌṁ1ⁿᴰ<T extends BaseGetậl<T,V
@Override @Override
public int getMatrix1Length() { public int getMatrix1Length() {
return T16PartHex.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ(); return T16PartHex.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
} }
@Override @Override

View file

@ -17,7 +17,7 @@ abstract public class AbstractGroßGetậlŌṁ6ˢᴰ<T extends BaseGetậl<T,V0
public AbstractGroßGetậlŌṁ6ˢᴰ(int fractalLevel) { public AbstractGroßGetậlŌṁ6ˢᴰ(int fractalLevel) {
this.fractalLevel = fractalLevel; this.fractalLevel = fractalLevel;
this.valuesLength = resolveFractalLevel(fractalLevel); this.valuesLength = resolveFractalLevel(fractalLevel);
this.values = new V144Tocta[T12PartUncial.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ()][valuesLength]; this.values = new V144Tocta[T12PartUncial.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()][valuesLength];
for (int x=0;x<this.values.length;x++) { for (int x=0;x<this.values.length;x++) {
for (int y=0;y<this.values[x].length;y++) { for (int y=0;y<this.values[x].length;y++) {
this.values[x][y] = new V144Tocta(); this.values[x][y] = new V144Tocta();
@ -28,7 +28,7 @@ abstract public class AbstractGroßGetậlŌṁ6ˢᴰ<T extends BaseGetậl<T,V0
public AbstractGroßGetậlŌṁ6ˢᴰ(int fractalLevel, BaseIteratorOctal values) { public AbstractGroßGetậlŌṁ6ˢᴰ(int fractalLevel, BaseIteratorOctal values) {
this.fractalLevel = fractalLevel; this.fractalLevel = fractalLevel;
this.valuesLength = resolveFractalLevel(fractalLevel); this.valuesLength = resolveFractalLevel(fractalLevel);
this.values = new V144Tocta[T12PartUncial.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ()][valuesLength]; this.values = new V144Tocta[T12PartUncial.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()][valuesLength];
for (int x=0;x<this.values.length;x++) { for (int x=0;x<this.values.length;x++) {
for (int y=0;y<this.values[x].length;y++) { for (int y=0;y<this.values[x].length;y++) {
this.values[x][y] = new V144Tocta(values); this.values[x][y] = new V144Tocta(values);
@ -48,12 +48,12 @@ abstract public class AbstractGroßGetậlŌṁ6ˢᴰ<T extends BaseGetậl<T,V0
@Override @Override
public int getMatrix1Length() { public int getMatrix1Length() {
return T16PartHex.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ(); return T16PartHex.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
} }
@Override @Override
public int getMatrix2Length() { public int getMatrix2Length() {
return T12PartUncial.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ(); return T12PartUncial.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
} }
@Override @Override

View file

@ -43,7 +43,7 @@ public class GroßGetậl1ⁿᴰ extends AbstractBaseGetậlMatrix1<GroßGetậl
@Override @Override
public int getMatrix1Length() { public int getMatrix1Length() {
return T16PartHex.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ(); return T16PartHex.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
} }
@Override @Override

View file

@ -14,7 +14,7 @@ import love.distributedrebirth.numberxd.base2t.BaseIteratorOctalStack;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public class GroßGetậl6ˢᴰ extends AbstractBaseGetậlMatrix2<GroßGetậl6ˢᴰ,V009Tyte> { public class GroßGetậl6ˢᴰ extends AbstractBaseGetậlMatrix2<GroßGetậl6ˢᴰ,V009Tyte> {
private final V144Tocta[] values = new V144Tocta[T12PartUncial.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ()]; private final V144Tocta[] values = new V144Tocta[T12PartUncial.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()];
public GroßGetậl6ˢᴰ() { public GroßGetậl6ˢᴰ() {
for (int i=0;i<this.values.length;i++) { for (int i=0;i<this.values.length;i++) {
@ -34,12 +34,12 @@ public class GroßGetậl6ˢᴰ extends AbstractBaseGetậlMatrix2<GroßGetậl6
@Override @Override
public int getMatrix1Length() { public int getMatrix1Length() {
return T16PartHex.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ(); return T16PartHex.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
} }
@Override @Override
public int getMatrix2Length() { public int getMatrix2Length() {
return T12PartUncial.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ(); return T12PartUncial.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
} }
@Override @Override

View file

@ -202,7 +202,7 @@ public class Gê̄ldGetậl extends AbstractBaseGetậlMatrix1<Gê̄ldGetậl,V0
@Override @Override
public int getMatrix1Length() { public int getMatrix1Length() {
return T04PartQuad.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ(); return T04PartQuad.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
} }
@Override @Override

View file

@ -9,7 +9,7 @@ import love.distributedrebirth.numberxd.base2t.part.T08PartOctal;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public class KlompGetậl4ˢᴰ extends AbstractBaseGetậlMatrix1<KlompGetậl4ˢᴰ,V0x000CA8ˣᴸ> { public class KlompGetậl4ˢᴰ extends AbstractBaseGetậlMatrix1<KlompGetậl4ˢᴰ,V0x000CA8ˣᴸ> {
private final V0x000CA8ˣᴸ[] values = new V0x000CA8ˣᴸ[T08PartOctal.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ()]; private final V0x000CA8ˣᴸ[] values = new V0x000CA8ˣᴸ[T08PartOctal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()];
public KlompGetậl4ˢᴰ() { public KlompGetậl4ˢᴰ() {
for (int i=0;i<this.values.length;i++) { for (int i=0;i<this.values.length;i++) {
@ -30,7 +30,7 @@ public class KlompGetậl4ˢᴰ extends AbstractBaseGetậlMatrix1<KlompGetậl4
@Override @Override
public int getMatrix1Length() { public int getMatrix1Length() {
return T08PartOctal.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ(); return T08PartOctal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
} }
@Override @Override

View file

@ -20,7 +20,7 @@ public class KlompÅtŌṁKāassGetậl4ˢᴰ extends AbstractBaseGetậlMatrix2
throw new IllegalArgumentException("Can't slice cheese into less than one peace."); throw new IllegalArgumentException("Can't slice cheese into less than one peace.");
} }
this.kaasCuts = kaasCuts; this.kaasCuts = kaasCuts;
this.kaas = new V0x000CA8ˣᴸ[T08PartOctal.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ()][kaasCuts]; this.kaas = new V0x000CA8ˣᴸ[T08PartOctal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()][kaasCuts];
for (int x=0;x<this.kaas.length;x++) { for (int x=0;x<this.kaas.length;x++) {
for (int y=0;y<this.kaas[x].length;y++) { for (int y=0;y<this.kaas[x].length;y++) {
this.kaas[x][y] = new V0x000CA8ˣᴸ(); this.kaas[x][y] = new V0x000CA8ˣᴸ();
@ -33,7 +33,7 @@ public class KlompÅtŌṁKāassGetậl4ˢᴰ extends AbstractBaseGetậlMatrix2
throw new IllegalArgumentException("Can't slice cheese into less than one peace."); throw new IllegalArgumentException("Can't slice cheese into less than one peace.");
} }
this.kaasCuts = kaasCuts; this.kaasCuts = kaasCuts;
this.kaas = new V0x000CA8ˣᴸ[T08PartOctal.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ()][kaasCuts]; this.kaas = new V0x000CA8ˣᴸ[T08PartOctal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()][kaasCuts];
for (int x=0;x<this.kaas.length;x++) { for (int x=0;x<this.kaas.length;x++) {
for (int y=0;y<this.kaas[x].length;y++) { for (int y=0;y<this.kaas[x].length;y++) {
this.kaas[x][y] = new V0x000CA8ˣᴸ(values); this.kaas[x][y] = new V0x000CA8ˣᴸ(values);
@ -52,7 +52,7 @@ public class KlompÅtŌṁKāassGetậl4ˢᴰ extends AbstractBaseGetậlMatrix2
@Override @Override
public int getMatrix1Length() { public int getMatrix1Length() {
return T08PartOctal.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ(); return T08PartOctal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
} }
@Override @Override

View file

@ -3,7 +3,6 @@ package love.distributedrebirth.numberxd.base2t;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.bassboonyd.jmx.DefaultEnumInstanceᴶᴹˣ; import love.distributedrebirth.bassboonyd.jmx.DefaultEnumInstanceᴶᴹˣ;
import love.distributedrebirth.bassboonyd.jmx.GuageCounterᴶᴹˣ; import love.distributedrebirth.bassboonyd.jmx.GuageCounterᴶᴹˣ;
import love.distributedrebirth.bassboonyd.jmx.MBeanStoreKeyᴶᴹˣ;
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartʸᴰ; import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartʸᴰ;
import love.distributedrebirth.numberxd.base2t.part.T02PartBinary; import love.distributedrebirth.numberxd.base2t.part.T02PartBinary;
import love.distributedrebirth.numberxd.base2t.part.T03PartTrit; import love.distributedrebirth.numberxd.base2t.part.T03PartTrit;
@ -20,14 +19,13 @@ import love.distributedrebirth.numberxd.base2t.part.T16PartHex;
import love.distributedrebirth.numberxd.base2t.part.T20PartScore; import love.distributedrebirth.numberxd.base2t.part.T20PartScore;
import love.distributedrebirth.numberxd.base2t.part.T60PartSexagesimal; import love.distributedrebirth.numberxd.base2t.part.T60PartSexagesimal;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinStoreKeyʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnPackageInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnPackageInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnClassInfoʸᴰ(name = "Base2PartsFactory", purpose = "Factory to access the bases.") @BãßBȍőnClassInfoʸᴰ(name = "Base2PartsFactory", purpose = "Factory to access the bases.")
@BãßBȍőnPackageInfoʸᴰ(name = "love.distributedrebirth.numberxd") @BãßBȍőnPackageInfoʸᴰ(name = "love.distributedrebirth.numberxd")
public enum Base2PartsFactory implements DefaultEnumInstanceᴶᴹˣ<Base2PartsFactory, MBeanStoreKeyᴶᴹˣ> { public enum Base2PartsFactory implements DefaultEnumInstanceᴶᴹˣ<Base2PartsFactory, BãßBȍőnCoffinStoreKeyʸᴰ.None> {
INSTANCE; INSTANCE;
@ -46,26 +44,23 @@ public enum Base2PartsFactory implements DefaultEnumInstanceᴶᴹˣ<Base2PartsF
private final GuageCounterᴶᴹˣ baseT20Reads; private final GuageCounterᴶᴹˣ baseT20Reads;
private final GuageCounterᴶᴹˣ baseT60Reads; private final GuageCounterᴶᴹˣ baseT60Reads;
private static final int[] SUPPORTED_BASES = {2,3,4,5,6,7,8,9,10,11,12,16,20,60}; private static final int[] SUPPORTED_BASES = {2,3,4,5,6,7,8,9,10,11,12,16,20,60};
private final BãßBȍőnCoffinOpenʸᴰ<MBeanStoreKeyᴶᴹˣ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
public BãßBȍőnCoffinʸᴰ<MBeanStoreKeyᴶᴹˣ> GET_BBC() { return BBC; }
private Base2PartsFactory() { private Base2PartsFactory() {
BBC.BOON_INIT(this); BOON_INIT();
BȍőnJmxInit(MBeanStoreKeyᴶᴹˣ.JMX); baseT02Reads = BȍőnJmxInitGuageCounter("baseT02Reads");
baseT02Reads = BȍőnJmxInitGuageCounter(MBeanStoreKeyᴶᴹˣ.JMX, "baseT02Reads"); baseT03Reads = BȍőnJmxInitGuageCounter("baseT03Reads");
baseT03Reads = BȍőnJmxInitGuageCounter(MBeanStoreKeyᴶᴹˣ.JMX, "baseT03Reads"); baseT04Reads = BȍőnJmxInitGuageCounter("baseT04Reads");
baseT04Reads = BȍőnJmxInitGuageCounter(MBeanStoreKeyᴶᴹˣ.JMX, "baseT04Reads"); baseT05Reads = BȍőnJmxInitGuageCounter("baseT05Reads");
baseT05Reads = BȍőnJmxInitGuageCounter(MBeanStoreKeyᴶᴹˣ.JMX, "baseT05Reads"); baseT06Reads = BȍőnJmxInitGuageCounter("baseT06Reads");
baseT06Reads = BȍőnJmxInitGuageCounter(MBeanStoreKeyᴶᴹˣ.JMX, "baseT06Reads"); baseT07Reads = BȍőnJmxInitGuageCounter("baseT07Reads");
baseT07Reads = BȍőnJmxInitGuageCounter(MBeanStoreKeyᴶᴹˣ.JMX, "baseT07Reads"); baseT08Reads = BȍőnJmxInitGuageCounter("baseT08Reads");
baseT08Reads = BȍőnJmxInitGuageCounter(MBeanStoreKeyᴶᴹˣ.JMX, "baseT08Reads"); baseT09Reads = BȍőnJmxInitGuageCounter("baseT09Reads");
baseT09Reads = BȍőnJmxInitGuageCounter(MBeanStoreKeyᴶᴹˣ.JMX, "baseT09Reads"); baseT10Reads = BȍőnJmxInitGuageCounter("baseT10Reads");
baseT10Reads = BȍőnJmxInitGuageCounter(MBeanStoreKeyᴶᴹˣ.JMX, "baseT10Reads"); baseT11Reads = BȍőnJmxInitGuageCounter("baseT11Reads");
baseT11Reads = BȍőnJmxInitGuageCounter(MBeanStoreKeyᴶᴹˣ.JMX, "baseT11Reads"); baseT12Reads = BȍőnJmxInitGuageCounter("baseT12Reads");
baseT12Reads = BȍőnJmxInitGuageCounter(MBeanStoreKeyᴶᴹˣ.JMX, "baseT12Reads"); baseT16Reads = BȍőnJmxInitGuageCounter("baseT16Reads");
baseT16Reads = BȍőnJmxInitGuageCounter(MBeanStoreKeyᴶᴹˣ.JMX, "baseT16Reads"); baseT20Reads = BȍőnJmxInitGuageCounter("baseT20Reads");
baseT20Reads = BȍőnJmxInitGuageCounter(MBeanStoreKeyᴶᴹˣ.JMX, "baseT20Reads"); baseT60Reads = BȍőnJmxInitGuageCounter("baseT60Reads");
baseT60Reads = BȍőnJmxInitGuageCounter(MBeanStoreKeyᴶᴹˣ.JMX, "baseT60Reads");
} }
public int[] BãßBases() { public int[] BãßBases() {

View file

@ -9,12 +9,10 @@ import java.util.List;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinStoreKeyʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnPackageInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnPackageInfoʸᴰ;
import love.distributedrebirth.bassboonyd.jmx.DefaultEnumInstanceᴶᴹˣ; import love.distributedrebirth.bassboonyd.jmx.DefaultEnumInstanceᴶᴹˣ;
import love.distributedrebirth.bassboonyd.jmx.GuageCounterᴶᴹˣ; import love.distributedrebirth.bassboonyd.jmx.GuageCounterᴶᴹˣ;
import love.distributedrebirth.bassboonyd.jmx.MBeanStoreKeyᴶᴹˣ;
import love.distributedrebirth.numberxd.base2t.part.T08PartOctal; import love.distributedrebirth.numberxd.base2t.part.T08PartOctal;
import love.distributedrebirth.numberxd.base2t.type.V072Tong; import love.distributedrebirth.numberxd.base2t.type.V072Tong;
import love.distributedrebirth.numberxd.base2t.type.V144Tocta; import love.distributedrebirth.numberxd.base2t.type.V144Tocta;
@ -22,7 +20,7 @@ import love.distributedrebirth.numberxd.base2t.type.V144Tocta;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnClassInfoʸᴰ(name = "Base2Terminator", purpose = "Terminate from and to classical bytes.") @BãßBȍőnClassInfoʸᴰ(name = "Base2Terminator", purpose = "Terminate from and to classical bytes.")
@BãßBȍőnPackageInfoʸᴰ(name = "love.distributedrebirth.numberxd") @BãßBȍőnPackageInfoʸᴰ(name = "love.distributedrebirth.numberxd")
public enum Base2Terminator implements DefaultEnumInstanceᴶᴹˣ<Base2Terminator,MBeanStoreKeyᴶᴹˣ> { public enum Base2Terminator implements DefaultEnumInstanceᴶᴹˣ<Base2Terminator,BãßBȍőnCoffinStoreKeyʸᴰ.None> {
INSTANCE; INSTANCE;
@ -43,24 +41,21 @@ public enum Base2Terminator implements DefaultEnumInstanceᴶᴹˣ<Base2Terminat
private final GuageCounterᴶᴹˣ writeV144ToctaInvokes; private final GuageCounterᴶᴹˣ writeV144ToctaInvokes;
private final GuageCounterᴶᴹˣ writeV144ToctaBytesReads; private final GuageCounterᴶᴹˣ writeV144ToctaBytesReads;
private final GuageCounterᴶᴹˣ writeV144ToctaTypeWrites; private final GuageCounterᴶᴹˣ writeV144ToctaTypeWrites;
private final BãßBȍőnCoffinOpenʸᴰ<MBeanStoreKeyᴶᴹˣ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
public BãßBȍőnCoffinʸᴰ<MBeanStoreKeyᴶᴹˣ> GET_BBC() { return BBC; }
private Base2Terminator() { private Base2Terminator() {
BBC.BOON_INIT(this); BOON_INIT();
BȍőnJmxInit(MBeanStoreKeyᴶᴹˣ.JMX); readV072TongInvokes = BȍőnJmxInitGuageCounter("readV072TongInvokes");
readV072TongInvokes = BȍőnJmxInitGuageCounter(MBeanStoreKeyᴶᴹˣ.JMX, "readV072TongInvokes"); readV072TongTypeReads = BȍőnJmxInitGuageCounter("readV072TongTypeReads");
readV072TongTypeReads = BȍőnJmxInitGuageCounter(MBeanStoreKeyᴶᴹˣ.JMX, "readV072TongTypeReads"); readV144ToctaInvokes = BȍőnJmxInitGuageCounter("readV144ToctaInvokes");
readV144ToctaInvokes = BȍőnJmxInitGuageCounter(MBeanStoreKeyᴶᴹˣ.JMX, "readV144ToctaInvokes"); readV072TongByteWrites = BȍőnJmxInitGuageCounter("readV072TongByteWrites");
readV072TongByteWrites = BȍőnJmxInitGuageCounter(MBeanStoreKeyᴶᴹˣ.JMX, "readV072TongByteWrites"); readV144ToctaTypeReads = BȍőnJmxInitGuageCounter("readV144ToctaTypeReads");
readV144ToctaTypeReads = BȍőnJmxInitGuageCounter(MBeanStoreKeyᴶᴹˣ.JMX, "readV144ToctaTypeReads"); readV144ToctaByteWrites = BȍőnJmxInitGuageCounter("readV144ToctaByteWrites");
readV144ToctaByteWrites = BȍőnJmxInitGuageCounter(MBeanStoreKeyᴶᴹˣ.JMX, "readV144ToctaByteWrites"); writeV072TongInvokes = BȍőnJmxInitGuageCounter("writeV072TongInvokes");
writeV072TongInvokes = BȍőnJmxInitGuageCounter(MBeanStoreKeyᴶᴹˣ.JMX, "writeV072TongInvokes"); writeV072TongByteReads = BȍőnJmxInitGuageCounter("writeV072TongByteReads");
writeV072TongByteReads = BȍőnJmxInitGuageCounter(MBeanStoreKeyᴶᴹˣ.JMX, "writeV072TongByteReads"); writeV072TongTypeWrites = BȍőnJmxInitGuageCounter("writeV072TongTypeWrites");
writeV072TongTypeWrites = BȍőnJmxInitGuageCounter(MBeanStoreKeyᴶᴹˣ.JMX, "writeV072TongTypeWrites"); writeV144ToctaInvokes = BȍőnJmxInitGuageCounter("writeV144ToctaInvokes");
writeV144ToctaInvokes = BȍőnJmxInitGuageCounter(MBeanStoreKeyᴶᴹˣ.JMX, "writeV144ToctaInvokes"); writeV144ToctaBytesReads = BȍőnJmxInitGuageCounter("writeV144ToctaBytesReads");
writeV144ToctaBytesReads = BȍőnJmxInitGuageCounter(MBeanStoreKeyᴶᴹˣ.JMX, "writeV144ToctaBytesReads"); writeV144ToctaTypeWrites = BȍőnJmxInitGuageCounter("writeV144ToctaTypeWrites");
writeV144ToctaTypeWrites = BȍőnJmxInitGuageCounter(MBeanStoreKeyᴶᴹˣ.JMX, "writeV144ToctaTypeWrites");
} }
public int Bãß2ReadTong(InputStream input, List<V072Tong> output) throws IOException { public int Bãß2ReadTong(InputStream input, List<V072Tong> output) throws IOException {
@ -113,7 +108,7 @@ public enum Base2Terminator implements DefaultEnumInstanceᴶᴹˣ<Base2Terminat
private List<T08PartOctal> Bãß2ReadOctals(int...values) { private List<T08PartOctal> Bãß2ReadOctals(int...values) {
List<T08PartOctal> octals = new ArrayList<>(); List<T08PartOctal> octals = new ArrayList<>();
for (int value:values) { for (int value:values) {
T08PartOctal.DEFAULT.BãßVoorElk(v -> octals.add(T08PartOctal.indexOf(v, value))); T08PartOctal.STATIC.BãßVoorElk(v -> octals.add(T08PartOctal.indexOf(v, value)));
} }
return octals; return octals;
} }

View file

@ -7,10 +7,9 @@ import java.util.function.Consumer;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinStoreKeyʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnPackageInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnPackageInfoʸᴰ;
import love.distributedrebirth.bassboonyd.jmx.BooleanAttributeᴶᴹˣ; import love.distributedrebirth.bassboonyd.jmx.BooleanAttributeᴶᴹˣ;
import love.distributedrebirth.bassboonyd.jmx.MBeanStoreKeyᴶᴹˣ;
import love.distributedrebirth.bassboonyd.jmx.DefaultEnumInstanceᴶᴹˣ; import love.distributedrebirth.bassboonyd.jmx.DefaultEnumInstanceᴶᴹˣ;
import love.distributedrebirth.bassboonyd.jmx.GuageCounterᴶᴹˣ; import love.distributedrebirth.bassboonyd.jmx.GuageCounterᴶᴹˣ;
import love.distributedrebirth.bassboonyd.jmx.StringAttributeᴶᴹˣ; import love.distributedrebirth.bassboonyd.jmx.StringAttributeᴶᴹˣ;
@ -24,7 +23,7 @@ import love.distributedrebirth.warpme.core.WaterCipherHeartTone;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnClassInfoʸᴰ(name = "Base2WarpCore", purpose = "The warpcore writer and armor manager.") @BãßBȍőnClassInfoʸᴰ(name = "Base2WarpCore", purpose = "The warpcore writer and armor manager.")
@BãßBȍőnPackageInfoʸᴰ(name = "love.distributedrebirth.numberxd") @BãßBȍőnPackageInfoʸᴰ(name = "love.distributedrebirth.numberxd")
public enum Base2WarpCore implements DefaultEnumInstanceᴶᴹˣ<Base2WarpCore,MBeanStoreKeyᴶᴹˣ> { public enum Base2WarpCore implements DefaultEnumInstanceᴶᴹˣ<Base2WarpCore,BãßBȍőnCoffinStoreKeyʸᴰ.None> {
INSTANCE; INSTANCE;
@ -34,20 +33,17 @@ public enum Base2WarpCore implements DefaultEnumInstanceᴶᴹˣ<Base2WarpCore,M
private final GuageCounterᴶᴹˣ warpCoreValidates; private final GuageCounterᴶᴹˣ warpCoreValidates;
private final GuageCounterᴶᴹˣ warpCoreReads; private final GuageCounterᴶᴹˣ warpCoreReads;
private final GuageCounterᴶᴹˣ warpCoreWrites; private final GuageCounterᴶᴹˣ warpCoreWrites;
private final BãßBȍőnCoffinOpenʸᴰ<MBeanStoreKeyᴶᴹˣ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
public BãßBȍőnCoffinʸᴰ<MBeanStoreKeyᴶᴹˣ> GET_BBC() { return BBC; }
private Base2WarpCore() { private Base2WarpCore() {
BBC.BOON_INIT(this); BOON_INIT();
BȍőnJmxInit(MBeanStoreKeyᴶᴹˣ.JMX); warpCoreReads = BȍőnJmxInitGuageCounter("warpCoreReads", "The amount of warpcore reads.");
warpCoreReads = BȍőnJmxInitGuageCounter(MBeanStoreKeyᴶᴹˣ.JMX, "warpCoreReads", "The amount of warpcore reads."); warpCoreWrites = BȍőnJmxInitGuageCounter("warpCoreWrites", "The amount of warpcore writes.");
warpCoreWrites = BȍőnJmxInitGuageCounter(MBeanStoreKeyᴶᴹˣ.JMX, "warpCoreWrites", "The amount of warpcore writes."); warpCoreValidates = BȍőnJmxInitGuageCounter("warpCoreValidates", "The amount of warpcore validates.");
warpCoreValidates = BȍőnJmxInitGuageCounter(MBeanStoreKeyᴶᴹˣ.JMX, "warpCoreValidates", "The amount of warpcore validates."); armedWarpWaterName = BȍőnJmxInitStringAttribute("armedWarpWaterName", "The armed water cipher name.");
armedWarpWaterName = BȍőnJmxInitStringAttribute(MBeanStoreKeyᴶᴹˣ.JMX, "armedWarpWaterName", "The armed water cipher name.");
armedWarpWaterName.setValueString("default"); armedWarpWaterName.setValueString("default");
armedWarpWaterDesc = BȍőnJmxInitStringAttribute(MBeanStoreKeyᴶᴹˣ.JMX, "armedWarpWaterDesc", "The armed water cipher description."); armedWarpWaterDesc = BȍőnJmxInitStringAttribute("armedWarpWaterDesc", "The armed water cipher description.");
armedWarpWaterDesc.setValueString("Current active cipher."); armedWarpWaterDesc.setValueString("Current active cipher.");
armedWarpCipherLock = BȍőnJmxInitBooleanAttribute(MBeanStoreKeyᴶᴹˣ.JMX, "armedWarpCipherLock", "Is the water cipher locked."); armedWarpCipherLock = BȍőnJmxInitBooleanAttribute("armedWarpCipherLock", "Is the water cipher locked.");
armedWarpCipherLock.setValueBoolean(false); armedWarpCipherLock.setValueBoolean(false);
} }

View file

@ -0,0 +1,23 @@
package love.distributedrebirth.numberxd.base2t;
import java.util.Collection;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
/**
* Appender model for generic object.
*/
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public class BaseAppenderAdapter<T> implements BaseAppender<T> {
private final Collection<T> collection;
public BaseAppenderAdapter(Collection<T> collection) {
this.collection = collection;
}
@Override
public void add(T value) {
collection.add(value);
}
}

View file

@ -9,16 +9,9 @@ import love.distributedrebirth.numberxd.base2t.part.T08PartOctal;
* Appender model for Octals. * Appender model for Octals.
*/ */
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public final class BaseAppenderOctal implements BaseAppender<T08PartOctal> { public final class BaseAppenderOctal extends BaseAppenderAdapter<T08PartOctal> {
private final Collection<T08PartOctal> collection;
public BaseAppenderOctal(Collection<T08PartOctal> collection) { public BaseAppenderOctal(Collection<T08PartOctal> collection) {
this.collection = collection; super(collection);
}
@Override
public void add(T08PartOctal value) {
collection.add(value);
} }
} }

View file

@ -9,16 +9,9 @@ import love.distributedrebirth.numberxd.base2t.type.V009Tyte;
* Appender model for Tytes. * Appender model for Tytes.
*/ */
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public final class BaseAppenderTyte implements BaseAppender<V009Tyte> { public final class BaseAppenderTyte extends BaseAppenderAdapter<V009Tyte> {
private final Collection<V009Tyte> collection;
public BaseAppenderTyte(Collection<V009Tyte> collection) { public BaseAppenderTyte(Collection<V009Tyte> collection) {
this.collection = collection; super(collection);
}
@Override
public void add(V009Tyte value) {
collection.add(value);
} }
} }

View file

@ -2,20 +2,37 @@ package love.distributedrebirth.numberxd.base2t.part;
import love.distributedrebirth.bassboonyd.BãßBȍőnAnnotationInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAnnotationInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnConstantsʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnꝐŕḯṿª;
import love.distributedrebirth.bassboonyd.BãßBȍőnꝐŕḯṿªḕInitArgsʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnꝐŕḯṿªḕInitʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnAnnotationInfoʸᴰ(required = {BãßBȍőnPartAlt1Infoʸᴰ.class}) @BãßBȍőnAnnotationInfoʸᴰ(required = {BãßBȍőnPartAlt1Infoʸᴰ.class})
public interface BãßBȍőnPartAlt1ʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> extends BãßBȍőnPartʸᴰ<T> { public interface BãßBȍőnPartAlt1ʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> extends BãßBȍőnPartʸᴰ<T> {
public static class Ꝑŕḯṿª implements BãßBȍőnꝐŕḯṿª {
private static final String GHOST_KEY_ALT1_NAME = "alt1Name";
private static final String GHOST_KEY_ALT1_WEBSITE = "alt1Website";
@BãßBȍőnꝐŕḯṿªḕInitʸᴰ(args = BãßBȍőnꝐŕḯṿªḕInitArgsʸᴰ.BOON_AND_BBC)
private static void init(BãßBȍőnPartʸᴰ<?> boon, BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC) {
BãßBȍőnPartAlt1Infoʸᴰ anno = boon.getClass().getAnnotation(BãßBȍőnPartAlt1Infoʸᴰ.class);
BBC.UNHOLY(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_KEY_ALT1_NAME, anno!=null?anno.name():boon.getClass().getSimpleName());
BBC.UNHOLY(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_KEY_ALT1_WEBSITE, anno!=null?anno.website():BãßBȍőnConstantsʸᴰ.STR_EMPTY);
}
}
default String BȍőnAlt1Value() { default String BȍőnAlt1Value() {
return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE); return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE);
} }
default String BãßAlt1Name() { default String BãßAlt1Name() {
return getClass().getAnnotation(BãßBȍőnPartAlt1Infoʸᴰ.class).name(); return GET_BBC().UNHOLY(Ꝑŕḯṿª.class).GHOST_STR(Ꝑŕḯṿª.GHOST_KEY_ALT1_NAME);
} }
default String BãßAlt1Website() { default String BãßAlt1Website() {
return getClass().getAnnotation(BãßBȍőnPartAlt1Infoʸᴰ.class).website(); return GET_BBC().UNHOLY(Ꝑŕḯṿª.class).GHOST_STR(Ꝑŕḯṿª.GHOST_KEY_ALT1_WEBSITE);
} }
} }

View file

@ -2,20 +2,37 @@ package love.distributedrebirth.numberxd.base2t.part;
import love.distributedrebirth.bassboonyd.BãßBȍőnAnnotationInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAnnotationInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnConstantsʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnꝐŕḯṿª;
import love.distributedrebirth.bassboonyd.BãßBȍőnꝐŕḯṿªḕInitArgsʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnꝐŕḯṿªḕInitʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnAnnotationInfoʸᴰ(required = {BãßBȍőnPartAlt2Infoʸᴰ.class}) @BãßBȍőnAnnotationInfoʸᴰ(required = {BãßBȍőnPartAlt2Infoʸᴰ.class})
public interface BãßBȍőnPartAlt2ʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> extends BãßBȍőnPartAlt1ʸᴰ<T> { public interface BãßBȍőnPartAlt2ʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> extends BãßBȍőnPartAlt1ʸᴰ<T> {
public static class Ꝑŕḯṿª implements BãßBȍőnꝐŕḯṿª {
private static final String GHOST_KEY_ALT2_NAME = "alt2Name";
private static final String GHOST_KEY_ALT2_WEBSITE = "alt2Website";
@BãßBȍőnꝐŕḯṿªḕInitʸᴰ(args = BãßBȍőnꝐŕḯṿªḕInitArgsʸᴰ.BOON_AND_BBC)
private static void init(BãßBȍőnPartʸᴰ<?> boon, BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC) {
BãßBȍőnPartAlt1Infoʸᴰ anno = boon.getClass().getAnnotation(BãßBȍőnPartAlt1Infoʸᴰ.class);
BBC.UNHOLY(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_KEY_ALT2_NAME, anno!=null?anno.name():boon.getClass().getSimpleName());
BBC.UNHOLY(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_KEY_ALT2_WEBSITE, anno!=null?anno.website():BãßBȍőnConstantsʸᴰ.STR_EMPTY);
}
}
default String BȍőnAlt2Value() { default String BȍőnAlt2Value() {
return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.ALT_2_VALUE); return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.ALT_2_VALUE);
} }
default String BãßAlt2Name() { default String BãßAlt2Name() {
return getClass().getAnnotation(BãßBȍőnPartAlt2Infoʸᴰ.class).name(); return GET_BBC().UNHOLY(Ꝑŕḯṿª.class).GHOST_STR(Ꝑŕḯṿª.GHOST_KEY_ALT2_NAME);
} }
default String BãßAlt2Website() { default String BãßAlt2Website() {
return getClass().getAnnotation(BãßBȍőnPartAlt2Infoʸᴰ.class).website(); return GET_BBC().UNHOLY(Ꝑŕḯṿª.class).GHOST_STR(Ꝑŕḯṿª.GHOST_KEY_ALT2_WEBSITE);
} }
} }

View file

@ -2,20 +2,37 @@ package love.distributedrebirth.numberxd.base2t.part;
import love.distributedrebirth.bassboonyd.BãßBȍőnAnnotationInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAnnotationInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnConstantsʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnꝐŕḯṿª;
import love.distributedrebirth.bassboonyd.BãßBȍőnꝐŕḯṿªḕInitArgsʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnꝐŕḯṿªḕInitʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnAnnotationInfoʸᴰ(required = {BãßBȍőnPartAlt3Infoʸᴰ.class}) @BãßBȍőnAnnotationInfoʸᴰ(required = {BãßBȍőnPartAlt3Infoʸᴰ.class})
public interface BãßBȍőnPartAlt3ʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> extends BãßBȍőnPartAlt2ʸᴰ<T> { public interface BãßBȍőnPartAlt3ʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> extends BãßBȍőnPartAlt2ʸᴰ<T> {
public static class Ꝑŕḯṿª implements BãßBȍőnꝐŕḯṿª {
private static final String GHOST_KEY_ALT3_NAME = "alt3Name";
private static final String GHOST_KEY_ALT3_WEBSITE = "alt3Website";
@BãßBȍőnꝐŕḯṿªḕInitʸᴰ(args = BãßBȍőnꝐŕḯṿªḕInitArgsʸᴰ.BOON_AND_BBC)
private static void init(BãßBȍőnPartʸᴰ<?> boon, BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC) {
BãßBȍőnPartAlt1Infoʸᴰ anno = boon.getClass().getAnnotation(BãßBȍőnPartAlt1Infoʸᴰ.class);
BBC.UNHOLY(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_KEY_ALT3_NAME, anno!=null?anno.name():boon.getClass().getSimpleName());
BBC.UNHOLY(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_KEY_ALT3_WEBSITE, anno!=null?anno.website():BãßBȍőnConstantsʸᴰ.STR_EMPTY);
}
}
default String BȍőnAlt3Value() { default String BȍőnAlt3Value() {
return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.ALT_3_VALUE); return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.ALT_3_VALUE);
} }
default String BãßAlt3Name() { default String BãßAlt3Name() {
return getClass().getAnnotation(BãßBȍőnPartAlt3Infoʸᴰ.class).name(); return GET_BBC().UNHOLY(Ꝑŕḯṿª.class).GHOST_STR(Ꝑŕḯṿª.GHOST_KEY_ALT3_NAME);
} }
default String BãßAlt3Website() { default String BãßAlt3Website() {
return getClass().getAnnotation(BãßBȍőnPartAlt3Infoʸᴰ.class).website(); return GET_BBC().UNHOLY(Ꝑŕḯṿª.class).GHOST_STR(Ꝑŕḯṿª.GHOST_KEY_ALT3_WEBSITE);
} }
} }

View file

@ -2,20 +2,37 @@ package love.distributedrebirth.numberxd.base2t.part;
import love.distributedrebirth.bassboonyd.BãßBȍőnAnnotationInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAnnotationInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnConstantsʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnꝐŕḯṿª;
import love.distributedrebirth.bassboonyd.BãßBȍőnꝐŕḯṿªḕInitArgsʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnꝐŕḯṿªḕInitʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnAnnotationInfoʸᴰ(required = {BãßBȍőnPartAlt4Infoʸᴰ.class}) @BãßBȍőnAnnotationInfoʸᴰ(required = {BãßBȍőnPartAlt4Infoʸᴰ.class})
public interface BãßBȍőnPartAlt4ʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> extends BãßBȍőnPartAlt3ʸᴰ<T> { public interface BãßBȍőnPartAlt4ʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> extends BãßBȍőnPartAlt3ʸᴰ<T> {
public static class Ꝑŕḯṿª implements BãßBȍőnꝐŕḯṿª {
private static final String GHOST_KEY_ALT4_NAME = "alt4Name";
private static final String GHOST_KEY_ALT4_WEBSITE = "alt4Website";
@BãßBȍőnꝐŕḯṿªḕInitʸᴰ(args = BãßBȍőnꝐŕḯṿªḕInitArgsʸᴰ.BOON_AND_BBC)
private static void init(BãßBȍőnPartʸᴰ<?> boon, BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC) {
BãßBȍőnPartAlt1Infoʸᴰ anno = boon.getClass().getAnnotation(BãßBȍőnPartAlt1Infoʸᴰ.class);
BBC.UNHOLY(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_KEY_ALT4_NAME, anno!=null?anno.name():boon.getClass().getSimpleName());
BBC.UNHOLY(Ꝑŕḯṿª.class).PUT_GHOST(GHOST_KEY_ALT4_WEBSITE, anno!=null?anno.website():BãßBȍőnConstantsʸᴰ.STR_EMPTY);
}
}
default String BȍőnAlt4Value() { default String BȍőnAlt4Value() {
return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.ALT_4_VALUE); return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.ALT_4_VALUE);
} }
default String BãßAlt4Name() { default String BãßAlt4Name() {
return getClass().getAnnotation(BãßBȍőnPartAlt4Infoʸᴰ.class).name(); return GET_BBC().UNHOLY(Ꝑŕḯṿª.class).GHOST_STR(Ꝑŕḯṿª.GHOST_KEY_ALT4_NAME);
} }
default String BãßAlt4Website() { default String BãßAlt4Website() {
return getClass().getAnnotation(BãßBȍőnPartAlt4Infoʸᴰ.class).website(); return GET_BBC().UNHOLY(Ꝑŕḯṿª.class).GHOST_STR(Ꝑŕḯṿª.GHOST_KEY_ALT4_WEBSITE);
} }
} }

View file

@ -13,7 +13,6 @@ public enum BãßBȍőnPartKeyʸᴰ implements BãßBȍőnCoffinStoreKeyʸᴰ {
MAP_TONE, MAP_TONE,
MAP_CHINA, MAP_CHINA,
MAP_CACHE,
ALT_1_VALUE, ALT_1_VALUE,
ALT_2_VALUE, ALT_2_VALUE,

View file

@ -4,13 +4,27 @@ import java.util.Map;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinStoreʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnInitMarkerʸᴰ;
import love.distributedrebirth.bassboonyd.DefaultEnumSetʸᴰ; import love.distributedrebirth.bassboonyd.DefaultEnumSetʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnInitMethodʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnꝐŕḯṿª;
import love.distributedrebirth.bassboonyd.BãßBȍőnꝐŕḯṿªḕInitArgsʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnꝐŕḯṿªḕInitʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")//
public interface BãßBȍőnPartʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> extends DefaultEnumSetʸᴰ<T>, BãßBȍőnCoffinStoreʸᴰ<BãßBȍőnPartKeyʸᴰ> { public interface BãßBȍőnPartʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> extends DefaultEnumSetʸᴰ<T, BãßBȍőnPartKeyʸᴰ> {
public static class Ꝑŕḯṿª implements BãßBȍőnꝐŕḯṿª {
private static final String GHOST_KEY_LENGTH = "length";
@BãßBȍőnꝐŕḯṿªḕInitʸᴰ(args = BãßBȍőnꝐŕḯṿªḕInitArgsʸᴰ.BBC)
private static void initMapTone(BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC) {
BBC.PUT_MAP(BãßBȍőnPartKeyʸᴰ.MAP_TONE);
}
@BãßBȍőnꝐŕḯṿªḕInitʸᴰ(args = BãßBȍőnꝐŕḯṿªḕInitArgsʸᴰ.BBC)
private static void initMapChina(BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC) {
BBC.PUT_MAP(BãßBȍőnPartKeyʸᴰ.MAP_CHINA);
}
}
default String BȍőnDialTone() { default String BȍőnDialTone() {
return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.DIAL_TONE); return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.DIAL_TONE);
@ -42,35 +56,12 @@ public interface BãßBȍőnPartʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> extends
return (T) mapChina.get(chinaKey); return (T) mapChina.get(chinaKey);
} }
public static class Init implements BãßBȍőnInitMarkerʸᴰ {
@BãßBȍőnInitMethodʸᴰ
private static void initMapTone(BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC) {
BBC.PUT_MAP(BãßBȍőnPartKeyʸᴰ.MAP_TONE);
}
@BãßBȍőnInitMethodʸᴰ
private static void initMapChina(BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC) {
BBC.PUT_MAP(BãßBȍőnPartKeyʸᴰ.MAP_CHINA);
}
@BãßBȍőnInitMethodʸᴰ
private static void initMapCache(BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC) {
BBC.PUT_MAP(BãßBȍőnPartKeyʸᴰ.MAP_CACHE);
}
}
public static class MapCacheKey {
private static final String LENGTH = "length";
}
default int BãßĦǿɇṽḝę̃ɬḪễïđ() { default int BãßĦǿɇṽḝę̃ɬḪễïđ() {
Map<String,Object> mapCache = GET_BBC().GET_MAP_OBJ(BãßBȍőnPartKeyʸᴰ.MAP_CACHE); Integer result = GET_BBC().UNHOLY(Ꝑŕḯṿª.class).GHOST_INT(Ꝑŕḯṿª.GHOST_KEY_LENGTH);
Integer length = Integer.class.cast(mapCache.get(MapCacheKey.LENGTH)); if (result == null) {
if (length == null) { result = BãßInstances().length;
length = BãßInstances().length; GET_BBC().UNHOLY(Ꝑŕḯṿª.class).PUT_GHOST(Ꝑŕḯṿª.GHOST_KEY_LENGTH, result);
mapCache.put(MapCacheKey.LENGTH, length);
} }
return length; return result;
} }
} }

View file

@ -1,8 +1,6 @@
package love.distributedrebirth.numberxd.base2t.part; package love.distributedrebirth.numberxd.base2t.part;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@ -13,14 +11,13 @@ public enum T02PartBinary implements BãßBȍőnPartʸᴰ<T02PartBinary> {
PART_2("", "", "high"), PART_2("", "", "high"),
; ;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance(); public final static T02PartBinary STATIC = T02PartBinary.PART_1;
public final BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public final static T02PartBinary DEFAULT = T02PartBinary.PART_1;
private T02PartBinary(String dialTone, String chinaKey, String chinaValue) { private T02PartBinary(String dialTone, String chinaKey, String chinaValue) {
BOON_INIT(BBC -> {
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.DIAL_TONE, dialTone); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.DIAL_TONE, dialTone);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue);
BBC.BOON_INIT(this); });
} }
} }

View file

@ -1,8 +1,6 @@
package love.distributedrebirth.numberxd.base2t.part; package love.distributedrebirth.numberxd.base2t.part;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@ -14,14 +12,13 @@ public enum T03PartTrit implements BãßBȍőnPartʸᴰ<T03PartTrit> {
PART_3("˨","","3"), PART_3("˨","","3"),
; ;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance(); public final static T03PartTrit STATIC = T03PartTrit.PART_1;
public final BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public final static T03PartTrit DEFAULT = T03PartTrit.PART_1;
private T03PartTrit(String dialTone, String chinaKey, String chinaValue) { private T03PartTrit(String dialTone, String chinaKey, String chinaValue) {
BOON_INIT(BBC -> {
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.DIAL_TONE, dialTone); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.DIAL_TONE, dialTone);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue);
BBC.BOON_INIT(this); });
} }
} }

View file

@ -1,8 +1,6 @@
package love.distributedrebirth.numberxd.base2t.part; package love.distributedrebirth.numberxd.base2t.part;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@ -18,18 +16,17 @@ public enum T04PartQuad implements BãßBȍőnPartAlt3ʸᴰ<T04PartQuad> {
PART_4("˩","","heaven","", "S","south"), PART_4("˩","","heaven","", "S","south"),
; ;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance(); public final static T04PartQuad STATIC = T04PartQuad.PART_1;
public final BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public final static T04PartQuad DEFAULT = T04PartQuad.PART_1;
private T04PartQuad(String dialTone, String chinaKey, String chinaValue, String alt1Value, String alt2Value, String alt3Value) { private T04PartQuad(String dialTone, String chinaKey, String chinaValue, String alt1Value, String alt2Value, String alt3Value) {
BOON_INIT(BBC -> {
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.DIAL_TONE, dialTone); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.DIAL_TONE, dialTone);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_2_VALUE, alt2Value); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_2_VALUE, alt2Value);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_3_VALUE, alt3Value); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_3_VALUE, alt3Value);
BBC.BOON_INIT(this); });
} }
public T02PartBinary splitPartBinary(T02PartBinary part) { public T02PartBinary splitPartBinary(T02PartBinary part) {

View file

@ -1,8 +1,6 @@
package love.distributedrebirth.numberxd.base2t.part; package love.distributedrebirth.numberxd.base2t.part;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@ -18,16 +16,15 @@ public enum T05PartPental implements BãßBȍőnPartAlt2ʸᴰ<T05PartPental> {
PART_5("˩","","earth","G", "gaia"), PART_5("˩","","earth","G", "gaia"),
; ;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance(); public final static T05PartPental STATIC = T05PartPental.PART_1;
public final BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public final static T05PartPental DEFAULT = T05PartPental.PART_1;
private T05PartPental(String dialTone, String chinaKey, String chinaValue, String alt1Value, String alt2Value) { private T05PartPental(String dialTone, String chinaKey, String chinaValue, String alt1Value, String alt2Value) {
BOON_INIT(BBC -> {
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.DIAL_TONE, dialTone); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.DIAL_TONE, dialTone);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_2_VALUE, alt2Value); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_2_VALUE, alt2Value);
BBC.BOON_INIT(this); });
} }
} }

View file

@ -1,8 +1,6 @@
package love.distributedrebirth.numberxd.base2t.part; package love.distributedrebirth.numberxd.base2t.part;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@ -18,16 +16,15 @@ public enum T06PartSeximal implements BãßBȍőnPartAlt1ʸᴰ<T06PartSeximal> {
PART_6("","","9","X"), PART_6("","","9","X"),
; ;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance(); public final static T06PartSeximal STATIC = T06PartSeximal.PART_1;
public final BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public final static T06PartSeximal DEFAULT = T06PartSeximal.PART_1;
private T06PartSeximal(String dialTone, String chinaKey, String chinaValue, String alt1Value) { private T06PartSeximal(String dialTone, String chinaKey, String chinaValue, String alt1Value) {
BOON_INIT(BBC -> {
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.DIAL_TONE, dialTone); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.DIAL_TONE, dialTone);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value);
BBC.BOON_INIT(this); });
} }
public T02PartBinary splitPartBinary() { public T02PartBinary splitPartBinary() {

View file

@ -1,8 +1,6 @@
package love.distributedrebirth.numberxd.base2t.part; package love.distributedrebirth.numberxd.base2t.part;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@ -19,15 +17,14 @@ public enum T07PartPlanIt implements BãßBȍőnPartAlt1ʸᴰ<T07PartPlanIt> {
PART_7("˩","♈︎","aries", "白羊座"), PART_7("˩","♈︎","aries", "白羊座"),
; ;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance(); public final static T07PartPlanIt STATIC = T07PartPlanIt.PART_1;
public final BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public final static T07PartPlanIt DEFAULT = T07PartPlanIt.PART_1;
private T07PartPlanIt(String dialTone, String chinaKey, String chinaValue, String alt1Value) { private T07PartPlanIt(String dialTone, String chinaKey, String chinaValue, String alt1Value) {
BOON_INIT(BBC -> {
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.DIAL_TONE, dialTone); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.DIAL_TONE, dialTone);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value);
BBC.BOON_INIT(this); });
} }
} }

View file

@ -1,8 +1,6 @@
package love.distributedrebirth.numberxd.base2t.part; package love.distributedrebirth.numberxd.base2t.part;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@ -21,16 +19,15 @@ public enum T08PartOctal implements BãßBȍőnPartShiftBitsʸᴰ<T08PartOctal>
public final static int BIT_COUNT = 3; public final static int BIT_COUNT = 3;
private final static byte BITMASK = 0x07; private final static byte BITMASK = 0x07;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance(); public final static T08PartOctal STATIC = T08PartOctal.PART_1;
public final BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public final static T08PartOctal DEFAULT = T08PartOctal.PART_1;
private T08PartOctal(String dialTone, String chinaKey, String chinaValue, int shiftBits) { private T08PartOctal(String dialTone, String chinaKey, String chinaValue, int shiftBits) {
BOON_INIT(BBC -> {
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.DIAL_TONE, dialTone); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.DIAL_TONE, dialTone);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.SHIFT_BITS, Integer.valueOf(shiftBits)); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.SHIFT_BITS, Integer.valueOf(shiftBits));
BBC.BOON_INIT(this); });
} }
public static T08PartOctal indexOf(T08PartOctal group, int value) { public static T08PartOctal indexOf(T08PartOctal group, int value) {

View file

@ -1,8 +1,6 @@
package love.distributedrebirth.numberxd.base2t.part; package love.distributedrebirth.numberxd.base2t.part;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@ -20,14 +18,13 @@ public enum T09PartNonary implements BãßBȍőnPartʸᴰ<T09PartNonary> {
PART_9 ("","","purple"), PART_9 ("","","purple"),
; ;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance(); public final static T09PartNonary STATIC = T09PartNonary.PART_1;
public final BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public final static T09PartNonary DEFAULT = T09PartNonary.PART_1;
private T09PartNonary(String dialTone, String chinaKey, String chinaValue) { private T09PartNonary(String dialTone, String chinaKey, String chinaValue) {
BOON_INIT(BBC -> {
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.DIAL_TONE, dialTone); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.DIAL_TONE, dialTone);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue);
BBC.BOON_INIT(this); });
} }
} }

View file

@ -1,8 +1,6 @@
package love.distributedrebirth.numberxd.base2t.part; package love.distributedrebirth.numberxd.base2t.part;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@ -23,16 +21,15 @@ public enum T10PartDecimal implements BãßBȍőnPartAlt2ʸᴰ<T10PartDecimal> {
PART_10("","","nine", "˩",""), PART_10("","","nine", "˩",""),
; ;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance(); public final static T10PartDecimal STATIC = T10PartDecimal.PART_1;
public final BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public final static T10PartDecimal DEFAULT = T10PartDecimal.PART_1;
private T10PartDecimal(String dialTone, String chinaKey, String chinaValue, String alt1Value, String alt2Value) { private T10PartDecimal(String dialTone, String chinaKey, String chinaValue, String alt1Value, String alt2Value) {
BOON_INIT(BBC -> {
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.DIAL_TONE, dialTone); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.DIAL_TONE, dialTone);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_2_VALUE, alt2Value); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_2_VALUE, alt2Value);
BBC.BOON_INIT(this); });
} }
} }

View file

@ -1,8 +1,6 @@
package love.distributedrebirth.numberxd.base2t.part; package love.distributedrebirth.numberxd.base2t.part;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@ -23,15 +21,14 @@ public enum T11PartUndecimal implements BãßBȍőnPartAlt1ʸᴰ<T11PartUndecima
PART_11("˩","","mate", ""), PART_11("˩","","mate", ""),
; ;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance(); public final static T11PartUndecimal STATIC = T11PartUndecimal.PART_1;
public final BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public final static T11PartUndecimal DEFAULT = T11PartUndecimal.PART_1;
private T11PartUndecimal(String dialTone, String chinaKey, String chinaValue, String alt1Value) { private T11PartUndecimal(String dialTone, String chinaKey, String chinaValue, String alt1Value) {
BOON_INIT(BBC -> {
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.DIAL_TONE, dialTone); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.DIAL_TONE, dialTone);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value);
BBC.BOON_INIT(this); });
} }
} }

View file

@ -1,8 +1,6 @@
package love.distributedrebirth.numberxd.base2t.part; package love.distributedrebirth.numberxd.base2t.part;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@ -24,15 +22,14 @@ public enum T12PartUncial implements BãßBȍőnPartAlt1ʸᴰ<T12PartUncial> {
PART_12("","","nozero", "\u218b"), // TURNED DIGIT THREE PART_12("","","nozero", "\u218b"), // TURNED DIGIT THREE
; ;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance(); public final static T12PartUncial STATIC = T12PartUncial.PART_1;
public final BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public final static T12PartUncial DEFAULT = T12PartUncial.PART_1;
private T12PartUncial(String dialTone, String chinaKey, String chinaValue, String alt1Value) { private T12PartUncial(String dialTone, String chinaKey, String chinaValue, String alt1Value) {
BOON_INIT(BBC -> {
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.DIAL_TONE, dialTone); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.DIAL_TONE, dialTone);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value);
BBC.BOON_INIT(this); });
} }
} }

View file

@ -1,8 +1,6 @@
package love.distributedrebirth.numberxd.base2t.part; package love.distributedrebirth.numberxd.base2t.part;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@ -28,16 +26,15 @@ public enum T16PartHex implements BãßBȍőnPartAlt1ʸᴰ<T16PartHex> {
PART_16("","","sulfur", "F"), PART_16("","","sulfur", "F"),
; ;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance(); public final static T16PartHex STATIC = T16PartHex.PART_1;
public final BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public final static T16PartHex DEFAULT = T16PartHex.PART_1;
private T16PartHex(String dialTone, String chinaKey, String chinaValue, String alt1Value) { private T16PartHex(String dialTone, String chinaKey, String chinaValue, String alt1Value) {
BOON_INIT(BBC -> {
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.DIAL_TONE, dialTone); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.DIAL_TONE, dialTone);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value);
BBC.BOON_INIT(this); });
} }
public T02PartBinary splitPartBinary(T04PartQuad part) { public T02PartBinary splitPartBinary(T04PartQuad part) {

View file

@ -5,9 +5,7 @@ import java.util.Collections;
import java.util.Map; import java.util.Map;
import java.util.stream.Collectors; import java.util.stream.Collectors;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@ -42,12 +40,12 @@ public enum T20PartScore implements BãßBȍőnPartAlt4ʸᴰ<T20PartScore> {
private static final Map<String, T20PartScore> OPENLC_MAP = Collections.unmodifiableMap( private static final Map<String, T20PartScore> OPENLC_MAP = Collections.unmodifiableMap(
Arrays.asList(values()).stream().collect(Collectors.toMap(v -> v.BȍőnAlt4Value(), v -> v))); Arrays.asList(values()).stream().collect(Collectors.toMap(v -> v.BȍőnAlt4Value(), v -> v)));
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
public final BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; } public final static T20PartScore STATIC = T20PartScore.PART_1;
public final static T20PartScore DEFAULT = T20PartScore.PART_1;
private T20PartScore(String dialTone, String chinaKey, String chinaValue, private T20PartScore(String dialTone, String chinaKey, String chinaValue,
String alt1Value, String alt2Value, String alt3Value, String alt4Value) { String alt1Value, String alt2Value, String alt3Value, String alt4Value) {
BOON_INIT(BBC -> {
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.DIAL_TONE, dialTone); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.DIAL_TONE, dialTone);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue);
@ -55,7 +53,7 @@ public enum T20PartScore implements BãßBȍőnPartAlt4ʸᴰ<T20PartScore> {
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_2_VALUE, alt2Value); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_2_VALUE, alt2Value);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_3_VALUE, alt3Value); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_3_VALUE, alt3Value);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_4_VALUE, alt4Value); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_4_VALUE, alt4Value);
BBC.BOON_INIT(this); });
} }
public T20PartScore BãßValueOfOpenLC(String openLCKey) { public T20PartScore BãßValueOfOpenLC(String openLCKey) {

View file

@ -1,8 +1,6 @@
package love.distributedrebirth.numberxd.base2t.part; package love.distributedrebirth.numberxd.base2t.part;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@ -71,14 +69,13 @@ public enum T60PartSexagesimal implements BãßBȍőnPartʸᴰ<T60PartSexagesima
PART_60("꜒꜖","","apple"), PART_60("꜒꜖","","apple"),
; ;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance(); public final static T60PartSexagesimal STATIC = T60PartSexagesimal.PART_1;
public final BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public final static T60PartSexagesimal DEFAULT = T60PartSexagesimal.PART_1;
private T60PartSexagesimal(String dialTone, String chinaKey, String chinaValue) { private T60PartSexagesimal(String dialTone, String chinaKey, String chinaValue) {
BOON_INIT(BBC -> {
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.DIAL_TONE, dialTone); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.DIAL_TONE, dialTone);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, chinaKey);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue); BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, chinaValue);
BBC.BOON_INIT(this); });
} }
} }

View file

@ -13,8 +13,8 @@ import love.distributedrebirth.numberxd.base2t.part.T08PartOctal;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public final class V006Tixte implements BaseNumber<V006Tixte> { public final class V006Tixte implements BaseNumber<V006Tixte> {
public static int BIT_COUNT = T08PartOctal.BIT_COUNT * T02PartBinary.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ(); public static int BIT_COUNT = T08PartOctal.BIT_COUNT * T02PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
private final T08PartOctal[] values = new T08PartOctal[T02PartBinary.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ()]; private final T08PartOctal[] values = new T08PartOctal[T02PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()];
public V006Tixte() { public V006Tixte() {
this(T08PartOctal.PART_1, T08PartOctal.PART_1); this(T08PartOctal.PART_1, T08PartOctal.PART_1);

View file

@ -15,8 +15,8 @@ import love.distributedrebirth.numberxd.base2t.part.T08PartOctal;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public final class V009Tyte implements BaseNumberTyte<V009Tyte> { public final class V009Tyte implements BaseNumberTyte<V009Tyte> {
public static int BIT_COUNT = T08PartOctal.BIT_COUNT * T03PartTrit.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ(); public static int BIT_COUNT = T08PartOctal.BIT_COUNT * T03PartTrit.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
private final T08PartOctal[] values = new T08PartOctal[T03PartTrit.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ()]; private final T08PartOctal[] values = new T08PartOctal[T03PartTrit.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()];
public V009Tyte() { public V009Tyte() {
this(T08PartOctal.PART_1, T08PartOctal.PART_1, T08PartOctal.PART_1); this(T08PartOctal.PART_1, T08PartOctal.PART_1, T08PartOctal.PART_1);

View file

@ -16,8 +16,8 @@ import love.distributedrebirth.numberxd.base2t.part.T08PartOctal;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public final class V018Tord implements BaseNumberTyte<V018Tord> { public final class V018Tord implements BaseNumberTyte<V018Tord> {
public static int BIT_COUNT = V009Tyte.BIT_COUNT * T02PartBinary.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ(); public static int BIT_COUNT = V009Tyte.BIT_COUNT * T02PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
private V009Tyte[] values = new V009Tyte[T02PartBinary.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ()]; private V009Tyte[] values = new V009Tyte[T02PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()];
public V018Tord() { public V018Tord() {
this(new V009Tyte(), new V009Tyte()); this(new V009Tyte(), new V009Tyte());
@ -76,7 +76,7 @@ public final class V018Tord implements BaseNumberTyte<V018Tord> {
@Override @Override
public void fillOctalsByClone(BaseAppenderOctal appender) { public void fillOctalsByClone(BaseAppenderOctal appender) {
T02PartBinary.DEFAULT.BãßVoorElk(v -> getValue(v).fillOctalsByClone(appender)); T02PartBinary.STATIC.BãßVoorElk(v -> getValue(v).fillOctalsByClone(appender));
} }
@Override @Override
@ -86,6 +86,6 @@ public final class V018Tord implements BaseNumberTyte<V018Tord> {
@Override @Override
public void fillTytesByReference(BaseAppenderTyte appender) { public void fillTytesByReference(BaseAppenderTyte appender) {
T02PartBinary.DEFAULT.BãßVoorElk(v -> getValue(v).fillTytesByReference(appender)); T02PartBinary.STATIC.BãßVoorElk(v -> getValue(v).fillTytesByReference(appender));
} }
} }

View file

@ -14,8 +14,8 @@ import love.distributedrebirth.numberxd.base2t.part.T03PartTrit;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public final class V027Temvig implements BaseNumberTyte<V027Temvig> { public final class V027Temvig implements BaseNumberTyte<V027Temvig> {
public static int BIT_COUNT = V009Tyte.BIT_COUNT * T03PartTrit.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ(); public static int BIT_COUNT = V009Tyte.BIT_COUNT * T03PartTrit.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
private V009Tyte[] values = new V009Tyte[T03PartTrit.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ()]; private V009Tyte[] values = new V009Tyte[T03PartTrit.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()];
public V027Temvig() { public V027Temvig() {
this(new V009Tyte(), new V009Tyte(), new V009Tyte()); this(new V009Tyte(), new V009Tyte(), new V009Tyte());
@ -55,7 +55,7 @@ public final class V027Temvig implements BaseNumberTyte<V027Temvig> {
@Override @Override
public void fillOctalsByClone(BaseAppenderOctal appender) { public void fillOctalsByClone(BaseAppenderOctal appender) {
T03PartTrit.DEFAULT.BãßVoorElk(v -> getValue(v).fillOctalsByClone(appender)); T03PartTrit.STATIC.BãßVoorElk(v -> getValue(v).fillOctalsByClone(appender));
} }
@Override @Override
@ -65,6 +65,6 @@ public final class V027Temvig implements BaseNumberTyte<V027Temvig> {
@Override @Override
public void fillTytesByReference(BaseAppenderTyte appender) { public void fillTytesByReference(BaseAppenderTyte appender) {
T03PartTrit.DEFAULT.BãßVoorElk(v -> getValue(v).fillTytesByReference(appender)); T03PartTrit.STATIC.BãßVoorElk(v -> getValue(v).fillTytesByReference(appender));
} }
} }

View file

@ -15,8 +15,8 @@ import love.distributedrebirth.numberxd.base2t.part.T04PartQuad;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public final class V036Teger implements BaseNumberTyte<V036Teger> { public final class V036Teger implements BaseNumberTyte<V036Teger> {
public static int BIT_COUNT = V018Tord.BIT_COUNT * T02PartBinary.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ(); public static int BIT_COUNT = V018Tord.BIT_COUNT * T02PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
private V018Tord[] values = new V018Tord[T02PartBinary.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ()]; private V018Tord[] values = new V018Tord[T02PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()];
public V036Teger() { public V036Teger() {
this(new V018Tord(), new V018Tord()); this(new V018Tord(), new V018Tord());
@ -77,7 +77,7 @@ public final class V036Teger implements BaseNumberTyte<V036Teger> {
@Override @Override
public void fillOctalsByClone(BaseAppenderOctal appender) { public void fillOctalsByClone(BaseAppenderOctal appender) {
T02PartBinary.DEFAULT.BãßVoorElk(v -> getValue(v).fillOctalsByClone(appender)); T02PartBinary.STATIC.BãßVoorElk(v -> getValue(v).fillOctalsByClone(appender));
} }
@Override @Override
@ -87,6 +87,6 @@ public final class V036Teger implements BaseNumberTyte<V036Teger> {
@Override @Override
public void fillTytesByReference(BaseAppenderTyte appender) { public void fillTytesByReference(BaseAppenderTyte appender) {
T02PartBinary.DEFAULT.BãßVoorElk(v -> getValue(v).fillTytesByReference(appender)); T02PartBinary.STATIC.BãßVoorElk(v -> getValue(v).fillTytesByReference(appender));
} }
} }

View file

@ -12,8 +12,8 @@ import love.distributedrebirth.numberxd.base2t.part.T07PartPlanIt;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public final class V042Traw implements BaseNumber<V042Traw> { public final class V042Traw implements BaseNumber<V042Traw> {
public static int BIT_COUNT = V006Tixte.BIT_COUNT * T07PartPlanIt.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ(); public static int BIT_COUNT = V006Tixte.BIT_COUNT * T07PartPlanIt.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
private V006Tixte[] values = new V006Tixte[T07PartPlanIt.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ()]; private V006Tixte[] values = new V006Tixte[T07PartPlanIt.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()];
public V042Traw() { public V042Traw() {
for (int i=0;i<values.length;i++) { for (int i=0;i<values.length;i++) {
@ -47,6 +47,6 @@ public final class V042Traw implements BaseNumber<V042Traw> {
@Override @Override
public void fillOctalsByClone(BaseAppenderOctal appender) { public void fillOctalsByClone(BaseAppenderOctal appender) {
T07PartPlanIt.DEFAULT.BãßVoorElk(v -> getValue(v).fillOctalsByClone(appender)); T07PartPlanIt.STATIC.BãßVoorElk(v -> getValue(v).fillOctalsByClone(appender));
} }
} }

View file

@ -16,8 +16,8 @@ import love.distributedrebirth.numberxd.base2t.part.T08PartOctal;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public final class V072Tong implements BaseNumberTyte<V072Tong> { public final class V072Tong implements BaseNumberTyte<V072Tong> {
public static int BIT_COUNT = V036Teger.BIT_COUNT * T02PartBinary.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ(); public static int BIT_COUNT = V036Teger.BIT_COUNT * T02PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
private V036Teger[] values = new V036Teger[T02PartBinary.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ()]; private V036Teger[] values = new V036Teger[T02PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()];
public V072Tong() { public V072Tong() {
this(new V036Teger(), new V036Teger()); this(new V036Teger(), new V036Teger());
@ -68,7 +68,7 @@ public final class V072Tong implements BaseNumberTyte<V072Tong> {
@Override @Override
public void fillOctalsByClone(BaseAppenderOctal appender) { public void fillOctalsByClone(BaseAppenderOctal appender) {
T02PartBinary.DEFAULT.BãßVoorElk(v -> getValue(v).fillOctalsByClone(appender)); T02PartBinary.STATIC.BãßVoorElk(v -> getValue(v).fillOctalsByClone(appender));
} }
@Override @Override
@ -78,6 +78,6 @@ public final class V072Tong implements BaseNumberTyte<V072Tong> {
@Override @Override
public void fillTytesByReference(BaseAppenderTyte appender) { public void fillTytesByReference(BaseAppenderTyte appender) {
T02PartBinary.DEFAULT.BãßVoorElk(v -> getValue(v).fillTytesByReference(appender)); T02PartBinary.STATIC.BãßVoorElk(v -> getValue(v).fillTytesByReference(appender));
} }
} }

View file

@ -18,8 +18,8 @@ import love.distributedrebirth.numberxd.base2t.part.T16PartHex;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public final class V144Tocta implements BaseNumberTyte<V144Tocta> { public final class V144Tocta implements BaseNumberTyte<V144Tocta> {
public static int BIT_COUNT = V072Tong.BIT_COUNT * T02PartBinary.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ(); public static int BIT_COUNT = V072Tong.BIT_COUNT * T02PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
private V072Tong[] values = new V072Tong[T02PartBinary.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ()]; private V072Tong[] values = new V072Tong[T02PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()];
public V144Tocta() { public V144Tocta() {
this(new V072Tong(), new V072Tong()); this(new V072Tong(), new V072Tong());
@ -84,7 +84,7 @@ public final class V144Tocta implements BaseNumberTyte<V144Tocta> {
@Override @Override
public void fillOctalsByClone(BaseAppenderOctal appender) { public void fillOctalsByClone(BaseAppenderOctal appender) {
T02PartBinary.DEFAULT.BãßVoorElk(v -> getValue(v).fillOctalsByClone(appender)); T02PartBinary.STATIC.BãßVoorElk(v -> getValue(v).fillOctalsByClone(appender));
} }
@Override @Override
@ -94,6 +94,6 @@ public final class V144Tocta implements BaseNumberTyte<V144Tocta> {
@Override @Override
public void fillTytesByReference(BaseAppenderTyte appender) { public void fillTytesByReference(BaseAppenderTyte appender) {
T02PartBinary.DEFAULT.BãßVoorElk(v -> getValue(v).fillTytesByReference(appender)); T02PartBinary.STATIC.BãßVoorElk(v -> getValue(v).fillTytesByReference(appender));
} }
} }

View file

@ -13,8 +13,8 @@ import love.distributedrebirth.numberxd.base2t.type.V042Traw;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public class V0x000348ˣᴸ implements BaseNumberˣᴸ<V0x000348ˣᴸ> { public class V0x000348ˣᴸ implements BaseNumberˣᴸ<V0x000348ˣᴸ> {
public static int BIT_COUNT = V042Traw.BIT_COUNT * T20PartScore.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ(); public static int BIT_COUNT = V042Traw.BIT_COUNT * T20PartScore.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
private V042Traw[] values = new V042Traw[T20PartScore.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ()]; private V042Traw[] values = new V042Traw[T20PartScore.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()];
public V0x000348ˣᴸ() { public V0x000348ˣᴸ() {
for (int i=0;i<values.length;i++) { for (int i=0;i<values.length;i++) {
@ -48,6 +48,6 @@ public class V0x000348ˣᴸ implements BaseNumberˣᴸ<V0x000348ˣᴸ> {
@Override @Override
public void fillOctalsByClone(BaseAppenderOctal appender) { public void fillOctalsByClone(BaseAppenderOctal appender) {
T20PartScore.DEFAULT.BãßVoorElk(v -> getValue(v).fillOctalsByClone(appender)); T20PartScore.STATIC.BãßVoorElk(v -> getValue(v).fillOctalsByClone(appender));
} }
} }

View file

@ -15,8 +15,8 @@ import love.distributedrebirth.numberxd.base2t.type.V027Temvig;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public class V0x000654ˣᴸ implements BaseNumberTyteˣᴸ<V0x000654ˣᴸ> { public class V0x000654ˣᴸ implements BaseNumberTyteˣᴸ<V0x000654ˣᴸ> {
public static int BIT_COUNT = V027Temvig.BIT_COUNT * T60PartSexagesimal.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ(); public static int BIT_COUNT = V027Temvig.BIT_COUNT * T60PartSexagesimal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
private V027Temvig[] values = new V027Temvig[T60PartSexagesimal.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ()]; private V027Temvig[] values = new V027Temvig[T60PartSexagesimal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()];
public V0x000654ˣᴸ() { public V0x000654ˣᴸ() {
for (int i=0;i<this.values.length;i++) { for (int i=0;i<this.values.length;i++) {
@ -56,7 +56,7 @@ public class V0x000654ˣᴸ implements BaseNumberTyteˣᴸ<V0x000654ˣᴸ> {
@Override @Override
public void fillOctalsByClone(BaseAppenderOctal appender) { public void fillOctalsByClone(BaseAppenderOctal appender) {
T60PartSexagesimal.DEFAULT.BãßVoorElk(v -> getValue(v).fillOctalsByClone(appender)); T60PartSexagesimal.STATIC.BãßVoorElk(v -> getValue(v).fillOctalsByClone(appender));
} }
@Override @Override
@ -66,6 +66,6 @@ public class V0x000654ˣᴸ implements BaseNumberTyteˣᴸ<V0x000654ˣᴸ> {
@Override @Override
public void fillTytesByReference(BaseAppenderTyte appender) { public void fillTytesByReference(BaseAppenderTyte appender) {
T60PartSexagesimal.DEFAULT.BãßVoorElk(v -> getValue(v).fillTytesByReference(appender)); T60PartSexagesimal.STATIC.BãßVoorElk(v -> getValue(v).fillTytesByReference(appender));
} }
} }

View file

@ -14,8 +14,8 @@ import love.distributedrebirth.numberxd.base2t.part.T02PartBinary;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public class V0x000CA8ˣᴸ implements BaseNumberTyteˣᴸ<V0x000CA8ˣᴸ> { public class V0x000CA8ˣᴸ implements BaseNumberTyteˣᴸ<V0x000CA8ˣᴸ> {
public static int BIT_COUNT = V0x000654ˣᴸ.BIT_COUNT * T02PartBinary.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ(); public static int BIT_COUNT = V0x000654ˣᴸ.BIT_COUNT * T02PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
private V0x000654ˣᴸ[] values = new V0x000654ˣᴸ[T02PartBinary.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ()]; private V0x000654ˣᴸ[] values = new V0x000654ˣᴸ[T02PartBinary.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()];
public V0x000CA8ˣᴸ() { public V0x000CA8ˣᴸ() {
this(new V0x000654ˣᴸ(), new V0x000654ˣᴸ()); this(new V0x000654ˣᴸ(), new V0x000654ˣᴸ());
@ -54,7 +54,7 @@ public class V0x000CA8ˣᴸ implements BaseNumberTyteˣᴸ<V0x000CA8ˣᴸ> {
@Override @Override
public void fillOctalsByClone(BaseAppenderOctal appender) { public void fillOctalsByClone(BaseAppenderOctal appender) {
T02PartBinary.DEFAULT.BãßVoorElk(v -> getValue(v).fillOctalsByClone(appender)); T02PartBinary.STATIC.BãßVoorElk(v -> getValue(v).fillOctalsByClone(appender));
} }
@Override @Override
@ -64,6 +64,6 @@ public class V0x000CA8ˣᴸ implements BaseNumberTyteˣᴸ<V0x000CA8ˣᴸ> {
@Override @Override
public void fillTytesByReference(BaseAppenderTyte appender) { public void fillTytesByReference(BaseAppenderTyte appender) {
T02PartBinary.DEFAULT.BãßVoorElk(v -> getValue(v).fillTytesByReference(appender)); T02PartBinary.STATIC.BãßVoorElk(v -> getValue(v).fillTytesByReference(appender));
} }
} }

View file

@ -12,8 +12,8 @@ import love.distributedrebirth.numberxd.base2t.part.T06PartSeximal;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public class V0x0013B0ˣᴸ implements BaseNumberˣᴸ<V0x0013B0ˣᴸ> { public class V0x0013B0ˣᴸ implements BaseNumberˣᴸ<V0x0013B0ˣᴸ> {
public static int BIT_COUNT = V0x000348ˣᴸ.BIT_COUNT * T06PartSeximal.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ(); public static int BIT_COUNT = V0x000348ˣᴸ.BIT_COUNT * T06PartSeximal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ();
private V0x000348ˣᴸ[] values = new V0x000348ˣᴸ[T06PartSeximal.DEFAULT.BãßĦǿɇṽḝę̃ɬḪễïđ()]; private V0x000348ˣᴸ[] values = new V0x000348ˣᴸ[T06PartSeximal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ()];
public V0x0013B0ˣᴸ() { public V0x0013B0ˣᴸ() {
for (int i=0;i<values.length;i++) { for (int i=0;i<values.length;i++) {
@ -47,6 +47,6 @@ public class V0x0013B0ˣᴸ implements BaseNumberˣᴸ<V0x0013B0ˣᴸ> {
@Override @Override
public void fillOctalsByClone(BaseAppenderOctal appender) { public void fillOctalsByClone(BaseAppenderOctal appender) {
T06PartSeximal.DEFAULT.BãßVoorElk(v -> getValue(v).fillOctalsByClone(appender)); T06PartSeximal.STATIC.BãßVoorElk(v -> getValue(v).fillOctalsByClone(appender));
} }
} }

View file

@ -1,5 +1,6 @@
package love.distributedrebirth.numberxd.unicode; package love.distributedrebirth.numberxd.unicode;
import java.math.BigInteger;
import java.text.DecimalFormat; import java.text.DecimalFormat;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
@ -20,13 +21,20 @@ public enum BaseGlyphSet implements DefaultEnumSetᴶᴹˣ<BaseGlyphSet,BaseGlyp
// TODO: Move this into unicode4D and TyyPartXxx // TODO: Move this into unicode4D and TyyPartXxx
LATIN_BASIC( LATIN_BASIC(
new BaseGlyphSetNumber(v -> T10PartDecimal.DEFAULT.BãßVoorElk(x -> v.add(Integer.toString(x.BȍőnRangTelNul())))), new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.BãßVoorElk(x -> v.add(Integer.toString(x.BȍőnRangTelNul())))),
new BaseGlyphSetNumber(v -> T16PartHex.DEFAULT.BãßVoorElk(x -> v.add(x.BȍőnAlt1Value()))), new BaseGlyphSetNumber(v -> T16PartHex.STATIC.BãßVoorElk(x -> v.add(x.BȍőnAlt1Value()))),
new BaseGlyphSetNumber("1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R")), new BaseGlyphSetNumber("1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R")),
LATIN_DTMF( LATIN_DTMF(
new BaseGlyphSetNumber(v -> T10PartDecimal.DEFAULT.BãßVoorElk(x -> v.add(x.BȍőnChinaValue()))).withSeperator(BãßBȍőnConstantsʸᴰ.STR_SPACE), new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.BãßVoorElk(x -> v.add(x.BȍőnChinaValue()))).withSeperator(BãßBȍőnConstantsʸᴰ.STR_SPACE),
new BaseGlyphSetNumber("1","2","3","A","4","5","6","B","7","8","9","C","*","0","#","D"), new BaseGlyphSetNumber("1","2","3","A","4","5","6","B","7","8","9","C","*","0","#","D"),
null), new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.BãßVoorElk(x -> {
if (T10PartDecimal.PART_10 == x) {
v.add("ten");
} else {
v.add(T10PartDecimal.STATIC.BãßInstances()[x.BȍőnRangTelEen()].BȍőnChinaValue()); // 1 to 9
}
}), "twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety",
"one hundred", "two hundred", "three hundred", "four hundred", "five hundred", "six hundred", "seven hundred", "eight hundred", "nine hundred")),
LATIN_TOP( LATIN_TOP(
new BaseGlyphSetNumber("","¹","²","³","","","","","",""), new BaseGlyphSetNumber("","¹","²","³","","","","","",""),
new BaseGlyphSetNumber("","¹","²","³","","","","","","","","","","","",""), new BaseGlyphSetNumber("","¹","²","³","","","","","","","","","","","",""),
@ -45,23 +53,23 @@ public enum BaseGlyphSet implements DefaultEnumSetᴶᴹˣ<BaseGlyphSet,BaseGlyp
null), null),
TONE_SCRIPT( TONE_SCRIPT(
new BaseGlyphSetNumber(v -> T10PartDecimal.DEFAULT.BãßVoorElk(x -> v.add(x.BȍőnDialTone()))), new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.BãßVoorElk(x -> v.add(x.BȍőnDialTone()))),
new BaseGlyphSetNumber(v -> T16PartHex.DEFAULT.BãßVoorElk(x -> v.add(x.BȍőnDialTone()))), new BaseGlyphSetNumber(v -> T16PartHex.STATIC.BãßVoorElk(x -> v.add(x.BȍőnDialTone()))),
new BaseGlyphSetNumber("꜊꜈","꜊꜉","꜊꜋","꜊꜌","꜊꜍","꜊꜎","꜊꜏","꜊꜐","꜊꜑","˧˥","˧˦","˧˨","˧˩","˧꜒","˧꜓","˧꜔","˧꜕","˧꜖","꜏˥","꜏˦","꜏˧","꜏˨","꜏˩","꜏꜍","꜏꜎","꜏꜐","꜏꜑")), new BaseGlyphSetNumber("꜊꜈","꜊꜉","꜊꜋","꜊꜌","꜊꜍","꜊꜎","꜊꜏","꜊꜐","꜊꜑","˧˥","˧˦","˧˨","˧˩","˧꜒","˧꜓","˧꜔","˧꜕","˧꜖","꜏˥","꜏˦","꜏˧","꜏˨","꜏˩","꜏꜍","꜏꜎","꜏꜐","꜏꜑")),
DIPAVALI_LRPATH_TOPHEX( DIPAVALI_LRPATH_TOPHEX(
new BaseGlyphSetNumber(v -> T10PartDecimal.DEFAULT.BãßVoorElk(x -> v.add(x.BȍőnAlt1Value()))), new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.BãßVoorElk(x -> v.add(x.BȍőnAlt1Value()))),
new BaseGlyphSetNumber("˧˥˩","˧˩˥","˧˥˦","˧˩˨","˧˦˦","˧˨˨","˧˥˥","˧˩˩","˥˩˧","˩˥˧","˥˦˧","˩˨˧","˦˦˧","˨˨˧","˥˥˧","˩˩˧").withAltGlyphSet(BaseGlyphSet.LATIN_TOP), new BaseGlyphSetNumber("˧˥˩","˧˩˥","˧˥˦","˧˩˨","˧˦˦","˧˨˨","˧˥˥","˧˩˩","˥˩˧","˩˥˧","˥˦˧","˩˨˧","˦˦˧","˨˨˧","˥˥˧","˩˩˧").withAltGlyphSet(BaseGlyphSet.LATIN_TOP),
TONE_SCRIPT.BȍőnNumber27()), TONE_SCRIPT.BȍőnNumber27()),
DIPAVALI_LRPATH_SUBHEX( DIPAVALI_LRPATH_SUBHEX(
new BaseGlyphSetNumber(v -> T10PartDecimal.DEFAULT.BãßVoorElk(x -> v.add(x.BȍőnAlt1Value()))), new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.BãßVoorElk(x -> v.add(x.BȍőnAlt1Value()))),
new BaseGlyphSetNumber("˧˥˩","˧˩˥","˧˥˦","˧˩˨","˧˦˦","˧˨˨","˧˥˥","˧˩˩","˥˩˧","˩˥˧","˥˦˧","˩˨˧","˦˦˧","˨˨˧","˥˥˧","˩˩˧").withAltGlyphSet(BaseGlyphSet.LATIN_SUB), new BaseGlyphSetNumber("˧˥˩","˧˩˥","˧˥˦","˧˩˨","˧˦˦","˧˨˨","˧˥˥","˧˩˩","˥˩˧","˩˥˧","˥˦˧","˩˨˧","˦˦˧","˨˨˧","˥˥˧","˩˩˧").withAltGlyphSet(BaseGlyphSet.LATIN_SUB),
TONE_SCRIPT.BȍőnNumber27()), TONE_SCRIPT.BȍőnNumber27()),
DIPAVALI_RLPATH_TOPHEX( DIPAVALI_RLPATH_TOPHEX(
new BaseGlyphSetNumber(v -> T10PartDecimal.DEFAULT.BãßVoorElk(x -> v.add(x.BȍőnAlt2Value()))), new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.BãßVoorElk(x -> v.add(x.BȍőnAlt2Value()))),
new BaseGlyphSetNumber("꜔꜒꜖","꜔꜖꜒","꜔꜒꜓","꜔꜖꜕","꜔꜓꜓","꜔꜕꜕","꜔꜒꜒","꜔꜖꜖","꜒꜖꜔","꜖꜒꜔","꜒꜓꜔","꜖꜕꜔","꜓꜓꜔","꜕꜕꜔","꜒꜒꜔","꜖꜖꜔").withAltGlyphSet(BaseGlyphSet.LATIN_TOP), new BaseGlyphSetNumber("꜔꜒꜖","꜔꜖꜒","꜔꜒꜓","꜔꜖꜕","꜔꜓꜓","꜔꜕꜕","꜔꜒꜒","꜔꜖꜖","꜒꜖꜔","꜖꜒꜔","꜒꜓꜔","꜖꜕꜔","꜓꜓꜔","꜕꜕꜔","꜒꜒꜔","꜖꜖꜔").withAltGlyphSet(BaseGlyphSet.LATIN_TOP),
TONE_SCRIPT.BȍőnNumber27()), TONE_SCRIPT.BȍőnNumber27()),
DIPAVALI_RLPATH_SUBHEX( DIPAVALI_RLPATH_SUBHEX(
new BaseGlyphSetNumber(v -> T10PartDecimal.DEFAULT.BãßVoorElk(x -> v.add(x.BȍőnAlt2Value()))), new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.BãßVoorElk(x -> v.add(x.BȍőnAlt2Value()))),
new BaseGlyphSetNumber("꜔꜒꜖","꜔꜖꜒","꜔꜒꜓","꜔꜖꜕","꜔꜓꜓","꜔꜕꜕","꜔꜒꜒","꜔꜖꜖","꜒꜖꜔","꜖꜒꜔","꜒꜓꜔","꜖꜕꜔","꜓꜓꜔","꜕꜕꜔","꜒꜒꜔","꜖꜖꜔").withAltGlyphSet(BaseGlyphSet.LATIN_SUB), new BaseGlyphSetNumber("꜔꜒꜖","꜔꜖꜒","꜔꜒꜓","꜔꜖꜕","꜔꜓꜓","꜔꜕꜕","꜔꜒꜒","꜔꜖꜖","꜒꜖꜔","꜖꜒꜔","꜒꜓꜔","꜖꜕꜔","꜓꜓꜔","꜕꜕꜔","꜒꜒꜔","꜖꜖꜔").withAltGlyphSet(BaseGlyphSet.LATIN_SUB),
TONE_SCRIPT.BȍőnNumber27()), TONE_SCRIPT.BȍőnNumber27()),
@ -96,7 +104,7 @@ public enum BaseGlyphSet implements DefaultEnumSetᴶᴹˣ<BaseGlyphSet,BaseGlyp
new BaseGlyphSetNumber("\ue429","\ue3fa","\ue3fb","\ue3fc","\ue3fd","\ue3fe","\ue3ff","\ue400","\ue401","\ue401").withSeperator(BãßBȍőnConstantsʸᴰ.STR_SPACE), new BaseGlyphSetNumber("\ue429","\ue3fa","\ue3fb","\ue3fc","\ue3fd","\ue3fe","\ue3ff","\ue400","\ue401","\ue401").withSeperator(BãßBȍőnConstantsʸᴰ.STR_SPACE),
new BaseGlyphSetNumber("\uE236","\uE237","\uE238","\uE239","\uE23A","\uE23B","\uE23C","\uE23D","\uE23E","\uE23F","\uE241","\uE243","\uE244","\uE245","\uE246","\uE247"), new BaseGlyphSetNumber("\uE236","\uE237","\uE238","\uE239","\uE23A","\uE23B","\uE23C","\uE23D","\uE23E","\uE23F","\uE241","\uE243","\uE244","\uE245","\uE246","\uE247"),
new BaseGlyphSetNumber( new BaseGlyphSetNumber(
"\ue3fa","\ue3fb","\ue3fc","\ue3fd","\ue3fe","\ue3ff","\ue400","\ue401","\ue401", "\ue3fa","\ue3fb","\ue3fc","\ue3fd","\ue3fe","\ue3ff","\ue400","\ue401","\ue402",
"\ue386","\ue387","\ue388","\ue389","\ue38a","\ue38b","\ue38c","\ue38d","\ue38e", "\ue386","\ue387","\ue388","\ue389","\ue38a","\ue38b","\ue38c","\ue38d","\ue38e",
"\ue362","\ue363","\ue364","\ue365","\ue366","\ue367","\ue368","\ue369","\ue36a").withSeperator(BãßBȍőnConstantsʸᴰ.STR_SPACE) "\ue362","\ue363","\ue364","\ue365","\ue366","\ue367","\ue368","\ue369","\ue36a").withSeperator(BãßBȍőnConstantsʸᴰ.STR_SPACE)
), ),
@ -117,7 +125,7 @@ public enum BaseGlyphSet implements DefaultEnumSetᴶᴹˣ<BaseGlyphSet,BaseGlyp
// TODO: replace Tai Xuan Jing Symbols are "T87PartXuanJing" // TODO: replace Tai Xuan Jing Symbols are "T87PartXuanJing"
new BaseGlyphSetNumber("𝌁","𝌂","𝌃","𝌄","𝌅","𝌆","𝌇","𝌈","𝌉","𝌊","𝌋","𝌌","𝌍","𝌎","𝌏","𝌐","𝌑","𝌒","𝌓","𝌔","𝌕","𝌖","𝌗","𝌘","𝌙","𝌚","𝌛")), new BaseGlyphSetNumber("𝌁","𝌂","𝌃","𝌄","𝌅","𝌆","𝌇","𝌈","𝌉","𝌊","𝌋","𝌌","𝌍","𝌎","𝌏","𝌐","𝌑","𝌒","𝌓","𝌔","𝌕","𝌖","𝌗","𝌘","𝌙","𝌚","𝌛")),
CHINA_FORMAL( CHINA_FORMAL(
new BaseGlyphSetNumber(v -> T10PartDecimal.DEFAULT.BãßVoorElk(x -> v.add(x.BȍőnChinaKey()))), new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.BãßVoorElk(x -> v.add(x.BȍőnChinaKey()))),
null, null,
null), null),
CHINA_FORMAL_OLD( CHINA_FORMAL_OLD(
@ -164,15 +172,15 @@ public enum BaseGlyphSet implements DefaultEnumSetᴶᴹˣ<BaseGlyphSet,BaseGlyp
} }
private BaseGlyphSet(BaseGlyphSetNumber numbers, BaseGlyphSetNumber hex, BaseGlyphSetNumber gematria, Boolean reverseScript) { private BaseGlyphSet(BaseGlyphSetNumber numbers, BaseGlyphSetNumber hex, BaseGlyphSetNumber gematria, Boolean reverseScript) {
BOON_INIT(BBC -> {
BBC.PUT_OBJ(BaseGlyphSetKeyʸᴰ.NUMBERS, numbers); BBC.PUT_OBJ(BaseGlyphSetKeyʸᴰ.NUMBERS, numbers);
BBC.PUT_OBJ(BaseGlyphSetKeyʸᴰ.HEXIMALS, hex); BBC.PUT_OBJ(BaseGlyphSetKeyʸᴰ.HEXIMALS, hex);
BBC.PUT_OBJ(BaseGlyphSetKeyʸᴰ.GEMATRIA, gematria); BBC.PUT_OBJ(BaseGlyphSetKeyʸᴰ.GEMATRIA, gematria);
BBC.PUT_OBJ(BaseGlyphSetKeyʸᴰ.REVERSE_SCRIPT, reverseScript); // TODO: ImGui workaround BBC.PUT_OBJ(BaseGlyphSetKeyʸᴰ.REVERSE_SCRIPT, reverseScript); // TODO: ImGui workaround
BBC.BOON_INIT(this); });
this.BȍőnJmxInit(BaseGlyphSetKeyʸᴰ.JMX); printNumber10Count = BȍőnJmxInitGuageCounter("printNumber10Count");
printNumber10Count = BȍőnJmxInitGuageCounter(BaseGlyphSetKeyʸᴰ.JMX, "printNumber10Count"); printNumber16Count = BȍőnJmxInitGuageCounter("printNumber16Count");
printNumber16Count = BȍőnJmxInitGuageCounter(BaseGlyphSetKeyʸᴰ.JMX, "printNumber16Count"); printNumber27Count = BȍőnJmxInitGuageCounter("printNumber27Count");
printNumber27Count = BȍőnJmxInitGuageCounter(BaseGlyphSetKeyʸᴰ.JMX, "printNumber27Count");
} }
public BaseGlyphSetNumber BȍőnNumber10() { public BaseGlyphSetNumber BȍőnNumber10() {
@ -204,6 +212,24 @@ public enum BaseGlyphSet implements DefaultEnumSetᴶᴹˣ<BaseGlyphSet,BaseGlyp
return buf.toString(); return buf.toString();
} }
public String BȍőnPrintNumber10(BigInteger number) {
String amount10 = number.toString(T10PartDecimal.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ());
StringBuilder buf16 = new StringBuilder();
for (char c:amount10.toCharArray()) {
if (BȍőnNumber10() == null) {
break;
}
int numberDigit = 0;
if (c >= 'a') {
numberDigit = c - 'a' + 10;
} else {
numberDigit = c - '0';
}
buf16.append(BȍőnPrintNumber10(numberDigit));
}
return buf16.toString();
}
public String BȍőnPrintNumber10(int number) { public String BȍőnPrintNumber10(int number) {
return BȍőnPrintNumber10(number, number); return BȍőnPrintNumber10(number, number);
} }
@ -231,6 +257,36 @@ public enum BaseGlyphSet implements DefaultEnumSetᴶᴹˣ<BaseGlyphSet,BaseGlyp
return buf.toString(); return buf.toString();
} }
public String BȍőnPrintNumber16(BigInteger number) {
String amount16 = number.toString(T16PartHex.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ());
StringBuilder buf16 = new StringBuilder();
int c2 = 0;
for (char c:amount16.toCharArray()) {
if (BȍőnNumber16() == null) {
break;
}
int numberDigit = 0;
if (c >= 'a') {
numberDigit = c - 'a' + 10;
} else {
numberDigit = c - '0';
}
if (c2 == 0) {
c2 = numberDigit * 16;
continue;
} else {
c2 = numberDigit + c2;
}
buf16.append(BȍőnPrintNumber16(c2));
c2 = 0;
}
return buf16.toString();
}
public String BȍőnPrintNumber16(int number) {
return BȍőnPrintNumber16(number, number);
}
public String BȍőnPrintNumber16(int number, int numberMax) { public String BȍőnPrintNumber16(int number, int numberMax) {
printNumber16Count.increment(); printNumber16Count.increment();
String maxDigitNumber = Integer.toHexString(numberMax); String maxDigitNumber = Integer.toHexString(numberMax);
@ -265,6 +321,10 @@ public enum BaseGlyphSet implements DefaultEnumSetᴶᴹˣ<BaseGlyphSet,BaseGlyp
return buf.toString(); return buf.toString();
} }
public String BȍőnPrintNumber27(int number) {
return BȍőnPrintNumber27(number, number);
}
public String BȍőnPrintNumber27(int number, int numberMax) { public String BȍőnPrintNumber27(int number, int numberMax) {
printNumber27Count.increment(); printNumber27Count.increment();
String maxDigitNumber = Integer.toString(numberMax, 27); String maxDigitNumber = Integer.toString(numberMax, 27);

View file

@ -6,8 +6,6 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinStoreKeyʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public enum BaseGlyphSetKeyʸᴰ implements BãßBȍőnCoffinStoreKeyʸᴰ { public enum BaseGlyphSetKeyʸᴰ implements BãßBȍőnCoffinStoreKeyʸᴰ {
JMX,
NUMBERS, NUMBERS,
GEMATRIA, GEMATRIA,
HEXIMALS, HEXIMALS,

View file

@ -6,6 +6,7 @@ import java.util.function.Consumer;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.numberxd.base2t.BaseAppender; import love.distributedrebirth.numberxd.base2t.BaseAppender;
import love.distributedrebirth.numberxd.base2t.BaseAppenderAdapter;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public final class BaseGlyphSetNumber { public final class BaseGlyphSetNumber {
@ -87,14 +88,11 @@ public final class BaseGlyphSetNumber {
this.chars.addAll(chars); this.chars.addAll(chars);
} }
public BaseGlyphSetNumber(Consumer<BaseAppender<String>> consumer) { public BaseGlyphSetNumber(Consumer<BaseAppender<String>> consumer, String...charsExtra) {
consumer.accept(new BaseAppender<String>() { consumer.accept(new BaseAppenderAdapter<>(chars));
for (String charExtra:charsExtra) {
@Override this.chars.add(charExtra);
public void add(String value) {
chars.add(value);
} }
});
} }
public BaseGlyphSetNumber withAltGlyphSet(BaseGlyphSet altGlyphSet) { public BaseGlyphSetNumber withAltGlyphSet(BaseGlyphSet altGlyphSet) {

View file

@ -14,8 +14,7 @@ import com.badlogic.gdx.utils.ScreenUtils;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinStoreKeyʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnPackageInfoʸᴰ; import love.distributedrebirth.bassboonyd.BãßBȍőnPackageInfoʸᴰ;
import love.distributedrebirth.bassboonyd.jmx.DefaultEnumInstanceᴶᴹˣ; import love.distributedrebirth.bassboonyd.jmx.DefaultEnumInstanceᴶᴹˣ;
import love.distributedrebirth.bassboonyd.jmx.GuageCounterᴶᴹˣ; import love.distributedrebirth.bassboonyd.jmx.GuageCounterᴶᴹˣ;
@ -25,7 +24,7 @@ import net.spookygames.gdx.nativefilechooser.NativeFileChooser;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天") @BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnClassInfoʸᴰ(name = "GDXAppTos4", purpose = "Main loop render dispatcher and bootup.") @BãßBȍőnClassInfoʸᴰ(name = "GDXAppTos4", purpose = "Main loop render dispatcher and bootup.")
@BãßBȍőnPackageInfoʸᴰ(name = "love.distributedrebirth.gdxapp4d.tos4") @BãßBȍőnPackageInfoʸᴰ(name = "love.distributedrebirth.gdxapp4d.tos4")
public enum GDXAppTos4 implements DefaultEnumInstanceᴶᴹˣ<GDXAppTos4,GDXAppTos4Keyʸᴰ>, ApplicationListener, SystemGdxTerminal { public enum GDXAppTos4 implements DefaultEnumInstanceᴶᴹˣ<GDXAppTos4,BãßBȍőnCoffinStoreKeyʸᴰ.None>, ApplicationListener, SystemGdxTerminal {
INSTANCE; INSTANCE;
@ -34,13 +33,10 @@ public enum GDXAppTos4 implements DefaultEnumInstanceᴶᴹˣ<GDXAppTos4,GDXAppT
private GDXAppTos4Activator systemActivator; private GDXAppTos4Activator systemActivator;
private Map<Class<? extends Screen>,Screen> screens; private Map<Class<? extends Screen>,Screen> screens;
private final GuageCounterᴶᴹˣ selectScreenCounter; private final GuageCounterᴶᴹˣ selectScreenCounter;
private final BãßBȍőnCoffinOpenʸᴰ<GDXAppTos4Keyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
public BãßBȍőnCoffinʸᴰ<GDXAppTos4Keyʸᴰ> GET_BBC() { return BBC; }
private GDXAppTos4() { private GDXAppTos4() {
BBC.BOON_INIT(this); BOON_INIT();
BȍőnJmxInit(GDXAppTos4Keyʸᴰ.JMX); selectScreenCounter = BȍőnJmxInitGuageCounter("selectScreenCounter");
selectScreenCounter = BȍőnJmxInitGuageCounter(GDXAppTos4Keyʸᴰ.JMX, "selectScreenCounter");
} }
public void BãßInit(List<String> args, int viewWidth, int viewHeight, NativeFileChooser fileChooser) { public void BãßInit(List<String> args, int viewWidth, int viewHeight, NativeFileChooser fileChooser) {

View file

@ -1,12 +0,0 @@
package love.distributedrebirth.gdxapp4d.tos4;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinStoreKeyʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public enum GDXAppTos4Keyʸᴰ implements BãßBȍőnCoffinStoreKeyʸᴰ {
JMX,
;
}

View file

@ -1,12 +0,0 @@
package love.distributedrebirth.gdxapp4d.vrgem4;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinStoreKeyʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public enum GDXAppVrGem4Keyʸᴰ implements BãßBȍőnCoffinStoreKeyʸᴰ {
JMX,
;
}