Rename project layout

This commit is contained in:
Willem 2022-02-07 00:24:55 +01:00
parent 9a4498d8c2
commit 1ddfc28a18
192 changed files with 14 additions and 16 deletions

View file

@ -0,0 +1,18 @@
package love.distributedrebirth.numberxd.base2t.part;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
public @interface BãßBȍőnPartAlt1Infoʸᴰ {
String name();
String website();
}

View file

@ -0,0 +1,21 @@
package love.distributedrebirth.numberxd.base2t.part;
import love.distributedrebirth.bassboonyd.BãßBȍőnAnnotationInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnAnnotationInfoʸᴰ(required = {BãßBȍőnPartAlt1Infoʸᴰ.class})
public interface BãßBȍőnPartAlt1ʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> extends BãßBȍőnPartʸᴰ<T> {
default String BȍőnAlt1Value() {
return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE);
}
default String BãßAlt1Name() {
return getClass().getAnnotation(BãßBȍőnPartAlt1Infoʸᴰ.class).name();
}
default String BãßAlt1Website() {
return getClass().getAnnotation(BãßBȍőnPartAlt1Infoʸᴰ.class).website();
}
}

View file

@ -0,0 +1,18 @@
package love.distributedrebirth.numberxd.base2t.part;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
public @interface BãßBȍőnPartAlt2Infoʸᴰ {
String name();
String website();
}

View file

@ -0,0 +1,21 @@
package love.distributedrebirth.numberxd.base2t.part;
import love.distributedrebirth.bassboonyd.BãßBȍőnAnnotationInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnAnnotationInfoʸᴰ(required = {BãßBȍőnPartAlt2Infoʸᴰ.class})
public interface BãßBȍőnPartAlt2ʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> extends BãßBȍőnPartAlt1ʸᴰ<T> {
default String BȍőnAlt2Value() {
return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.ALT_2_VALUE);
}
default String BãßAlt2Name() {
return getClass().getAnnotation(BãßBȍőnPartAlt2Infoʸᴰ.class).name();
}
default String BãßAlt2Website() {
return getClass().getAnnotation(BãßBȍőnPartAlt2Infoʸᴰ.class).website();
}
}

View file

@ -0,0 +1,18 @@
package love.distributedrebirth.numberxd.base2t.part;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
public @interface BãßBȍőnPartAlt3Infoʸᴰ {
String name();
String website();
}

View file

@ -0,0 +1,21 @@
package love.distributedrebirth.numberxd.base2t.part;
import love.distributedrebirth.bassboonyd.BãßBȍőnAnnotationInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnAnnotationInfoʸᴰ(required = {BãßBȍőnPartAlt3Infoʸᴰ.class})
public interface BãßBȍőnPartAlt3ʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> extends BãßBȍőnPartAlt2ʸᴰ<T> {
default String BȍőnAlt3Value() {
return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.ALT_3_VALUE);
}
default String BãßAlt3Name() {
return getClass().getAnnotation(BãßBȍőnPartAlt3Infoʸᴰ.class).name();
}
default String BãßAlt3Website() {
return getClass().getAnnotation(BãßBȍőnPartAlt3Infoʸᴰ.class).website();
}
}

View file

@ -0,0 +1,18 @@
package love.distributedrebirth.numberxd.base2t.part;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
public @interface BãßBȍőnPartAlt4Infoʸᴰ {
String name();
String website();
}

View file

@ -0,0 +1,21 @@
package love.distributedrebirth.numberxd.base2t.part;
import love.distributedrebirth.bassboonyd.BãßBȍőnAnnotationInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnAnnotationInfoʸᴰ(required = {BãßBȍőnPartAlt4Infoʸᴰ.class})
public interface BãßBȍőnPartAlt4ʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> extends BãßBȍőnPartAlt3ʸᴰ<T> {
default String BȍőnAlt4Value() {
return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.ALT_4_VALUE);
}
default String BãßAlt4Name() {
return getClass().getAnnotation(BãßBȍőnPartAlt4Infoʸᴰ.class).name();
}
default String BãßAlt4Website() {
return getClass().getAnnotation(BãßBȍőnPartAlt4Infoʸᴰ.class).website();
}
}

View file

@ -0,0 +1,22 @@
package love.distributedrebirth.numberxd.base2t.part;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinStoreKeyʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public enum BãßBȍőnPartKeyʸᴰ implements BãßBȍőnCoffinStoreKeyʸᴰ {
DIAL_TONE,
CHINA_KEY,
CHINA_VALUE,
SHIFT_BITS,
MAP_TONE,
MAP_CHINA,
ALT_1_VALUE,
ALT_2_VALUE,
ALT_3_VALUE,
ALT_4_VALUE,
;
}

View file

@ -0,0 +1,11 @@
package love.distributedrebirth.numberxd.base2t.part;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public interface BãßBȍőnPartShiftBitsʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> extends BãßBȍőnPartʸᴰ<T> {
default Integer getShiftBits() {
return GET_BBC().GET_INT(BãßBȍőnPartKeyʸᴰ.SHIFT_BITS);
}
}

View file

@ -0,0 +1,67 @@
package love.distributedrebirth.numberxd.base2t.part;
import java.util.Map;
import java.util.stream.Collectors;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinStoreʸᴰ;
import love.distributedrebirth.bassboonyd.DefaultEnumSetʸᴰ;
import love.distributedrebirth.numberxd.glyph.BaseGlyphSet;
import love.distributedrebirth.bassboonyd.BãßBȍőnInitMethodʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public interface BãßBȍőnPartʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> extends DefaultEnumSetʸᴰ<T>, BãßBȍőnCoffinStoreʸᴰ<BãßBȍőnPartKeyʸᴰ> {
@BãßBȍőnInitMethodʸᴰ
default void initMapTone(BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC) {
BBC.PUT_MAP(BãßBȍőnPartKeyʸᴰ.MAP_TONE);
}
@BãßBȍőnInitMethodʸᴰ
default void initMapChina(BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC) {
BBC.PUT_MAP(BãßBȍőnPartKeyʸᴰ.MAP_CHINA);
}
default String BȍőnDialTone() {
return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.DIAL_TONE);
}
default String BȍőnChinaKey() {
return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.CHINA_KEY);
}
default String BȍőnChinaValue() {
return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE);
}
@SuppressWarnings("unchecked")
default T BãßValueOfDialTone(String identifierTone) {
Map<String,Object> mapTone = GET_BBC().GET_MAP_OBJ(BãßBȍőnPartKeyʸᴰ.MAP_TONE);
if (mapTone.isEmpty()) {
mapTone.putAll(BãßInstancesStream().collect(Collectors.toMap(v -> v.BȍőnDialTone(), v -> v)));
}
return (T) mapTone.get(identifierTone);
}
@SuppressWarnings("unchecked")
default T BãßValueOfChinaKey(String chinaKey) {
Map<String,Object> mapChina = GET_BBC().GET_MAP_OBJ(BãßBȍőnPartKeyʸᴰ.MAP_CHINA);
if (mapChina.isEmpty()) {
mapChina.putAll(BãßInstancesStream().collect(Collectors.toMap(v -> v.BȍőnChinaKey(), v -> v)));
}
return (T) mapChina.get(chinaKey);
}
default String BȍőnPrintGlyphSetNumber10(BaseGlyphSet glyphSet) {
return glyphSet.BȍőnPrintGlyphSetNumber10(BȍőnRangTelNul(), BãßInstances().length);
}
default String BȍőnPrintGlyphSetNumber16(BaseGlyphSet glyphSet) {
return glyphSet.BȍőnPrintGlyphSetNumber16(BȍőnRangTelNul(), BãßInstances().length);
}
default String BȍőnPrintGlyphSetNumber36(BaseGlyphSet glyphSet) {
return glyphSet.BȍőnPrintGlyphSetNumber36(BȍőnRangTelNul(), BãßInstances().length);
}
}

View file

@ -0,0 +1,26 @@
package love.distributedrebirth.numberxd.base2t.part;
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ʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnClassInfoʸᴰ(name = "T02PartBinary", purpose = "The distribution by 2 (low/high).")
public enum T02PartBinary implements BãßBȍőnPartʸᴰ<T02PartBinary> {
PART_1("˧", "", "low"),
PART_2("", "", "high"),
;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public static int LENGTH() { return values().length; };
private T02PartBinary(String dialTone, String chinaKey, String chinaValue) {
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_VALUE, chinaValue);
BBC.BOON_INIT(this);
}
}

View file

@ -0,0 +1,27 @@
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ȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnClassInfoʸᴰ(name = "T03PartTrit", purpose = "The distribution by 3 (number123).")
public enum T03PartTrit implements BãßBȍőnPartʸᴰ<T03PartTrit> {
PART_1("˦","","1"),
PART_2("˧","","2"),
PART_3("˨","","3"),
;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public static int LENGTH() { return values().length; };
private T03PartTrit(String dialTone, String chinaKey, String chinaValue) {
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_VALUE, chinaValue);
BBC.BOON_INIT(this);
}
}

View file

@ -0,0 +1,34 @@
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ȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnClassInfoʸᴰ(name = "T04PartQuad", purpose = "The distribution by 4 (directions).")
@BãßBȍőnPartAlt1Infoʸᴰ(name = "Cardinal direction", website = "https://simple.wikipedia.org/wiki/Cardinal_direction")
public enum T04PartQuad implements BãßBȍőnPartAlt1ʸᴰ<T04PartQuad> {
PART_1("˥","","north","N"),
PART_2("","","east", "E"),
PART_3("","西","west", "W"),
PART_4("˩","","south","S"),
;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public static int LENGTH() { return values().length; };
private T04PartQuad(String dialTone, String chinaKey, String chinaValue, String alt1Value) {
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_VALUE, chinaValue);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value);
BBC.BOON_INIT(this);
}
public T02PartBinary splitPartBinary(T02PartBinary part) {
return T02PartBinary.values()[(ordinal() >> part.ordinal()) & 1];
}
}

View file

@ -0,0 +1,33 @@
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ȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnClassInfoʸᴰ(name = "T05PartPental", purpose = "The distribution by 5 (wuxing).")
@BãßBȍőnPartAlt1Infoʸᴰ(name = "Pentagram", website = "https://en.wikipedia.org/wiki/Pentagram")
@BãßBȍőnPartAlt2Infoʸᴰ(name = "Pythagorean Interpretations", website = "http://wisdomofhypatia.com/OM/BA/PP.html")
public enum T05PartPental implements BãßBȍőnPartAlt2ʸᴰ<T05PartPental> {
PART_1("˥","","fire", "EI","heile"),
PART_2("˦","","water","U", "hudor"),
PART_3("˧","","wood" ,"I", "idea"),
PART_4("˨","","gold", "A", "aer"),
PART_5("˩","","earth","G", "gaia"),
;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public static int LENGTH() { return values().length; };
private T05PartPental(String dialTone, String chinaKey, String chinaValue, String alt1Value, String alt2Value) {
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_VALUE, chinaValue);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_2_VALUE, alt2Value);
BBC.BOON_INIT(this);
}
}

View file

@ -0,0 +1,40 @@
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ȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnClassInfoʸᴰ(name = "T06PartSeximal", purpose = "The distribution by 6 (numbers4/9).")
@BãßBȍőnPartAlt1Infoʸᴰ(name = "ADFGVX cipher", website = "https://en.wikipedia.org/wiki/ADFGVX_cipher")
public enum T06PartSeximal implements BãßBȍőnPartAlt1ʸᴰ<T06PartSeximal> {
PART_1("˦","","4","A"),
PART_2("˨","","5","D"),
PART_3("","","6","F"),
PART_4("","","7","G"),
PART_5("","","8","V"),
PART_6("","","9","X"),
;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public static int LENGTH() { return values().length; };
private T06PartSeximal(String dialTone, String chinaKey, String chinaValue, String alt1Value) {
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_VALUE, chinaValue);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value);
BBC.BOON_INIT(this);
}
public T02PartBinary splitPartBinary() {
return T02PartBinary.values()[ordinal() & 1];
}
public T03PartTrit splitPartTrit() {
return T03PartTrit.values()[ordinal() >> 1];
}
}

View file

@ -0,0 +1,33 @@
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ȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnClassInfoʸᴰ(name = "T07PartPlanIt", purpose = "The distribution by 7 (planets).")
@BãßBȍőnPartAlt1Infoʸᴰ(name = "Fallen sign", website = "https://en.wikipedia.org/wiki/Classical_planet#Western_astrology")
public enum T07PartPlanIt implements BãßBȍőnPartAlt1ʸᴰ<T07PartPlanIt> {
PART_1("˥","♎︎","libra", "天秤座"),
PART_2("","♏︎","scorpio", "天蠍座"),
PART_3("","♓︎","pisces", "雙魚座"),
PART_4("","♍︎","virgo", "處女座"),
PART_5("","♋︎","cancer", "癌症"),
PART_6("","♑︎","capricorn","摩羯座"),
PART_7("˩","♈︎","aries", "白羊座"),
;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public static int LENGTH() { return values().length; };
private T07PartPlanIt(String dialTone, String chinaKey, String chinaValue, String alt1Value) {
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_VALUE, chinaValue);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value);
BBC.BOON_INIT(this);
}
}

View file

@ -0,0 +1,47 @@
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ȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnClassInfoʸᴰ(name = "T08PartOctal", purpose = "The distribution by 8 (human part).")
public enum T08PartOctal implements BãßBȍőnPartʸᴰ<T08PartOctal>,BãßBȍőnPartShiftBitsʸᴰ<T08PartOctal> {
PART_1("˥","","heart",0),
PART_2("˩","","head", 3),
PART_3("","","eye", 6),
PART_4("","","mouth",9),
PART_5("","","arm", 12),
PART_6("","","hand", 15),
PART_7("","","leg", 18),
PART_8("","","feet", 21),
;
public static int BIT_COUNT = 3;
private static final byte BITMASK = 0x07;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public static int LENGTH() { return values().length; };
private T08PartOctal(String dialTone, String chinaKey, String chinaValue, int shiftBits) {
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_VALUE, chinaValue);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.SHIFT_BITS, Integer.valueOf(shiftBits));
BBC.BOON_INIT(this);
}
public static T08PartOctal indexOf(T08PartOctal group, int value) {
return T08PartOctal.values()[(value >> group.getShiftBits()) & BITMASK];
}
public T02PartBinary splitPartBinary(T03PartTrit part) {
return T02PartBinary.values()[(ordinal() >> part.ordinal()) & 1];
}
public int ordinalOf(T08PartOctal group) {
return ordinal() << group.getShiftBits();
}
}

View file

@ -0,0 +1,33 @@
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ȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnClassInfoʸᴰ(name = "T09PartNonary", purpose = "The distribution by 9 (colors).")
public enum T09PartNonary implements BãßBȍőnPartʸᴰ<T09PartNonary> {
PART_1 ("˦","","blue"),
PART_2 ("˨","","white"),
PART_3 ("","","red"),
PART_4 ("","","orange"),
PART_5 ("","","green"),
PART_6 ("","","yellow"),
PART_7 ("","","brown"),
PART_8 ("","","black"),
PART_9 ("","","purple"),
;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public static int LENGTH() { return values().length; };
private T09PartNonary(String dialTone, String chinaKey, String chinaValue) {
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_VALUE, chinaValue);
BBC.BOON_INIT(this);
}
}

View file

@ -0,0 +1,38 @@
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ȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnClassInfoʸᴰ(name = "T10PartDecimal", purpose = "The distribution by 10 (finance numbers).")
@BãßBȍőnPartAlt1Infoʸᴰ(name = "Tone Letter LR", website = "https://en.wikipedia.org/wiki/Tone_letter")
@BãßBȍőnPartAlt2Infoʸᴰ(name = "Tone Letter RL", website = "https://en.wikipedia.org/wiki/Tone_letter")
public enum T10PartDecimal implements BãßBȍőnPartAlt2ʸᴰ<T10PartDecimal> {
PART_1 ("˥","","zero", "˥",""),
PART_2 ("˦","","one", "˦",""),
PART_3 ("˧","","two", "˧",""),
PART_4 ("˨","","three","˨",""),
PART_5 ("˩","","four", "˩",""),
PART_6 ("","","five", "",""),
PART_7 ("","","six", "",""),
PART_8 ("","","seven","",""),
PART_9 ("","","eight","",""),
PART_10("","","nine", "",""),
;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public static int LENGTH() { return values().length; };
private T10PartDecimal(String dialTone, String chinaKey, String chinaValue, String alt1Value, String alt2Value) {
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_VALUE, chinaValue);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_2_VALUE, alt2Value);
BBC.BOON_INIT(this);
}
}

View file

@ -0,0 +1,37 @@
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ȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnClassInfoʸᴰ(name = "T11PartUndecimal", purpose = "The distribution by 11 (human activity).")
@BãßBȍőnPartAlt1Infoʸᴰ(name = "Tamil numerals", website = "https://en.wikipedia.org/wiki/Tamil_numerals")
public enum T11PartUndecimal implements BãßBȍőnPartAlt1ʸᴰ<T11PartUndecimal> {
PART_1 ("˥","","walk", ""),
PART_2 ("","","run", ""),
PART_3 ("","","sit", ""),
PART_4 ("","","hang", ""),
PART_5 ("","","lay", ""),
PART_6 ("","","jump", ""),
PART_7 ("","","drop", ""),
PART_8 ("","","lonely",""),
PART_9 ("","","talk", ""),
PART_10("","","life", ""),
PART_11("˩","","mate", ""),
;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public static int LENGTH() { return values().length; };
private T11PartUndecimal(String dialTone, String chinaKey, String chinaValue, String alt1Value) {
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_VALUE, chinaValue);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value);
BBC.BOON_INIT(this);
}
}

View file

@ -0,0 +1,38 @@
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ȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnClassInfoʸᴰ(name = "T12PartUncial", purpose = "The distribution by 12 (emperor).")
@BãßBȍőnPartAlt1Infoʸᴰ(name = "Transdecimal symbols", website = "https://en.wikipedia.org/wiki/Duodecimal#Transdecimal_symbols")
public enum T12PartUncial implements BãßBȍőnPartAlt1ʸᴰ<T12PartUncial> {
PART_1 ("˥","","sun", "0"),
PART_2 ("˧","","moon", "1"),
PART_3 ("˩","","star", "2"),
PART_4 ("","","mountain","3"),
PART_5 ("","","dragon", "4"),
PART_6 ("","","phoenix", "5"),
PART_7 ("","","cup", "6"),
PART_8 ("","","pondweed","7"),
PART_9 ("","","furnace", "8"),
PART_10("","","seed", "9"),
PART_11("","","axe", "\u218a"), // TURNED DIGIT TWO
PART_12("","","nozero", "\u218b"), // TURNED DIGIT THREE
;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public static int LENGTH() { return values().length; };
private T12PartUncial(String dialTone, String chinaKey, String chinaValue, String alt1Value) {
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_VALUE, chinaValue);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value);
BBC.BOON_INIT(this);
}
}

View file

@ -0,0 +1,46 @@
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ȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnClassInfoʸᴰ(name = "T16PartHex", purpose = "The distribution by 16 (elements).")
@BãßBȍőnPartAlt1Infoʸᴰ(name = "Hexadecimal", website = "https://en.wikipedia.org/wiki/Hexadecimal")
public enum T16PartHex implements BãßBȍőnPartAlt1ʸᴰ<T16PartHex> {
PART_1 ("˥","","hydrogen", "0"),
PART_2 ("˦","","helium", "1"),
PART_3 ("˨","","lithium", "2"),
PART_4 ("˩","","beryllium", "3"),
PART_5 ("","","boron", "4"),
PART_6 ("","","carbon", "5"),
PART_7 ("","","nitrogen", "6"),
PART_8 ("","","oxygen", "7"),
PART_9 ("","","fluorine", "8"),
PART_10("","","neon", "9"),
PART_11("","","sodium", "A"),
PART_12("","","magnesium", "B"),
PART_13("","","aluminium", "C"),
PART_14("","","silicon", "D"),
PART_15("","","phosphorus","E"),
PART_16("","","sulfur", "F"),
;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public static int LENGTH() { return values().length; };
private T16PartHex(String dialTone, String chinaKey, String chinaValue, String alt1Value) {
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_VALUE, chinaValue);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE, alt1Value);
BBC.BOON_INIT(this);
}
public T02PartBinary splitPartBinary(T04PartQuad part) {
return T02PartBinary.values()[(ordinal() >> part.ordinal()) & 1];
}
}

View file

@ -0,0 +1,64 @@
package love.distributedrebirth.numberxd.base2t.part;
import java.util.Arrays;
import java.util.Collections;
import java.util.Map;
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ȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnClassInfoʸᴰ(name = "T20PartScore", purpose = "The distribution by 20 (SI prefixes).")
@BãßBȍőnPartAlt1Infoʸᴰ(name = "SI-Unit Types", website = "https://en.wikipedia.org/wiki/Metric_prefix")
@BãßBȍőnPartAlt2Infoʸᴰ(name = "Vigesimal", website = "https://en.wikipedia.org/wiki/Vigesimal#Places")
@BãßBȍőnPartAlt3Infoʸᴰ(name = "Vigesimal Alternative", website = "https://en.wikipedia.org/wiki/Vigesimal#Places")
@BãßBȍőnPartAlt4Infoʸᴰ(name = "Open Location Code", website = "https://en.wikipedia.org/wiki/Open_Location_Code")
public enum T20PartScore implements BãßBȍőnPartAlt4ʸᴰ<T20PartScore> {
PART_1 ("˥", "", "yotta", "Y", "0", "0", "2"),
PART_2 ("˦", "", "zetta", "Z", "1", "1", "3"),
PART_3 ("˧", "", "exa", "E", "2", "2", "4"),
PART_4 ("˨", "", "peta", "P", "3", "3", "5"),
PART_5 ("˩", "", "tera", "T", "4", "4", "6"),
PART_6 ("", "", "giga", "G", "5", "5", "7"),
PART_7 ("", "", "mega", "M", "6", "6", "8"),
PART_8 ("", "", "kilo", "k", "7", "7", "9"),
PART_9 ("", "", "hecto", "h", "8", "8", "C"),
PART_10("", "", "deca", "da","9", "9", "F"),
PART_11("", "", "deci", "d", "A", "A", "G"),
PART_12("", "", "centi", "c", "B", "B", "H"),
PART_13("", "", "milli", "m", "C", "C", "J"),
PART_14("", "", "micro", "µ", "D", "D", "M"),
PART_15("", "", "nano", "n", "E", "E", "P"),
PART_16("", "", "pico", "p", "F", "F", "Q"),
PART_17("", "", "femto", "f", "G", "G", "R"),
PART_18("", "", "atto", "a", "H", "H", "V"),
PART_19("", "", "zepto", "z", "I", "J", "W"),
PART_20("", "", "yocto", "y", "J", "K", "X"),
;
private static final Map<String, T20PartScore> OPENLC_MAP = Collections.unmodifiableMap(
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 BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public static int LENGTH() { return values().length; };
private T20PartScore(String dialTone, String chinaKey, String chinaValue,
String alt1Value, String alt2Value, String alt3Value, String alt4Value) {
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_VALUE, chinaValue);
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_3_VALUE, alt3Value);
BBC.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.ALT_4_VALUE, alt4Value);
BBC.BOON_INIT(this);
}
public T20PartScore BãßValueOfOpenLC(String openLCKey) {
return OPENLC_MAP.get(openLCKey);
}
}

View file

@ -0,0 +1,84 @@
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ȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnClassInfoʸᴰ(name = "T60Sexagesimal", purpose = "The distribution by 60 (human food).")
public enum T60PartSexagesimal implements BãßBȍőnPartʸᴰ<T60PartSexagesimal> {
PART_1 ("˥˥","","cow"),
PART_2 ("˥˦","","chicken"),
PART_3 ("˥˧","","sheep"),
PART_4 ("˥˨","","wolf"),
PART_5 ("˥˩","","rat"),
PART_6 ("˥꜒","","cat"),
PART_7 ("˥꜓","","rabbit"),
PART_8 ("˥꜔","","ape"),
PART_9 ("˥꜕","","snake"),
PART_10("˥꜖","","horse"),
PART_11("˦˥","","elepant"),
PART_12("˦˦","","leopard"),
PART_13("˦˧","","crow"),
PART_14("˦˨","","pig"),
PART_15("˦˩","","dog"),
PART_16("˦꜒","","fish"),
PART_17("˦꜓","","shrimp"),
PART_18("˦꜔","","whale"),
PART_19("˦꜕","","bear"),
PART_20("˦꜖","鹿","deer"),
PART_21("˧˥","","donkey"),
PART_22("˧˦","","tapir"),
PART_23("˧˧","","bird"),
PART_24("˧˨","","crane"),
PART_25("˧˩","","eagle"),
PART_26("˧꜒","","falcon"),
PART_27("˧꜓","","goose"),
PART_28("˧꜔","","salamander"),
PART_29("˧꜕","","turtle"),
PART_30("˧꜖","","centipede"),
PART_31("˨˥","","fly"),
PART_32("˨˦","","scorpion"),
PART_33("˨˧","","worm"),
PART_34("˨˨","","tiger"),
PART_35("˨˩","","camel"),
PART_36("˨꜒","","monkey"),
PART_37("˨꜓","","shark"),
PART_38("˨꜔","","duck"),
PART_39("˨꜕","","mustard"),
PART_40("˨꜖","","salt"),
PART_41("˩˥","","pepper"),
PART_42("˩˦","","ginger"),
PART_43("˩˧","","corn"),
PART_44("˩˨","","beans"),
PART_45("˩˩","","pomelos"),
PART_46("˩꜒","","jujube"),
PART_47("˩꜓","","melon"),
PART_48("˩꜔","","grape"),
PART_49("˩꜕","","plum"),
PART_50("˩꜖","","lime"),
PART_51("꜒˥","","pear"),
PART_52("꜒˦","","banana"),
PART_53("꜒˧","","lemon"),
PART_54("꜒˨","","persimmon"),
PART_55("꜒˩","","cake"),
PART_56("꜒꜒","","peach"),
PART_57("꜒꜓","","apricot"),
PART_58("꜒꜔","","strawberry"),
PART_59("꜒꜕","","patato"),
PART_60("꜒꜖","","apple"),
;
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
public static int LENGTH() { return values().length; };
private T60PartSexagesimal(String dialTone, String chinaKey, String chinaValue) {
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_VALUE, chinaValue);
BBC.BOON_INIT(this);
}
}

View file

@ -0,0 +1,101 @@
package love.distributedrebirth.numberxd.base2t.part.warp;
import java.util.HashMap;
import java.util.Map;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnClassInfoʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpenʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinʸᴰ;
import love.distributedrebirth.bassboonyd.BãßBȍőnPackageInfoʸᴰ;
import love.distributedrebirth.bassboonyd.jmx.BooleanAttributeᴶᴹˣ;
import love.distributedrebirth.bassboonyd.jmx.MBeanStoreKeyᴶᴹˣ;
import love.distributedrebirth.bassboonyd.jmx.DefaultEnumInstanceᴶᴹˣ;
import love.distributedrebirth.bassboonyd.jmx.GuageCounterᴶᴹˣ;
import love.distributedrebirth.bassboonyd.jmx.StringAttributeᴶᴹˣ;
import love.distributedrebirth.numberxd.base2t.BasePartFactory;
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartKeyʸᴰ;
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPartʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
@BãßBȍőnClassInfoʸᴰ(name = "TOSWarpCore", purpose = "The warpcore writer and armor manager.")
@BãßBȍőnPackageInfoʸᴰ(name = "love.distributedrebirth.numberxd")
public enum TOSWarpCore implements DefaultEnumInstanceᴶᴹˣ<TOSWarpCore,MBeanStoreKeyᴶᴹˣ> {
INSTANCE;
private final BooleanAttributeᴶᴹˣ armedWarpCipherLock;
private final StringAttributeᴶᴹˣ armedWarpWaterName;
private final StringAttributeᴶᴹˣ armedWarpWaterDesc;
private final GuageCounterᴶᴹˣ warpCoreReads;
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 TOSWarpCore() {
BBC.BOON_INIT(this);
BȍőnJmxInit(MBeanStoreKeyᴶᴹˣ.JMX);
warpCoreReads = BȍőnJmxInitGuageCounter(MBeanStoreKeyᴶᴹˣ.JMX, "warpCoreReads", "The amount of warpcore reads.");
warpCoreWrites = BȍőnJmxInitGuageCounter(MBeanStoreKeyᴶᴹˣ.JMX, "warpCoreWrites", "The amount of warpcore writes.");
armedWarpWaterName = BȍőnJmxInitStringAttribute(MBeanStoreKeyᴶᴹˣ.JMX, "armedWarpWaterName", "The armed water cipher name.");
armedWarpWaterName.setValueString("default");
armedWarpWaterDesc = BȍőnJmxInitStringAttribute(MBeanStoreKeyᴶᴹˣ.JMX, "armedWarpWaterDesc", "The armed water cipher description.");
armedWarpWaterDesc.setValueString("Current active cipher.");
armedWarpCipherLock = BȍőnJmxInitBooleanAttribute(MBeanStoreKeyᴶᴹˣ.JMX, "armedWarpCipherLock", "Is the water cipher locked.");
armedWarpCipherLock.setValueBoolean(false);
}
public void BãßLockWarpCipher() {
armedWarpCipherLock.setValueBoolean(true);
for (int base:BasePartFactory.INSTANCE.BãßBases()) {
for (BãßBȍőnPartʸᴰ<?> part:BasePartFactory.INSTANCE.BãßBuildPartsByBase(base)) {
BãßBȍőnCoffinOpenʸᴰ.class.cast(part.GET_BBC()).LOCK_COFFIN();
}
}
}
public WaterBucket BãßCurrentWarpCore() {
warpCoreReads.increment();
WaterCipher warpCipher = new WaterCipher();
warpCipher.setName(armedWarpWaterName.getValueString());
warpCipher.setDescription(armedWarpWaterDesc.getValueString());
for (int base:BasePartFactory.INSTANCE.BãßBases()) {
WaterCipherHeart heart = new WaterCipherHeart();
BãßBȍőnPartʸᴰ<?>[] bases = BasePartFactory.INSTANCE.BãßBuildPartsByBase(base);
heart.setBass(bases[0].BãßInstances().length);
for (BãßBȍőnPartʸᴰ<?> part:bases) {
WaterCipherHeartTone tone = new WaterCipherHeartTone();
tone.setPart(part.BȍőnNaam());
tone.setDialTone(part.BȍőnDialTone());
tone.setChinaKey(part.BȍőnChinaKey());
tone.setChinaValue(part.BȍőnChinaValue());
heart.addHeartTone(tone);
}
warpCipher.getCipherHearts().add(heart);
}
WaterBucket bucket = new WaterBucket();
bucket.fillWater(warpCipher);
return bucket;
}
public void BãßArmWarpCore(WaterBucket warpBucket) {
warpCoreWrites.increment();
armedWarpWaterName.setValueString(warpBucket.theWater().getName());
armedWarpWaterDesc.setValueString(warpBucket.theWater().getDescription());
for (WaterCipherHeart heart:warpBucket.theWater().getCipherHearts()) {
BãßBȍőnPartʸᴰ<?>[] bases = BasePartFactory.INSTANCE.BãßBuildPartsByBase(heart.getBass());
Map<String, BãßBȍőnPartʸᴰ<?>> baseParts = new HashMap<>();
for (BãßBȍőnPartʸᴰ<?> base:bases) {
baseParts.put(base.BȍőnNaam(), base);
}
for (WaterCipherHeartTone tone:heart.getHeartTones()) {
BãßBȍőnPartʸᴰ<?> bassTone = baseParts.get(tone.getPart());
@SuppressWarnings("unchecked")
BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> coffin = BãßBȍőnCoffinOpenʸᴰ.class.cast(bassTone.GET_BBC());
coffin.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.DIAL_TONE, tone.getDialTone());
coffin.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_KEY, tone.getChinaKey());
coffin.PUT_OBJ(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE, tone.getChinaValue());
}
}
}
}

View file

@ -0,0 +1,27 @@
package love.distributedrebirth.numberxd.base2t.part.warp;
import org.x4o.xml.X4ODriver;
import org.x4o.xml.X4ODriverManager;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class TOSWarpCoreDriver extends X4ODriver<WaterBucket> {
static final public String LANGUAGE_NAME = "warpcore";
static final public String[] LANGUAGE_VERSIONS = new String[]{X4ODriver.DEFAULT_LANGUAGE_VERSION};
@Override
public String getLanguageName() {
return LANGUAGE_NAME;
}
@Override
public String[] getLanguageVersions() {
return LANGUAGE_VERSIONS;
}
static public TOSWarpCoreDriver newInstance() {
return (TOSWarpCoreDriver)X4ODriverManager.getX4ODriver(LANGUAGE_NAME);
}
}

View file

@ -0,0 +1,17 @@
package love.distributedrebirth.numberxd.base2t.part.warp;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class WaterBucket {
private WaterCipher water;
public WaterCipher theWater() {
return water;
}
public void fillWater(WaterCipher water) {
this.water = water;
}
}

View file

@ -0,0 +1,46 @@
package love.distributedrebirth.numberxd.base2t.part.warp;
import java.util.ArrayList;
import java.util.List;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class WaterCipher {
private String name;
private String description;
private List<WaterCipherHeart> cipherHearts;
public WaterCipher() {
cipherHearts = new ArrayList<>();
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public List<WaterCipherHeart> getCipherHearts() {
return cipherHearts;
}
public void addCipherHeart(WaterCipherHeart cipherHeart) {
this.cipherHearts.add(cipherHeart);
}
public void setCipherHearts(List<WaterCipherHeart> cipherHearts) {
this.cipherHearts = cipherHearts;
}
}

View file

@ -0,0 +1,37 @@
package love.distributedrebirth.numberxd.base2t.part.warp;
import java.util.ArrayList;
import java.util.List;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class WaterCipherHeart {
private Integer bass;
private List<WaterCipherHeartTone> heartTones;
public WaterCipherHeart() {
heartTones = new ArrayList<>();
}
public Integer getBass() {
return bass;
}
public void setBass(Integer bass) {
this.bass = bass;
}
public List<WaterCipherHeartTone> getHeartTones() {
return heartTones;
}
public void addHeartTone(WaterCipherHeartTone heartTone) {
heartTones.add(heartTone);
}
public void setHeartTones(List<WaterCipherHeartTone> heartTones) {
this.heartTones = heartTones;
}
}

View file

@ -0,0 +1,47 @@
package love.distributedrebirth.numberxd.base2t.part.warp;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class WaterCipherHeartTone {
private String part;
private String dialTone;
private String chinaKey;
private String chinaValue;
public WaterCipherHeartTone() {
}
public String getPart() {
return part;
}
public void setPart(String part) {
this.part = part;
}
public String getDialTone() {
return dialTone;
}
public void setDialTone(String dialTone) {
this.dialTone = dialTone;
}
public String getChinaKey() {
return chinaKey;
}
public void setChinaKey(String chinaKey) {
this.chinaKey = chinaKey;
}
public String getChinaValue() {
return chinaValue;
}
public void setChinaValue(String chinaValue) {
this.chinaValue = chinaValue;
}
}