Added BãßBȍőnCoffinOpen
This commit is contained in:
parent
645a10ef4c
commit
2ae7e1f0a7
|
@ -1,17 +0,0 @@
|
||||||
package love.distributedrebirth.bassboonyd;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Inject Enum methods.
|
|
||||||
*
|
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
|
||||||
*/
|
|
||||||
public interface BaßBȍőnEnumʸᴰ<T> {
|
|
||||||
|
|
||||||
int ordinal();
|
|
||||||
|
|
||||||
String name();
|
|
||||||
|
|
||||||
default String naam() {
|
|
||||||
return name(); // Deutsche code
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -0,0 +1,71 @@
|
||||||
|
package love.distributedrebirth.bassboonyd;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
public interface BãßBȍőnCoffin<T extends BãßBȍőnStoreKeyʸᴰ> {
|
||||||
|
|
||||||
|
Object GET_OBJ(T key);
|
||||||
|
|
||||||
|
default String GET_STR(T key) {
|
||||||
|
return String.class.cast(GET_OBJ(key));
|
||||||
|
}
|
||||||
|
|
||||||
|
default Short GET_SHORT(T key) {
|
||||||
|
return Short.class.cast(GET_OBJ(key));
|
||||||
|
}
|
||||||
|
|
||||||
|
default Character GET_CHAR(T key) {
|
||||||
|
return Character.class.cast(GET_OBJ(key));
|
||||||
|
}
|
||||||
|
|
||||||
|
default Integer GET_INT(T key) {
|
||||||
|
return Integer.class.cast(GET_OBJ(key));
|
||||||
|
}
|
||||||
|
|
||||||
|
default Long GET_LONG(T key) {
|
||||||
|
return Long.class.cast(GET_OBJ(key));
|
||||||
|
}
|
||||||
|
|
||||||
|
default Boolean GET_BOOL(T key) {
|
||||||
|
return Boolean.class.cast(GET_OBJ(key));
|
||||||
|
}
|
||||||
|
|
||||||
|
default Float GET_FLOAT(T key) {
|
||||||
|
return Float.class.cast(GET_OBJ(key));
|
||||||
|
}
|
||||||
|
|
||||||
|
default Double GET_DOUBLE(T key) {
|
||||||
|
return Double.class.cast(GET_OBJ(key));
|
||||||
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("unchecked")
|
||||||
|
default Map<String,Object> GET_MAP_OBJ(T key) {
|
||||||
|
return Map.class.cast(GET_OBJ(key));
|
||||||
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("unchecked")
|
||||||
|
default Map<String,String> GET_MAP_STR(T key) {
|
||||||
|
return Map.class.cast(GET_OBJ(key));
|
||||||
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("unchecked")
|
||||||
|
default Map<String,Integer> GET_MAP_INT(T key) {
|
||||||
|
return Map.class.cast(GET_OBJ(key));
|
||||||
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("unchecked")
|
||||||
|
default List<Object> GET_LIST_OBJ(T key) {
|
||||||
|
return List.class.cast(GET_OBJ(key));
|
||||||
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("unchecked")
|
||||||
|
default List<String> GET_LIST_STR(T key) {
|
||||||
|
return List.class.cast(GET_OBJ(key));
|
||||||
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("unchecked")
|
||||||
|
default List<Integer> GET_LIST_INT(T key) {
|
||||||
|
return List.class.cast(GET_OBJ(key));
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,33 @@
|
||||||
|
package love.distributedrebirth.bassboonyd;
|
||||||
|
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
public interface BãßBȍőnCoffinOpen<T extends BãßBȍőnStoreKeyʸᴰ> extends BãßBȍőnCoffin<T> {
|
||||||
|
|
||||||
|
Object PUT_OBJ(T key, Object value);
|
||||||
|
|
||||||
|
default void PUT_MAP(T key) {
|
||||||
|
PUT_OBJ(key, new HashMap<>());
|
||||||
|
}
|
||||||
|
|
||||||
|
default void PUT_LIST(T key) {
|
||||||
|
PUT_OBJ(key, new HashMap<>());
|
||||||
|
}
|
||||||
|
|
||||||
|
static <Y extends BãßBȍőnStoreKeyʸᴰ> BãßBȍőnCoffinOpen<Y> newInstance() {
|
||||||
|
return new BãßBȍőnCoffinOpen<Y>() {
|
||||||
|
final Map<Y,Object> initMap = new HashMap<>();
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Object GET_OBJ(Y key) {
|
||||||
|
return initMap.get(key);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Object PUT_OBJ(Y key, Object value) {
|
||||||
|
return initMap.put(key, value);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
package love.distributedrebirth.bassboonyd;
|
||||||
|
|
||||||
|
public class BãßBȍőnConstants {
|
||||||
|
|
||||||
|
public static final String STR_VALUES = "values";
|
||||||
|
|
||||||
|
public static final String STR_DOT = ".";
|
||||||
|
}
|
|
@ -11,12 +11,22 @@ import java.util.stream.Stream;
|
||||||
*
|
*
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
*/
|
*/
|
||||||
public interface BaßBȍőnEnumSetʸᴰ<T> extends BaßBȍőnEnumʸᴰ<T> {
|
public interface BãßBȍőnEnumSetʸᴰ<T> extends BãßBȍőnEnumʸᴰ<T> {
|
||||||
|
|
||||||
|
int ordinal();
|
||||||
|
|
||||||
|
default int dingRangTelNul() {
|
||||||
|
return ordinal();
|
||||||
|
}
|
||||||
|
|
||||||
|
default int dingRangTelEen() {
|
||||||
|
return ordinal() + 1;
|
||||||
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
default T[] staticInstances() {
|
default T[] staticInstances() {
|
||||||
try {
|
try {
|
||||||
Object result = getClass().getMethod("values").invoke(null);
|
Object result = getClass().getMethod(BãßBȍőnConstants.STR_VALUES).invoke(null);
|
||||||
return (T[]) result;
|
return (T[]) result;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
|
@ -0,0 +1,23 @@
|
||||||
|
package love.distributedrebirth.bassboonyd;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Inject Enum methods.
|
||||||
|
*
|
||||||
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
|
*/
|
||||||
|
public interface BãßBȍőnEnumʸᴰ<T> {
|
||||||
|
|
||||||
|
String name();
|
||||||
|
|
||||||
|
default String BȍőnNaam() {
|
||||||
|
return name();
|
||||||
|
}
|
||||||
|
|
||||||
|
default String BȍőnNaamI18N() {
|
||||||
|
return BãßNaam() + BãßBȍőnConstants.STR_DOT + name();
|
||||||
|
}
|
||||||
|
|
||||||
|
default String BãßNaam() {
|
||||||
|
return getClass().getAnnotation(BãßBȍőnNaamʸᴰ.class).value();
|
||||||
|
}
|
||||||
|
}
|
|
@ -12,7 +12,7 @@ import java.lang.annotation.Target;
|
||||||
*/
|
*/
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
@Target({ElementType.TYPE})
|
@Target({ElementType.TYPE})
|
||||||
public @interface BaßBȍőnNaamʸᴰ {
|
public @interface BãßBȍőnNaamʸᴰ {
|
||||||
|
|
||||||
String value();
|
String value();
|
||||||
}
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
package love.distributedrebirth.bassboonyd;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
|
*/
|
||||||
|
public interface BãßBȍőnStore<T extends BãßBȍőnStoreKeyʸᴰ> {
|
||||||
|
|
||||||
|
BãßBȍőnCoffin<T> GET_BBC();
|
||||||
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
package love.distributedrebirth.bassboonyd;
|
||||||
|
|
||||||
|
public interface BãßBȍőnStoreKeyʸᴰ {
|
||||||
|
|
||||||
|
String name();
|
||||||
|
}
|
|
@ -1,8 +1,9 @@
|
||||||
package love.distributedrebirth.numberxd.base2t;
|
package love.distributedrebirth.numberxd.base2t;
|
||||||
|
|
||||||
import love.distributedrebirth.bassboonyd.BaßBȍőnNaamʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffin;
|
||||||
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpen;
|
||||||
|
import love.distributedrebirth.bassboonyd.BãßBȍőnNaamʸᴰ;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBone;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBone;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneCoffin;
|
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -10,23 +11,23 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
*
|
*
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
*/
|
*/
|
||||||
@BaßBȍőnNaamʸᴰ("T02PartBinary")
|
@BãßBȍőnNaamʸᴰ("T02PartBinary")
|
||||||
public enum T02PartBinary implements BassBone<T02PartBinary> {
|
public enum T02PartBinary implements BassBone<T02PartBinary> {
|
||||||
|
|
||||||
PART_1("˧","0", "低", "low"),
|
PART_1("˧","0", "低", "low"),
|
||||||
PART_2("꜔","1", "高", "high"),
|
PART_2("꜔","1", "高", "high"),
|
||||||
;
|
;
|
||||||
|
|
||||||
public BassBoneCoffin GET_BBC() { return bbc; }
|
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBCO = BãßBȍőnCoffinOpen.newInstance();
|
||||||
|
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBCO; }
|
||||||
public static int LENGTH() { return values().length; };
|
public static int LENGTH() { return values().length; };
|
||||||
private final BassBoneCoffin bbc = BassBoneCoffin.newInstance();
|
|
||||||
|
|
||||||
private T02PartBinary(String idTone, String idLetter, String chinaKey, String chinaValue) {
|
private T02PartBinary(String idTone, String idLetter, String chinaKey, String chinaValue) {
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ID_TONE, idTone);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ID_LETTER, idLetter);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||||
GET_BBC().GET_MAP_OBJ(BassBoneStoreKey.MAP_TONE);
|
BBCO.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||||
GET_BBC().GET_MAP_OBJ(BassBoneStoreKey.MAP_CHINA);
|
BBCO.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
package love.distributedrebirth.numberxd.base2t;
|
package love.distributedrebirth.numberxd.base2t;
|
||||||
|
|
||||||
import love.distributedrebirth.bassboonyd.BaßBȍőnNaamʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffin;
|
||||||
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpen;
|
||||||
|
import love.distributedrebirth.bassboonyd.BãßBȍőnNaamʸᴰ;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBone;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBone;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneCoffin;
|
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -10,7 +11,7 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
*
|
*
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
*/
|
*/
|
||||||
@BaßBȍőnNaamʸᴰ("T03PartTrit")
|
@BãßBȍőnNaamʸᴰ("T03PartTrit")
|
||||||
public enum T03PartTrit implements BassBone<T03PartTrit> {
|
public enum T03PartTrit implements BassBone<T03PartTrit> {
|
||||||
|
|
||||||
PART_1("˦","0","一","1"),
|
PART_1("˦","0","一","1"),
|
||||||
|
@ -18,16 +19,16 @@ public enum T03PartTrit implements BassBone<T03PartTrit> {
|
||||||
PART_3("˨","2","三","3"),
|
PART_3("˨","2","三","3"),
|
||||||
;
|
;
|
||||||
|
|
||||||
public BassBoneCoffin GET_BBC() { return bbc; }
|
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBCO = BãßBȍőnCoffinOpen.newInstance();
|
||||||
|
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBCO; }
|
||||||
public static int LENGTH() { return values().length; };
|
public static int LENGTH() { return values().length; };
|
||||||
private final BassBoneCoffin bbc = BassBoneCoffin.newInstance();
|
|
||||||
|
|
||||||
private T03PartTrit(String idTone, String idLetter, String chinaKey, String chinaValue) {
|
private T03PartTrit(String idTone, String idLetter, String chinaKey, String chinaValue) {
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ID_TONE, idTone);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ID_LETTER, idLetter);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||||
GET_BBC().GET_MAP_OBJ(BassBoneStoreKey.MAP_TONE);
|
BBCO.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||||
GET_BBC().GET_MAP_OBJ(BassBoneStoreKey.MAP_CHINA);
|
BBCO.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
package love.distributedrebirth.numberxd.base2t;
|
package love.distributedrebirth.numberxd.base2t;
|
||||||
|
|
||||||
import love.distributedrebirth.bassboonyd.BaßBȍőnNaamʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffin;
|
||||||
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpen;
|
||||||
|
import love.distributedrebirth.bassboonyd.BãßBȍőnNaamʸᴰ;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneCoffin;
|
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -11,7 +12,7 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
*
|
*
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
*/
|
*/
|
||||||
@BaßBȍőnNaamʸᴰ("T04PartQuad")
|
@BãßBȍőnNaamʸᴰ("T04PartQuad")
|
||||||
@BassBoneAlt1Info(name="Cardinal direction", website="https://simple.wikipedia.org/wiki/Cardinal_direction")
|
@BassBoneAlt1Info(name="Cardinal direction", website="https://simple.wikipedia.org/wiki/Cardinal_direction")
|
||||||
public enum T04PartQuad implements BassBoneAlt1<T04PartQuad> {
|
public enum T04PartQuad implements BassBoneAlt1<T04PartQuad> {
|
||||||
|
|
||||||
|
@ -21,18 +22,18 @@ public enum T04PartQuad implements BassBoneAlt1<T04PartQuad> {
|
||||||
PART_4("˩","3","南","south","S"),
|
PART_4("˩","3","南","south","S"),
|
||||||
;
|
;
|
||||||
|
|
||||||
public BassBoneCoffin GET_BBC() { return bbc; }
|
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBCO = BãßBȍőnCoffinOpen.newInstance();
|
||||||
|
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBCO; }
|
||||||
public static int LENGTH() { return values().length; };
|
public static int LENGTH() { return values().length; };
|
||||||
private final BassBoneCoffin bbc = BassBoneCoffin.newInstance();
|
|
||||||
|
|
||||||
private T04PartQuad(String idTone, String idLetter, String chinaKey, String chinaValue, String alt1Value) {
|
private T04PartQuad(String idTone, String idLetter, String chinaKey, String chinaValue, String alt1Value) {
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ID_TONE, idTone);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ID_LETTER, idLetter);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
||||||
GET_BBC().GET_MAP_OBJ(BassBoneStoreKey.MAP_TONE);
|
BBCO.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||||
GET_BBC().GET_MAP_OBJ(BassBoneStoreKey.MAP_CHINA);
|
BBCO.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||||
}
|
}
|
||||||
|
|
||||||
public T02PartBinary splitPartBinary(T02PartBinary part) {
|
public T02PartBinary splitPartBinary(T02PartBinary part) {
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
package love.distributedrebirth.numberxd.base2t;
|
package love.distributedrebirth.numberxd.base2t;
|
||||||
|
|
||||||
import love.distributedrebirth.bassboonyd.BaßBȍőnNaamʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffin;
|
||||||
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpen;
|
||||||
|
import love.distributedrebirth.bassboonyd.BãßBȍőnNaamʸᴰ;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt2;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt2;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt2Info;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt2Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneCoffin;
|
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -12,7 +13,7 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
*
|
*
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
*/
|
*/
|
||||||
@BaßBȍőnNaamʸᴰ("T05PartPental")
|
@BãßBȍőnNaamʸᴰ("T05PartPental")
|
||||||
@BassBoneAlt1Info(name="Pentagram", website="https://en.wikipedia.org/wiki/Pentagram")
|
@BassBoneAlt1Info(name="Pentagram", website="https://en.wikipedia.org/wiki/Pentagram")
|
||||||
@BassBoneAlt2Info(name="Pythagorean Interpretations", website="http://wisdomofhypatia.com/OM/BA/PP.html")
|
@BassBoneAlt2Info(name="Pythagorean Interpretations", website="http://wisdomofhypatia.com/OM/BA/PP.html")
|
||||||
public enum T05PartPental implements BassBoneAlt2<T05PartPental> {
|
public enum T05PartPental implements BassBoneAlt2<T05PartPental> {
|
||||||
|
@ -24,18 +25,18 @@ public enum T05PartPental implements BassBoneAlt2<T05PartPental> {
|
||||||
PART_5("˩","4","土","earth","G", "gaia"),
|
PART_5("˩","4","土","earth","G", "gaia"),
|
||||||
;
|
;
|
||||||
|
|
||||||
public BassBoneCoffin GET_BBC() { return bbc; }
|
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBCO = BãßBȍőnCoffinOpen.newInstance();
|
||||||
|
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBCO; }
|
||||||
public static int LENGTH() { return values().length; };
|
public static int LENGTH() { return values().length; };
|
||||||
private final BassBoneCoffin bbc = BassBoneCoffin.newInstance();
|
|
||||||
|
|
||||||
private T05PartPental(String idTone, String idLetter, String chinaKey, String chinaValue, String alt1Value, String alt2Value) {
|
private T05PartPental(String idTone, String idLetter, String chinaKey, String chinaValue, String alt1Value, String alt2Value) {
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ID_TONE, idTone);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ID_LETTER, idLetter);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ALT_2_VALUE, alt2Value);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_2_VALUE, alt2Value);
|
||||||
GET_BBC().GET_MAP_OBJ(BassBoneStoreKey.MAP_TONE);
|
BBCO.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||||
GET_BBC().GET_MAP_OBJ(BassBoneStoreKey.MAP_CHINA);
|
BBCO.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
package love.distributedrebirth.numberxd.base2t;
|
package love.distributedrebirth.numberxd.base2t;
|
||||||
|
|
||||||
import love.distributedrebirth.bassboonyd.BaßBȍőnNaamʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffin;
|
||||||
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpen;
|
||||||
|
import love.distributedrebirth.bassboonyd.BãßBȍőnNaamʸᴰ;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneCoffin;
|
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -13,7 +14,7 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
*
|
*
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
*/
|
*/
|
||||||
@BaßBȍőnNaamʸᴰ("T06PartSeximal")
|
@BãßBȍőnNaamʸᴰ("T06PartSeximal")
|
||||||
@BassBoneAlt1Info(name="ADFGVX cipher", website="https://en.wikipedia.org/wiki/ADFGVX_cipher")
|
@BassBoneAlt1Info(name="ADFGVX cipher", website="https://en.wikipedia.org/wiki/ADFGVX_cipher")
|
||||||
public enum T06PartSeximal implements BassBoneAlt1<T06PartSeximal> {
|
public enum T06PartSeximal implements BassBoneAlt1<T06PartSeximal> {
|
||||||
|
|
||||||
|
@ -25,18 +26,18 @@ public enum T06PartSeximal implements BassBoneAlt1<T06PartSeximal> {
|
||||||
PART_6("꜏","5","九","9","X"),
|
PART_6("꜏","5","九","9","X"),
|
||||||
;
|
;
|
||||||
|
|
||||||
public BassBoneCoffin GET_BBC() { return bbc; }
|
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBCO = BãßBȍőnCoffinOpen.newInstance();
|
||||||
|
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBCO; }
|
||||||
public static int LENGTH() { return values().length; };
|
public static int LENGTH() { return values().length; };
|
||||||
private final BassBoneCoffin bbc = BassBoneCoffin.newInstance();
|
|
||||||
|
|
||||||
private T06PartSeximal(String idTone, String idLetter, String chinaKey, String chinaValue, String alt1Value) {
|
private T06PartSeximal(String idTone, String idLetter, String chinaKey, String chinaValue, String alt1Value) {
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ID_TONE, idTone);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ID_LETTER, idLetter);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
||||||
GET_BBC().GET_MAP_OBJ(BassBoneStoreKey.MAP_TONE);
|
BBCO.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||||
GET_BBC().GET_MAP_OBJ(BassBoneStoreKey.MAP_CHINA);
|
BBCO.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||||
}
|
}
|
||||||
|
|
||||||
public T02PartBinary splitPartBinary() {
|
public T02PartBinary splitPartBinary() {
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
package love.distributedrebirth.numberxd.base2t;
|
package love.distributedrebirth.numberxd.base2t;
|
||||||
|
|
||||||
import love.distributedrebirth.bassboonyd.BaßBȍőnNaamʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffin;
|
||||||
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpen;
|
||||||
|
import love.distributedrebirth.bassboonyd.BãßBȍőnNaamʸᴰ;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneCoffin;
|
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -11,7 +12,7 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
*
|
*
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
*/
|
*/
|
||||||
@BaßBȍőnNaamʸᴰ("T07PartPlanIt")
|
@BãßBȍőnNaamʸᴰ("T07PartPlanIt")
|
||||||
@BassBoneAlt1Info(name="Fallen sign", website="https://en.wikipedia.org/wiki/Classical_planet#Western_astrology")
|
@BassBoneAlt1Info(name="Fallen sign", website="https://en.wikipedia.org/wiki/Classical_planet#Western_astrology")
|
||||||
public enum T07PartPlanIt implements BassBoneAlt1<T07PartPlanIt> {
|
public enum T07PartPlanIt implements BassBoneAlt1<T07PartPlanIt> {
|
||||||
|
|
||||||
|
@ -24,17 +25,17 @@ public enum T07PartPlanIt implements BassBoneAlt1<T07PartPlanIt> {
|
||||||
PART_7("˩","7","♈︎","aries", "白羊座"),
|
PART_7("˩","7","♈︎","aries", "白羊座"),
|
||||||
;
|
;
|
||||||
|
|
||||||
public BassBoneCoffin GET_BBC() { return bbc; }
|
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBCO = BãßBȍőnCoffinOpen.newInstance();
|
||||||
|
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBCO; }
|
||||||
public static int LENGTH() { return values().length; };
|
public static int LENGTH() { return values().length; };
|
||||||
private final BassBoneCoffin bbc = BassBoneCoffin.newInstance();
|
|
||||||
|
|
||||||
private T07PartPlanIt(String idTone, String idLetter, String chinaKey, String chinaValue, String alt1Value) {
|
private T07PartPlanIt(String idTone, String idLetter, String chinaKey, String chinaValue, String alt1Value) {
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ID_TONE, idTone);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ID_LETTER, idLetter);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
||||||
GET_BBC().GET_MAP_OBJ(BassBoneStoreKey.MAP_TONE);
|
BBCO.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||||
GET_BBC().GET_MAP_OBJ(BassBoneStoreKey.MAP_CHINA);
|
BBCO.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
package love.distributedrebirth.numberxd.base2t;
|
package love.distributedrebirth.numberxd.base2t;
|
||||||
|
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneShiftBits;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneShiftBits;
|
||||||
import love.distributedrebirth.bassboonyd.BaßBȍőnNaamʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffin;
|
||||||
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpen;
|
||||||
|
import love.distributedrebirth.bassboonyd.BãßBȍőnNaamʸᴰ;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt2;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt2;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt2Info;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt2Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneCoffin;
|
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -13,7 +14,7 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
*
|
*
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
*/
|
*/
|
||||||
@BaßBȍőnNaamʸᴰ("T08PartOctal")
|
@BãßBȍőnNaamʸᴰ("T08PartOctal")
|
||||||
@BassBoneAlt1Info(name="Absolute Tone Sequence", website="https://en.wikipedia.org/wiki/Tone_letter")
|
@BassBoneAlt1Info(name="Absolute Tone Sequence", website="https://en.wikipedia.org/wiki/Tone_letter")
|
||||||
@BassBoneAlt2Info(name="Relative Tone Sequence", website="https://en.wikipedia.org/wiki/Tone_letter")
|
@BassBoneAlt2Info(name="Relative Tone Sequence", website="https://en.wikipedia.org/wiki/Tone_letter")
|
||||||
public enum T08PartOctal implements BassBoneAlt2<T08PartOctal>,BassBoneShiftBits<T08PartOctal> {
|
public enum T08PartOctal implements BassBoneAlt2<T08PartOctal>,BassBoneShiftBits<T08PartOctal> {
|
||||||
|
@ -28,22 +29,22 @@ public enum T08PartOctal implements BassBoneAlt2<T08PartOctal>,BassBoneShiftBits
|
||||||
PART_8("꜑","7","腳","feet", "˧˩˩","˩˩˧", 21),
|
PART_8("꜑","7","腳","feet", "˧˩˩","˩˩˧", 21),
|
||||||
;
|
;
|
||||||
|
|
||||||
public BassBoneCoffin GET_BBC() { return bbc; }
|
|
||||||
public static int LENGTH() { return values().length; };
|
|
||||||
public static int BIT_COUNT = 3;
|
public static int BIT_COUNT = 3;
|
||||||
private static final byte BITMASK = 0x07;
|
private static final byte BITMASK = 0x07;
|
||||||
private final BassBoneCoffin bbc = BassBoneCoffin.newInstance();
|
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBCO = BãßBȍőnCoffinOpen.newInstance();
|
||||||
|
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBCO; }
|
||||||
|
public static int LENGTH() { return values().length; };
|
||||||
|
|
||||||
private T08PartOctal(String identifierTone, String identifierLetter, String chinaKey, String chinaValue, String alt1Value, String alt2Value, int shiftBits) {
|
private T08PartOctal(String identifierTone, String identifierLetter, String chinaKey, String chinaValue, String alt1Value, String alt2Value, int shiftBits) {
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ID_TONE, identifierTone);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ID_TONE, identifierTone);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ID_LETTER, identifierLetter);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ID_LETTER, identifierLetter);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.SHIFT_BITS, Integer.valueOf(shiftBits));
|
BBCO.PUT_OBJ(BassBoneStoreKey.SHIFT_BITS, Integer.valueOf(shiftBits));
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ALT_2_VALUE, alt2Value);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_2_VALUE, alt2Value);
|
||||||
GET_BBC().GET_MAP_OBJ(BassBoneStoreKey.MAP_TONE);
|
BBCO.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||||
GET_BBC().GET_MAP_OBJ(BassBoneStoreKey.MAP_CHINA);
|
BBCO.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static T08PartOctal indexOf(T08PartOctal group, int value) {
|
public static T08PartOctal indexOf(T08PartOctal group, int value) {
|
||||||
|
|
|
@ -1,12 +1,13 @@
|
||||||
package love.distributedrebirth.numberxd.base2t;
|
package love.distributedrebirth.numberxd.base2t;
|
||||||
|
|
||||||
import love.distributedrebirth.bassboonyd.BaßBȍőnNaamʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffin;
|
||||||
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpen;
|
||||||
|
import love.distributedrebirth.bassboonyd.BãßBȍőnNaamʸᴰ;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt2Info;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt2Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt3Info;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt3Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt4;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt4;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt4Info;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt4Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneCoffin;
|
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -14,7 +15,7 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
*
|
*
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
*/
|
*/
|
||||||
@BaßBȍőnNaamʸᴰ("T10PartDecimal")
|
@BãßBȍőnNaamʸᴰ("T10PartDecimal")
|
||||||
@BassBoneAlt1Info(name="Korean numerals", website="https://en.wikipedia.org/wiki/Korean_numerals")
|
@BassBoneAlt1Info(name="Korean numerals", website="https://en.wikipedia.org/wiki/Korean_numerals")
|
||||||
@BassBoneAlt2Info(name="Burmese numerals", website="https://en.wikipedia.org/wiki/Burmese_numerals")
|
@BassBoneAlt2Info(name="Burmese numerals", website="https://en.wikipedia.org/wiki/Burmese_numerals")
|
||||||
@BassBoneAlt3Info(name="Bengali numerals", website="https://en.wikipedia.org/wiki/Bengali_numerals")
|
@BassBoneAlt3Info(name="Bengali numerals", website="https://en.wikipedia.org/wiki/Bengali_numerals")
|
||||||
|
@ -33,21 +34,21 @@ public enum T10PartDecimal implements BassBoneAlt4<T10PartDecimal> {
|
||||||
PART_10("꜖","θ","玖","nine", "구","\u1049","৯","෯"),
|
PART_10("꜖","θ","玖","nine", "구","\u1049","৯","෯"),
|
||||||
;
|
;
|
||||||
|
|
||||||
public BassBoneCoffin GET_BBC() { return bbc; }
|
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBCO = BãßBȍőnCoffinOpen.newInstance();
|
||||||
|
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBCO; }
|
||||||
public static int LENGTH() { return values().length; };
|
public static int LENGTH() { return values().length; };
|
||||||
private final BassBoneCoffin bbc = BassBoneCoffin.newInstance();
|
|
||||||
|
|
||||||
private T10PartDecimal(String idTone, String idLetter, String chinaKey, String chinaValue,
|
private T10PartDecimal(String idTone, String idLetter, String chinaKey, String chinaValue,
|
||||||
String alt1Value, String alt2Value, String alt3Value, String alt4Value) {
|
String alt1Value, String alt2Value, String alt3Value, String alt4Value) {
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ID_TONE, idTone);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ID_LETTER, idLetter);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ALT_2_VALUE, alt2Value);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_2_VALUE, alt2Value);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ALT_3_VALUE, alt3Value);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_3_VALUE, alt3Value);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ALT_4_VALUE, alt4Value);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_4_VALUE, alt4Value);
|
||||||
GET_BBC().GET_MAP_OBJ(BassBoneStoreKey.MAP_TONE);
|
BBCO.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||||
GET_BBC().GET_MAP_OBJ(BassBoneStoreKey.MAP_CHINA);
|
BBCO.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
package love.distributedrebirth.numberxd.base2t;
|
package love.distributedrebirth.numberxd.base2t;
|
||||||
|
|
||||||
import love.distributedrebirth.bassboonyd.BaßBȍőnNaamʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffin;
|
||||||
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpen;
|
||||||
|
import love.distributedrebirth.bassboonyd.BãßBȍőnNaamʸᴰ;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneCoffin;
|
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -11,7 +12,7 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
*
|
*
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
*/
|
*/
|
||||||
@BaßBȍőnNaamʸᴰ("T11PartUndecimal")
|
@BãßBȍőnNaamʸᴰ("T11PartUndecimal")
|
||||||
@BassBoneAlt1Info(name="Tamil numerals", website="https://en.wikipedia.org/wiki/Tamil_numerals")
|
@BassBoneAlt1Info(name="Tamil numerals", website="https://en.wikipedia.org/wiki/Tamil_numerals")
|
||||||
public enum T11PartUndecimal implements BassBoneAlt1<T11PartUndecimal> {
|
public enum T11PartUndecimal implements BassBoneAlt1<T11PartUndecimal> {
|
||||||
|
|
||||||
|
@ -28,17 +29,17 @@ public enum T11PartUndecimal implements BassBoneAlt1<T11PartUndecimal> {
|
||||||
PART_11("˩","=","耦","mate", "௰"),
|
PART_11("˩","=","耦","mate", "௰"),
|
||||||
;
|
;
|
||||||
|
|
||||||
public BassBoneCoffin GET_BBC() { return bbc; }
|
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBCO = BãßBȍőnCoffinOpen.newInstance();
|
||||||
|
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBCO; }
|
||||||
public static int LENGTH() { return values().length; };
|
public static int LENGTH() { return values().length; };
|
||||||
private final BassBoneCoffin bbc = BassBoneCoffin.newInstance();
|
|
||||||
|
|
||||||
private T11PartUndecimal(String idTone, String idLetter, String chinaKey, String chinaValue, String alt1Value) {
|
private T11PartUndecimal(String idTone, String idLetter, String chinaKey, String chinaValue, String alt1Value) {
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ID_TONE, idTone);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ID_LETTER, idLetter);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
||||||
GET_BBC().GET_MAP_OBJ(BassBoneStoreKey.MAP_TONE);
|
BBCO.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||||
GET_BBC().GET_MAP_OBJ(BassBoneStoreKey.MAP_CHINA);
|
BBCO.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
package love.distributedrebirth.numberxd.base2t;
|
package love.distributedrebirth.numberxd.base2t;
|
||||||
|
|
||||||
import love.distributedrebirth.bassboonyd.BaßBȍőnNaamʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffin;
|
||||||
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpen;
|
||||||
|
import love.distributedrebirth.bassboonyd.BãßBȍőnNaamʸᴰ;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneCoffin;
|
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -11,7 +12,7 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
*
|
*
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
*/
|
*/
|
||||||
@BaßBȍőnNaamʸᴰ("T12PartUncial")
|
@BãßBȍőnNaamʸᴰ("T12PartUncial")
|
||||||
@BassBoneAlt1Info(name="Transdecimal symbols", website="https://en.wikipedia.org/wiki/Duodecimal#Transdecimal_symbols")
|
@BassBoneAlt1Info(name="Transdecimal symbols", website="https://en.wikipedia.org/wiki/Duodecimal#Transdecimal_symbols")
|
||||||
public enum T12PartUncial implements BassBoneAlt1<T12PartUncial> {
|
public enum T12PartUncial implements BassBoneAlt1<T12PartUncial> {
|
||||||
|
|
||||||
|
@ -29,17 +30,17 @@ public enum T12PartUncial implements BassBoneAlt1<T12PartUncial> {
|
||||||
PART_12("꜑","B","亞","nozero", "\u218b"), // TURNED DIGIT THREE
|
PART_12("꜑","B","亞","nozero", "\u218b"), // TURNED DIGIT THREE
|
||||||
;
|
;
|
||||||
|
|
||||||
public BassBoneCoffin GET_BBC() { return bbc; }
|
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBCO = BãßBȍőnCoffinOpen.newInstance();
|
||||||
|
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBCO; }
|
||||||
public static int LENGTH() { return values().length; };
|
public static int LENGTH() { return values().length; };
|
||||||
private final BassBoneCoffin bbc = BassBoneCoffin.newInstance();
|
|
||||||
|
|
||||||
private T12PartUncial(String idTone, String idLetter, String chinaKey, String chinaValue, String alt1Value) {
|
private T12PartUncial(String idTone, String idLetter, String chinaKey, String chinaValue, String alt1Value) {
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ID_TONE, idTone);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ID_LETTER, idLetter);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
||||||
GET_BBC().GET_MAP_OBJ(BassBoneStoreKey.MAP_TONE);
|
BBCO.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||||
GET_BBC().GET_MAP_OBJ(BassBoneStoreKey.MAP_CHINA);
|
BBCO.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
package love.distributedrebirth.numberxd.base2t;
|
package love.distributedrebirth.numberxd.base2t;
|
||||||
|
|
||||||
import love.distributedrebirth.bassboonyd.BaßBȍőnNaamʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffin;
|
||||||
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpen;
|
||||||
|
import love.distributedrebirth.bassboonyd.BãßBȍőnNaamʸᴰ;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneCoffin;
|
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -11,7 +12,7 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
*
|
*
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
*/
|
*/
|
||||||
@BaßBȍőnNaamʸᴰ("T16PartHex")
|
@BãßBȍőnNaamʸᴰ("T16PartHex")
|
||||||
@BassBoneAlt1Info(name="Dual-tone multi-frequency signaling", website="https://en.wikipedia.org/wiki/Dual-tone_multi-frequency_signaling")
|
@BassBoneAlt1Info(name="Dual-tone multi-frequency signaling", website="https://en.wikipedia.org/wiki/Dual-tone_multi-frequency_signaling")
|
||||||
public enum T16PartHex implements BassBoneAlt1<T16PartHex> {
|
public enum T16PartHex implements BassBoneAlt1<T16PartHex> {
|
||||||
|
|
||||||
|
@ -33,18 +34,18 @@ public enum T16PartHex implements BassBoneAlt1<T16PartHex> {
|
||||||
PART_16("꜑","F","硫","sulfur", "D"),
|
PART_16("꜑","F","硫","sulfur", "D"),
|
||||||
;
|
;
|
||||||
|
|
||||||
public BassBoneCoffin GET_BBC() { return bbc; }
|
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBCO = BãßBȍőnCoffinOpen.newInstance();
|
||||||
|
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBCO; }
|
||||||
public static int LENGTH() { return values().length; };
|
public static int LENGTH() { return values().length; };
|
||||||
private final BassBoneCoffin bbc = BassBoneCoffin.newInstance();
|
|
||||||
|
|
||||||
private T16PartHex(String idTone, String idLetter, String chinaKey, String chinaValue, String alt1Value) {
|
private T16PartHex(String idTone, String idLetter, String chinaKey, String chinaValue, String alt1Value) {
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ID_TONE, idTone);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ID_LETTER, idLetter);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
||||||
GET_BBC().GET_MAP_OBJ(BassBoneStoreKey.MAP_TONE);
|
BBCO.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||||
GET_BBC().GET_MAP_OBJ(BassBoneStoreKey.MAP_CHINA);
|
BBCO.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||||
}
|
}
|
||||||
|
|
||||||
public T02PartBinary splitPartBinary(T04PartQuad part) {
|
public T02PartBinary splitPartBinary(T04PartQuad part) {
|
||||||
|
|
|
@ -5,12 +5,13 @@ 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.BaßBȍőnNaamʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffin;
|
||||||
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpen;
|
||||||
|
import love.distributedrebirth.bassboonyd.BãßBȍőnNaamʸᴰ;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt2Info;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt2Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt3;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt3;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt3Info;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt3Info;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneCoffin;
|
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -18,7 +19,7 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
*
|
*
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
*/
|
*/
|
||||||
@BaßBȍőnNaamʸᴰ("T20PartScore")
|
@BãßBȍőnNaamʸᴰ("T20PartScore")
|
||||||
@BassBoneAlt1Info(name="Vigesimal", website="https://en.wikipedia.org/wiki/Vigesimal#Places")
|
@BassBoneAlt1Info(name="Vigesimal", website="https://en.wikipedia.org/wiki/Vigesimal#Places")
|
||||||
@BassBoneAlt2Info(name="Vigesimal Alternative", website="https://en.wikipedia.org/wiki/Vigesimal#Places")
|
@BassBoneAlt2Info(name="Vigesimal Alternative", website="https://en.wikipedia.org/wiki/Vigesimal#Places")
|
||||||
@BassBoneAlt3Info(name="Open Location Code", website="https://en.wikipedia.org/wiki/Open_Location_Code")
|
@BassBoneAlt3Info(name="Open Location Code", website="https://en.wikipedia.org/wiki/Open_Location_Code")
|
||||||
|
@ -46,23 +47,23 @@ public enum T20PartScore implements BassBoneAlt3<T20PartScore> {
|
||||||
PART_20("꜑","y", "幺","yocto","J","K","X"),
|
PART_20("꜑","y", "幺","yocto","J","K","X"),
|
||||||
;
|
;
|
||||||
|
|
||||||
public BassBoneCoffin GET_BBC() { return bbc; }
|
|
||||||
public static int LENGTH() { return values().length; };
|
|
||||||
private final BassBoneCoffin bbc = BassBoneCoffin.newInstance();
|
|
||||||
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.getAlt3Value(), v -> v)));
|
Arrays.asList(values()).stream().collect(Collectors.toMap(v -> v.getAlt3Value(), v -> v)));
|
||||||
|
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBCO = BãßBȍőnCoffinOpen.newInstance();
|
||||||
|
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBCO; }
|
||||||
|
public static int LENGTH() { return values().length; };
|
||||||
|
|
||||||
private T20PartScore(String idTone, String idLetter, String chinaKey, String chinaValue,
|
private T20PartScore(String idTone, String idLetter, String chinaKey, String chinaValue,
|
||||||
String alt1Value, String alt2Value, String alt3Value) {
|
String alt1Value, String alt2Value, String alt3Value) {
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ID_TONE, idTone);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ID_LETTER, idLetter);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ALT_2_VALUE, alt2Value);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_2_VALUE, alt2Value);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ALT_3_VALUE, alt3Value);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_3_VALUE, alt3Value);
|
||||||
GET_BBC().GET_MAP_OBJ(BassBoneStoreKey.MAP_TONE);
|
BBCO.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||||
GET_BBC().GET_MAP_OBJ(BassBoneStoreKey.MAP_CHINA);
|
BBCO.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||||
}
|
}
|
||||||
|
|
||||||
public T20PartScore staticValueOfOpenLC(String openLCKey) {
|
public T20PartScore staticValueOfOpenLC(String openLCKey) {
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
package love.distributedrebirth.numberxd.base2t;
|
package love.distributedrebirth.numberxd.base2t;
|
||||||
|
|
||||||
import love.distributedrebirth.bassboonyd.BaßBȍőnNaamʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffin;
|
||||||
|
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpen;
|
||||||
|
import love.distributedrebirth.bassboonyd.BãßBȍőnNaamʸᴰ;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBone;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBone;
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneCoffin;
|
|
||||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -10,7 +11,7 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||||
*
|
*
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
*/
|
*/
|
||||||
@BaßBȍőnNaamʸᴰ("T60Sexagesimal")
|
@BãßBȍőnNaamʸᴰ("T60Sexagesimal")
|
||||||
public enum T60PartSexagesimal implements BassBone<T60PartSexagesimal> {
|
public enum T60PartSexagesimal implements BassBone<T60PartSexagesimal> {
|
||||||
|
|
||||||
PART_1 ("˧˩˥","ια","牛","cow"),
|
PART_1 ("˧˩˥","ια","牛","cow"),
|
||||||
|
@ -78,16 +79,16 @@ public enum T60PartSexagesimal implements BassBone<T60PartSexagesimal> {
|
||||||
PART_60("꜑꜑꜏","οϚ","蘋","apple"),
|
PART_60("꜑꜑꜏","οϚ","蘋","apple"),
|
||||||
;
|
;
|
||||||
|
|
||||||
public BassBoneCoffin GET_BBC() { return bbc; }
|
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBCO = BãßBȍőnCoffinOpen.newInstance();
|
||||||
|
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBCO; }
|
||||||
public static int LENGTH() { return values().length; };
|
public static int LENGTH() { return values().length; };
|
||||||
private final BassBoneCoffin bbc = BassBoneCoffin.newInstance();
|
|
||||||
|
|
||||||
private T60PartSexagesimal(String idTone, String idLetter, String chinaKey, String chinaValue) {
|
private T60PartSexagesimal(String idTone, String idLetter, String chinaKey, String chinaValue) {
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ID_TONE, idTone);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.ID_LETTER, idLetter);
|
BBCO.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||||
GET_BBC().PUT_INIT(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||||
GET_BBC().GET_MAP_OBJ(BassBoneStoreKey.MAP_TONE);
|
BBCO.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||||
GET_BBC().GET_MAP_OBJ(BassBoneStoreKey.MAP_CHINA);
|
BBCO.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,19 +3,15 @@ package love.distributedrebirth.numberxd.base2t.bone;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
|
|
||||||
import love.distributedrebirth.bassboonyd.BaßBȍőnNaamʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnStore;
|
||||||
import love.distributedrebirth.bassboonyd.BaßBȍőnEnumSetʸᴰ;
|
import love.distributedrebirth.bassboonyd.BãßBȍőnEnumSetʸᴰ;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
*/
|
*/
|
||||||
public interface BassBone<T extends BassBone<T>> extends BaßBȍőnEnumSetʸᴰ<T>, BassBoneStore {
|
public interface BassBone<T extends BassBone<T>> extends BãßBȍőnEnumSetʸᴰ<T>, BãßBȍőnStore<BassBoneStoreKey> {
|
||||||
|
|
||||||
default String staticBoneNaam() {
|
|
||||||
return getClass().getAnnotation(BaßBȍőnNaamʸᴰ.class).value();
|
|
||||||
}
|
|
||||||
|
|
||||||
default String getIdentifierTone() {
|
default String getIdentifierTone() {
|
||||||
return GET_BBC().GET_STR(BassBoneStoreKey.ID_TONE);
|
return GET_BBC().GET_STR(BassBoneStoreKey.ID_TONE);
|
||||||
|
|
|
@ -1,59 +0,0 @@
|
||||||
package love.distributedrebirth.numberxd.base2t.bone;
|
|
||||||
|
|
||||||
import java.util.HashMap;
|
|
||||||
import java.util.Map;
|
|
||||||
|
|
||||||
public interface BassBoneCoffin {
|
|
||||||
|
|
||||||
Object PUT_INIT(BassBoneStoreKey key, Object value);
|
|
||||||
|
|
||||||
Object GET(BassBoneStoreKey key);
|
|
||||||
|
|
||||||
default String GET_STR(BassBoneStoreKey key) {
|
|
||||||
return String.class.cast(GET(key));
|
|
||||||
}
|
|
||||||
|
|
||||||
default Integer GET_INT(BassBoneStoreKey key) {
|
|
||||||
return Integer.class.cast(GET(key));
|
|
||||||
}
|
|
||||||
|
|
||||||
default Long GET_LONG(BassBoneStoreKey key) {
|
|
||||||
return Long.class.cast(GET(key));
|
|
||||||
}
|
|
||||||
|
|
||||||
default Boolean GET_BOOL(BassBoneStoreKey key) {
|
|
||||||
return Boolean.class.cast(GET(key));
|
|
||||||
}
|
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
|
||||||
default Map<String,Object> GET_MAP_OBJ(BassBoneStoreKey key) {
|
|
||||||
if (GET(key) == null) {
|
|
||||||
PUT_INIT(key, new HashMap<>());
|
|
||||||
}
|
|
||||||
return Map.class.cast(GET(key));
|
|
||||||
}
|
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
|
||||||
default Map<String,String> GET_MAP_STR(BassBoneStoreKey key) {
|
|
||||||
if (GET(key) == null) {
|
|
||||||
PUT_INIT(key, new HashMap<>());
|
|
||||||
}
|
|
||||||
return Map.class.cast(GET(key));
|
|
||||||
}
|
|
||||||
|
|
||||||
static BassBoneCoffin newInstance() {
|
|
||||||
return new BassBoneCoffin() {
|
|
||||||
final Map<BassBoneStoreKey,Object> initMap = new HashMap<>();
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Object GET(BassBoneStoreKey key) {
|
|
||||||
return initMap.get(key);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Object PUT_INIT(BassBoneStoreKey key, Object value) {
|
|
||||||
return initMap.put(key, value);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,11 +0,0 @@
|
||||||
package love.distributedrebirth.numberxd.base2t.bone;
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
|
||||||
*/
|
|
||||||
public interface BassBoneStore {
|
|
||||||
|
|
||||||
BassBoneCoffin GET_BBC();
|
|
||||||
}
|
|
|
@ -1,11 +1,13 @@
|
||||||
package love.distributedrebirth.numberxd.base2t.bone;
|
package love.distributedrebirth.numberxd.base2t.bone;
|
||||||
|
|
||||||
|
import love.distributedrebirth.bassboonyd.BãßBȍőnStoreKeyʸᴰ;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* @author willemtsade ©Δ∞ 仙上主天
|
* @author willemtsade ©Δ∞ 仙上主天
|
||||||
*/
|
*/
|
||||||
public enum BassBoneStoreKey {
|
public enum BassBoneStoreKey implements BãßBȍőnStoreKeyʸᴰ {
|
||||||
|
|
||||||
ID_TONE,
|
ID_TONE,
|
||||||
ID_LETTER,
|
ID_LETTER,
|
||||||
|
|
Loading…
Reference in a new issue