Moved copyright to runtime env
This commit is contained in:
parent
2ae7e1f0a7
commit
d1b7c5fabc
|
@ -0,0 +1,16 @@
|
|||
package love.distributedrebirth.bassboonyd;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.TYPE})
|
||||
public @interface BãßBȍőnAuthorInfoʸᴰ {
|
||||
|
||||
String name();
|
||||
|
||||
String copyright();
|
||||
}
|
|
@ -3,6 +3,7 @@ package love.distributedrebirth.bassboonyd;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
||||
public interface BãßBȍőnCoffin<T extends BãßBȍőnStoreKeyʸᴰ> {
|
||||
|
||||
Object GET_OBJ(T key);
|
||||
|
|
|
@ -3,6 +3,7 @@ package love.distributedrebirth.bassboonyd;
|
|||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
||||
public interface BãßBȍőnCoffinOpen<T extends BãßBȍőnStoreKeyʸᴰ> extends BãßBȍőnCoffin<T> {
|
||||
|
||||
Object PUT_OBJ(T key, Object value);
|
||||
|
|
|
@ -1,8 +1,13 @@
|
|||
package love.distributedrebirth.bassboonyd;
|
||||
|
||||
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
||||
public class BãßBȍőnConstants {
|
||||
|
||||
public static final String STR_VALUES = "values";
|
||||
|
||||
public static final String STR_DOT = ".";
|
||||
|
||||
public static final int INT_ZERO = 0;
|
||||
|
||||
public static final int INT_ONE = 1;
|
||||
}
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
package love.distributedrebirth.bassboonyd;
|
||||
|
||||
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
||||
public interface BãßBȍőnEnumInstanceʸᴰ<T> extends BãßBȍőnEnumʸᴰ<T> {
|
||||
|
||||
int ordinal();
|
||||
|
||||
default T BȍőnInstance() {
|
||||
return BãßInstances()[ordinal()];
|
||||
}
|
||||
|
||||
default T BãßInstance() {
|
||||
return BãßInstances()[BãßBȍőnConstants.INT_ZERO];
|
||||
}
|
||||
}
|
|
@ -6,47 +6,33 @@ import java.util.List;
|
|||
import java.util.function.Consumer;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
/**
|
||||
* Inject EnumSet methods.
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
||||
public interface BãßBȍőnEnumSetʸᴰ<T> extends BãßBȍőnEnumʸᴰ<T> {
|
||||
|
||||
int ordinal();
|
||||
|
||||
default int dingRangTelNul() {
|
||||
default int BȍőnRangTelNul() {
|
||||
return ordinal();
|
||||
}
|
||||
|
||||
default int dingRangTelEen() {
|
||||
default int BȍőnRangTelEen() {
|
||||
return ordinal() + 1;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
default T[] staticInstances() {
|
||||
try {
|
||||
Object result = getClass().getMethod(BãßBȍőnConstants.STR_VALUES).invoke(null);
|
||||
return (T[]) result;
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
default List<T> BãßInstancesList() {
|
||||
return Arrays.asList(BãßInstances());
|
||||
}
|
||||
|
||||
default List<T> staticInstancesList() {
|
||||
return Arrays.asList(staticInstances());
|
||||
default Iterator<T> BãßInstancesIterator() {
|
||||
return BãßInstancesList().iterator();
|
||||
}
|
||||
|
||||
default Iterator<T> staticInstancesIterator() {
|
||||
return staticInstancesList().iterator();
|
||||
default Stream<T> BãßInstancesStream() {
|
||||
return BãßInstancesList().stream();
|
||||
}
|
||||
|
||||
default Stream<T> staticInstancesStream() {
|
||||
return staticInstancesList().stream();
|
||||
}
|
||||
|
||||
default T volgende() {
|
||||
T[] values = staticInstances();
|
||||
default T BȍőnVolgende() {
|
||||
T[] values = BãßInstances();
|
||||
int resultIndex = 0;
|
||||
for (int i=0;i<values.length;i++) {
|
||||
if (this == values[i]) {
|
||||
|
@ -60,8 +46,8 @@ public interface BãßBȍőnEnumSetʸᴰ<T> extends BãßBȍőnEnumʸᴰ<T> {
|
|||
return values[resultIndex];
|
||||
}
|
||||
|
||||
default T vorige() {
|
||||
T[] values = staticInstances();
|
||||
default T BȍőnVorige() {
|
||||
T[] values = BãßInstances();
|
||||
int resultIndex = 0;
|
||||
for (int i=0;i<values.length;i++) {
|
||||
if (this == values[i]) {
|
||||
|
@ -76,7 +62,7 @@ public interface BãßBȍőnEnumSetʸᴰ<T> extends BãßBȍőnEnumʸᴰ<T> {
|
|||
}
|
||||
|
||||
default void staticVoorElk(Consumer<T> consumer) {
|
||||
for (T value:staticInstances()) {
|
||||
for (T value:BãßInstances()) {
|
||||
consumer.accept(value);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
package love.distributedrebirth.bassboonyd;
|
||||
|
||||
/**
|
||||
* Inject Enum methods.
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
||||
public interface BãßBȍőnEnumʸᴰ<T> {
|
||||
|
||||
String name();
|
||||
|
@ -18,6 +14,16 @@ public interface BãßBȍőnEnumʸᴰ<T> {
|
|||
}
|
||||
|
||||
default String BãßNaam() {
|
||||
return getClass().getAnnotation(BãßBȍőnNaamʸᴰ.class).value();
|
||||
return getClass().getAnnotation(BãßBȍőnInfoʸᴰ.class).name();
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
default T[] BãßInstances() {
|
||||
try {
|
||||
Object result = getClass().getMethod(BãßBȍőnConstants.STR_VALUES).invoke(null);
|
||||
return (T[]) result;
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,14 +5,12 @@ import java.lang.annotation.Retention;
|
|||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
/**
|
||||
* Defines the BaßBȍőn name.
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.TYPE})
|
||||
public @interface BãßBȍőnNaamʸᴰ {
|
||||
public @interface BãßBȍőnInfoʸᴰ {
|
||||
|
||||
String value();
|
||||
String name();
|
||||
|
||||
String purpose();
|
||||
}
|
|
@ -1,10 +1,6 @@
|
|||
package love.distributedrebirth.bassboonyd;
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
||||
public interface BãßBȍőnStore<T extends BãßBȍőnStoreKeyʸᴰ> {
|
||||
|
||||
BãßBȍőnCoffin<T> GET_BBC();
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package love.distributedrebirth.bassboonyd;
|
||||
|
||||
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
||||
public interface BãßBȍőnStoreKeyʸᴰ {
|
||||
|
||||
String name();
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
package love.distributedrebirth.numberxd.base2t;
|
||||
|
||||
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ȍőnNaamʸᴰ;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBone;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||
|
||||
|
@ -11,23 +12,24 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
|||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
@BãßBȍőnNaamʸᴰ("T02PartBinary")
|
||||
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
||||
@BãßBȍőnInfoʸᴰ(name = "T02PartBinary", purpose = "The distribution by 2.")
|
||||
public enum T02PartBinary implements BassBone<T02PartBinary> {
|
||||
|
||||
PART_1("˧","0", "低", "low"),
|
||||
PART_2("꜔","1", "高", "high"),
|
||||
;
|
||||
|
||||
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBCO = BãßBȍőnCoffinOpen.newInstance();
|
||||
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBCO; }
|
||||
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBC = BãßBȍőnCoffinOpen.newInstance();
|
||||
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBC; }
|
||||
public static int LENGTH() { return values().length; };
|
||||
|
||||
private T02PartBinary(String idTone, String idLetter, String chinaKey, String chinaValue) {
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||
BBCO.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||
BBCO.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ package love.distributedrebirth.numberxd.base2t;
|
|||
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffin;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpen;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnNaamʸᴰ;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBone;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||
|
||||
|
@ -11,7 +11,7 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
|||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
@BãßBȍőnNaamʸᴰ("T03PartTrit")
|
||||
@BãßBȍőnInfoʸᴰ(name = "T03PartTrit", purpose = "The distribution by 3.")
|
||||
public enum T03PartTrit implements BassBone<T03PartTrit> {
|
||||
|
||||
PART_1("˦","0","一","1"),
|
||||
|
@ -19,16 +19,16 @@ public enum T03PartTrit implements BassBone<T03PartTrit> {
|
|||
PART_3("˨","2","三","3"),
|
||||
;
|
||||
|
||||
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBCO = BãßBȍőnCoffinOpen.newInstance();
|
||||
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBCO; }
|
||||
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBC = BãßBȍőnCoffinOpen.newInstance();
|
||||
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBC; }
|
||||
public static int LENGTH() { return values().length; };
|
||||
|
||||
private T03PartTrit(String idTone, String idLetter, String chinaKey, String chinaValue) {
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||
BBCO.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||
BBCO.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ package love.distributedrebirth.numberxd.base2t;
|
|||
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffin;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpen;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnNaamʸᴰ;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||
|
@ -12,7 +12,7 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
|||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
@BãßBȍőnNaamʸᴰ("T04PartQuad")
|
||||
@BãßBȍőnInfoʸᴰ(name = "T04PartQuad", purpose = "The distribution by 4.")
|
||||
@BassBoneAlt1Info(name="Cardinal direction", website="https://simple.wikipedia.org/wiki/Cardinal_direction")
|
||||
public enum T04PartQuad implements BassBoneAlt1<T04PartQuad> {
|
||||
|
||||
|
@ -22,18 +22,18 @@ public enum T04PartQuad implements BassBoneAlt1<T04PartQuad> {
|
|||
PART_4("˩","3","南","south","S"),
|
||||
;
|
||||
|
||||
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBCO = BãßBȍőnCoffinOpen.newInstance();
|
||||
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBCO; }
|
||||
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBC = BãßBȍőnCoffinOpen.newInstance();
|
||||
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBC; }
|
||||
public static int LENGTH() { return values().length; };
|
||||
|
||||
private T04PartQuad(String idTone, String idLetter, String chinaKey, String chinaValue, String alt1Value) {
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
||||
BBCO.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||
BBCO.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||
}
|
||||
|
||||
public T02PartBinary splitPartBinary(T02PartBinary part) {
|
||||
|
|
|
@ -2,7 +2,7 @@ package love.distributedrebirth.numberxd.base2t;
|
|||
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffin;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpen;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnNaamʸᴰ;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt2;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt2Info;
|
||||
|
@ -13,7 +13,7 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
|||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
@BãßBȍőnNaamʸᴰ("T05PartPental")
|
||||
@BãßBȍőnInfoʸᴰ(name = "T05PartPental", purpose = "The distribution by 5 called Wuxing.")
|
||||
@BassBoneAlt1Info(name="Pentagram", website="https://en.wikipedia.org/wiki/Pentagram")
|
||||
@BassBoneAlt2Info(name="Pythagorean Interpretations", website="http://wisdomofhypatia.com/OM/BA/PP.html")
|
||||
public enum T05PartPental implements BassBoneAlt2<T05PartPental> {
|
||||
|
@ -25,18 +25,18 @@ public enum T05PartPental implements BassBoneAlt2<T05PartPental> {
|
|||
PART_5("˩","4","土","earth","G", "gaia"),
|
||||
;
|
||||
|
||||
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBCO = BãßBȍőnCoffinOpen.newInstance();
|
||||
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBCO; }
|
||||
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBC = BãßBȍőnCoffinOpen.newInstance();
|
||||
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBC; }
|
||||
public static int LENGTH() { return values().length; };
|
||||
|
||||
private T05PartPental(String idTone, String idLetter, String chinaKey, String chinaValue, String alt1Value, String alt2Value) {
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_2_VALUE, alt2Value);
|
||||
BBCO.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||
BBCO.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_2_VALUE, alt2Value);
|
||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ package love.distributedrebirth.numberxd.base2t;
|
|||
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffin;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpen;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnNaamʸᴰ;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||
|
@ -14,7 +14,7 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
|||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
@BãßBȍőnNaamʸᴰ("T06PartSeximal")
|
||||
@BãßBȍőnInfoʸᴰ(name = "T06PartSeximal", purpose = "The distribution by 6.")
|
||||
@BassBoneAlt1Info(name="ADFGVX cipher", website="https://en.wikipedia.org/wiki/ADFGVX_cipher")
|
||||
public enum T06PartSeximal implements BassBoneAlt1<T06PartSeximal> {
|
||||
|
||||
|
@ -26,18 +26,18 @@ public enum T06PartSeximal implements BassBoneAlt1<T06PartSeximal> {
|
|||
PART_6("꜏","5","九","9","X"),
|
||||
;
|
||||
|
||||
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBCO = BãßBȍőnCoffinOpen.newInstance();
|
||||
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBCO; }
|
||||
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBC = BãßBȍőnCoffinOpen.newInstance();
|
||||
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBC; }
|
||||
public static int LENGTH() { return values().length; };
|
||||
|
||||
private T06PartSeximal(String idTone, String idLetter, String chinaKey, String chinaValue, String alt1Value) {
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
||||
BBCO.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||
BBCO.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||
}
|
||||
|
||||
public T02PartBinary splitPartBinary() {
|
||||
|
|
|
@ -2,7 +2,7 @@ package love.distributedrebirth.numberxd.base2t;
|
|||
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffin;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpen;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnNaamʸᴰ;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||
|
@ -12,7 +12,7 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
|||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
@BãßBȍőnNaamʸᴰ("T07PartPlanIt")
|
||||
@BãßBȍőnInfoʸᴰ(name = "T07PartPlanIt", purpose = "The distribution by 7.")
|
||||
@BassBoneAlt1Info(name="Fallen sign", website="https://en.wikipedia.org/wiki/Classical_planet#Western_astrology")
|
||||
public enum T07PartPlanIt implements BassBoneAlt1<T07PartPlanIt> {
|
||||
|
||||
|
@ -25,17 +25,17 @@ public enum T07PartPlanIt implements BassBoneAlt1<T07PartPlanIt> {
|
|||
PART_7("˩","7","♈︎","aries", "白羊座"),
|
||||
;
|
||||
|
||||
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBCO = BãßBȍőnCoffinOpen.newInstance();
|
||||
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBCO; }
|
||||
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBC = BãßBȍőnCoffinOpen.newInstance();
|
||||
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBC; }
|
||||
public static int LENGTH() { return values().length; };
|
||||
|
||||
private T07PartPlanIt(String idTone, String idLetter, String chinaKey, String chinaValue, String alt1Value) {
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
||||
BBCO.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||
BBCO.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@ package love.distributedrebirth.numberxd.base2t;
|
|||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneShiftBits;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffin;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpen;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnNaamʸᴰ;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt2;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt2Info;
|
||||
|
@ -14,7 +14,7 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
|||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
@BãßBȍőnNaamʸᴰ("T08PartOctal")
|
||||
@BãßBȍőnInfoʸᴰ(name = "T08PartOctal", purpose = "The distribution by 8.")
|
||||
@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")
|
||||
public enum T08PartOctal implements BassBoneAlt2<T08PartOctal>,BassBoneShiftBits<T08PartOctal> {
|
||||
|
@ -31,20 +31,20 @@ public enum T08PartOctal implements BassBoneAlt2<T08PartOctal>,BassBoneShiftBits
|
|||
|
||||
public static int BIT_COUNT = 3;
|
||||
private static final byte BITMASK = 0x07;
|
||||
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBCO = BãßBȍőnCoffinOpen.newInstance();
|
||||
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBCO; }
|
||||
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBC = BãßBȍőnCoffinOpen.newInstance();
|
||||
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBC; }
|
||||
public static int LENGTH() { return values().length; };
|
||||
|
||||
private T08PartOctal(String identifierTone, String identifierLetter, String chinaKey, String chinaValue, String alt1Value, String alt2Value, int shiftBits) {
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ID_TONE, identifierTone);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ID_LETTER, identifierLetter);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.SHIFT_BITS, Integer.valueOf(shiftBits));
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_2_VALUE, alt2Value);
|
||||
BBCO.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||
BBCO.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_TONE, identifierTone);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_LETTER, identifierLetter);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.SHIFT_BITS, Integer.valueOf(shiftBits));
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_2_VALUE, alt2Value);
|
||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||
}
|
||||
|
||||
public static T08PartOctal indexOf(T08PartOctal group, int value) {
|
||||
|
|
|
@ -2,7 +2,7 @@ package love.distributedrebirth.numberxd.base2t;
|
|||
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffin;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpen;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnNaamʸᴰ;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt2Info;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt3Info;
|
||||
|
@ -15,7 +15,7 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
|||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
@BãßBȍőnNaamʸᴰ("T10PartDecimal")
|
||||
@BãßBȍőnInfoʸᴰ(name = "T10PartDecimal", purpose = "The distribution by 10.")
|
||||
@BassBoneAlt1Info(name="Korean numerals", website="https://en.wikipedia.org/wiki/Korean_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")
|
||||
|
@ -34,21 +34,21 @@ public enum T10PartDecimal implements BassBoneAlt4<T10PartDecimal> {
|
|||
PART_10("꜖","θ","玖","nine", "구","\u1049","৯","෯"),
|
||||
;
|
||||
|
||||
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBCO = BãßBȍőnCoffinOpen.newInstance();
|
||||
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBCO; }
|
||||
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBC = BãßBȍőnCoffinOpen.newInstance();
|
||||
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBC; }
|
||||
public static int LENGTH() { return values().length; };
|
||||
|
||||
private T10PartDecimal(String idTone, String idLetter, String chinaKey, String chinaValue,
|
||||
String alt1Value, String alt2Value, String alt3Value, String alt4Value) {
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_2_VALUE, alt2Value);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_3_VALUE, alt3Value);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_4_VALUE, alt4Value);
|
||||
BBCO.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||
BBCO.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_2_VALUE, alt2Value);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_3_VALUE, alt3Value);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_4_VALUE, alt4Value);
|
||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ package love.distributedrebirth.numberxd.base2t;
|
|||
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffin;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpen;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnNaamʸᴰ;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||
|
@ -12,7 +12,7 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
|||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
@BãßBȍőnNaamʸᴰ("T11PartUndecimal")
|
||||
@BãßBȍőnInfoʸᴰ(name = "T11PartUndecimal", purpose = "The distribution by 11.")
|
||||
@BassBoneAlt1Info(name="Tamil numerals", website="https://en.wikipedia.org/wiki/Tamil_numerals")
|
||||
public enum T11PartUndecimal implements BassBoneAlt1<T11PartUndecimal> {
|
||||
|
||||
|
@ -29,17 +29,17 @@ public enum T11PartUndecimal implements BassBoneAlt1<T11PartUndecimal> {
|
|||
PART_11("˩","=","耦","mate", "௰"),
|
||||
;
|
||||
|
||||
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBCO = BãßBȍőnCoffinOpen.newInstance();
|
||||
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBCO; }
|
||||
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBC = BãßBȍőnCoffinOpen.newInstance();
|
||||
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBC; }
|
||||
public static int LENGTH() { return values().length; };
|
||||
|
||||
private T11PartUndecimal(String idTone, String idLetter, String chinaKey, String chinaValue, String alt1Value) {
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
||||
BBCO.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||
BBCO.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ package love.distributedrebirth.numberxd.base2t;
|
|||
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffin;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpen;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnNaamʸᴰ;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||
|
@ -12,7 +12,7 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
|||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
@BãßBȍőnNaamʸᴰ("T12PartUncial")
|
||||
@BãßBȍőnInfoʸᴰ(name = "T12PartUncial", purpose = "The distribution by 12.")
|
||||
@BassBoneAlt1Info(name="Transdecimal symbols", website="https://en.wikipedia.org/wiki/Duodecimal#Transdecimal_symbols")
|
||||
public enum T12PartUncial implements BassBoneAlt1<T12PartUncial> {
|
||||
|
||||
|
@ -30,17 +30,17 @@ public enum T12PartUncial implements BassBoneAlt1<T12PartUncial> {
|
|||
PART_12("꜑","B","亞","nozero", "\u218b"), // TURNED DIGIT THREE
|
||||
;
|
||||
|
||||
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBCO = BãßBȍőnCoffinOpen.newInstance();
|
||||
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBCO; }
|
||||
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBC = BãßBȍőnCoffinOpen.newInstance();
|
||||
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBC; }
|
||||
public static int LENGTH() { return values().length; };
|
||||
|
||||
private T12PartUncial(String idTone, String idLetter, String chinaKey, String chinaValue, String alt1Value) {
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
||||
BBCO.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||
BBCO.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ package love.distributedrebirth.numberxd.base2t;
|
|||
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffin;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpen;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnNaamʸᴰ;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||
|
@ -12,7 +12,7 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
|||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
@BãßBȍőnNaamʸᴰ("T16PartHex")
|
||||
@BãßBȍőnInfoʸᴰ(name = "T16PartHex", purpose = "The distribution by 16.")
|
||||
@BassBoneAlt1Info(name="Dual-tone multi-frequency signaling", website="https://en.wikipedia.org/wiki/Dual-tone_multi-frequency_signaling")
|
||||
public enum T16PartHex implements BassBoneAlt1<T16PartHex> {
|
||||
|
||||
|
@ -34,18 +34,18 @@ public enum T16PartHex implements BassBoneAlt1<T16PartHex> {
|
|||
PART_16("꜑","F","硫","sulfur", "D"),
|
||||
;
|
||||
|
||||
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBCO = BãßBȍőnCoffinOpen.newInstance();
|
||||
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBCO; }
|
||||
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBC = BãßBȍőnCoffinOpen.newInstance();
|
||||
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBC; }
|
||||
public static int LENGTH() { return values().length; };
|
||||
|
||||
private T16PartHex(String idTone, String idLetter, String chinaKey, String chinaValue, String alt1Value) {
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
||||
BBCO.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||
BBCO.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||
}
|
||||
|
||||
public T02PartBinary splitPartBinary(T04PartQuad part) {
|
||||
|
|
|
@ -7,7 +7,7 @@ import java.util.stream.Collectors;
|
|||
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffin;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpen;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnNaamʸᴰ;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt2Info;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt3;
|
||||
|
@ -19,7 +19,7 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
|||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
@BãßBȍőnNaamʸᴰ("T20PartScore")
|
||||
@BãßBȍőnInfoʸᴰ(name = "T20PartScore", purpose = "The distribution by 20.")
|
||||
@BassBoneAlt1Info(name="Vigesimal", 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")
|
||||
|
@ -49,21 +49,21 @@ public enum T20PartScore implements BassBoneAlt3<T20PartScore> {
|
|||
|
||||
private static final Map<String, T20PartScore> OPENLC_MAP = Collections.unmodifiableMap(
|
||||
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; }
|
||||
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBC = BãßBȍőnCoffinOpen.newInstance();
|
||||
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBC; }
|
||||
public static int LENGTH() { return values().length; };
|
||||
|
||||
private T20PartScore(String idTone, String idLetter, String chinaKey, String chinaValue,
|
||||
String alt1Value, String alt2Value, String alt3Value) {
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_2_VALUE, alt2Value);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ALT_3_VALUE, alt3Value);
|
||||
BBCO.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||
BBCO.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_2_VALUE, alt2Value);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ALT_3_VALUE, alt3Value);
|
||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||
}
|
||||
|
||||
public T20PartScore staticValueOfOpenLC(String openLCKey) {
|
||||
|
|
|
@ -2,7 +2,7 @@ package love.distributedrebirth.numberxd.base2t;
|
|||
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffin;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnCoffinOpen;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnNaamʸᴰ;
|
||||
import love.distributedrebirth.bassboonyd.BãßBȍőnInfoʸᴰ;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBone;
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
||||
|
||||
|
@ -11,7 +11,7 @@ import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
|
|||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
@BãßBȍőnNaamʸᴰ("T60Sexagesimal")
|
||||
@BãßBȍőnInfoʸᴰ(name = "T60Sexagesimal", purpose = "The distribution by 60.")
|
||||
public enum T60PartSexagesimal implements BassBone<T60PartSexagesimal> {
|
||||
|
||||
PART_1 ("˧˩˥","ια","牛","cow"),
|
||||
|
@ -79,16 +79,16 @@ public enum T60PartSexagesimal implements BassBone<T60PartSexagesimal> {
|
|||
PART_60("꜑꜑꜏","οϚ","蘋","apple"),
|
||||
;
|
||||
|
||||
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBCO = BãßBȍőnCoffinOpen.newInstance();
|
||||
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBCO; }
|
||||
private final BãßBȍőnCoffinOpen<BassBoneStoreKey> BBC = BãßBȍőnCoffinOpen.newInstance();
|
||||
public BãßBȍőnCoffin<BassBoneStoreKey> GET_BBC() { return BBC; }
|
||||
public static int LENGTH() { return values().length; };
|
||||
|
||||
private T60PartSexagesimal(String idTone, String idLetter, String chinaKey, String chinaValue) {
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||
BBCO.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||
BBCO.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||
BBCO.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_TONE, idTone);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.ID_LETTER, idLetter);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_KEY, chinaKey);
|
||||
BBC.PUT_OBJ(BassBoneStoreKey.CHINA_VALUE, chinaValue);
|
||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_TONE);
|
||||
BBC.PUT_MAP(BassBoneStoreKey.MAP_CHINA);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -33,7 +33,7 @@ public interface BassBone<T extends BassBone<T>> extends BãßBȍőnEnumSetʸᴰ
|
|||
default T staticValueOfTone(String identifierTone) {
|
||||
Map<String,Object> mapTone = GET_BBC().GET_MAP_OBJ(BassBoneStoreKey.MAP_TONE);
|
||||
if (mapTone.isEmpty()) {
|
||||
mapTone.putAll(staticInstancesStream().collect(Collectors.toMap(v -> v.getIdentifierTone(), v -> v)));
|
||||
mapTone.putAll(BãßInstancesStream().collect(Collectors.toMap(v -> v.getIdentifierTone(), v -> v)));
|
||||
}
|
||||
return (T) mapTone.get(identifierTone);
|
||||
}
|
||||
|
@ -42,7 +42,7 @@ public interface BassBone<T extends BassBone<T>> extends BãßBȍőnEnumSetʸᴰ
|
|||
default T staticValueOfChina(String chinaKey) {
|
||||
Map<String,Object> mapChina = GET_BBC().GET_MAP_OBJ(BassBoneStoreKey.MAP_CHINA);
|
||||
if (mapChina.isEmpty()) {
|
||||
mapChina.putAll(staticInstancesStream().collect(Collectors.toMap(v -> v.getChinaKey(), v -> v)));
|
||||
mapChina.putAll(BãßInstancesStream().collect(Collectors.toMap(v -> v.getChinaKey(), v -> v)));
|
||||
}
|
||||
return (T) mapChina.get(chinaKey);
|
||||
}
|
||||
|
|
|
@ -25,18 +25,18 @@ public class T04PartQuadTest {
|
|||
|
||||
@Test
|
||||
public void testVolgende() {
|
||||
Assertions.assertEquals(T04PartQuad.PART_1, T04PartQuad.PART_4.volgende());
|
||||
Assertions.assertEquals(T04PartQuad.PART_2, T04PartQuad.PART_1.volgende());
|
||||
Assertions.assertEquals(T04PartQuad.PART_3, T04PartQuad.PART_2.volgende());
|
||||
Assertions.assertEquals(T04PartQuad.PART_4, T04PartQuad.PART_3.volgende());
|
||||
Assertions.assertEquals(T04PartQuad.PART_1, T04PartQuad.PART_4.BȍőnVolgende());
|
||||
Assertions.assertEquals(T04PartQuad.PART_2, T04PartQuad.PART_1.BȍőnVolgende());
|
||||
Assertions.assertEquals(T04PartQuad.PART_3, T04PartQuad.PART_2.BȍőnVolgende());
|
||||
Assertions.assertEquals(T04PartQuad.PART_4, T04PartQuad.PART_3.BȍőnVolgende());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testVorige() {
|
||||
Assertions.assertEquals(T04PartQuad.PART_1, T04PartQuad.PART_2.vorige());
|
||||
Assertions.assertEquals(T04PartQuad.PART_2, T04PartQuad.PART_3.vorige());
|
||||
Assertions.assertEquals(T04PartQuad.PART_3, T04PartQuad.PART_4.vorige());
|
||||
Assertions.assertEquals(T04PartQuad.PART_4, T04PartQuad.PART_1.vorige());
|
||||
Assertions.assertEquals(T04PartQuad.PART_1, T04PartQuad.PART_2.BȍőnVorige());
|
||||
Assertions.assertEquals(T04PartQuad.PART_2, T04PartQuad.PART_3.BȍőnVorige());
|
||||
Assertions.assertEquals(T04PartQuad.PART_3, T04PartQuad.PART_4.BȍőnVorige());
|
||||
Assertions.assertEquals(T04PartQuad.PART_4, T04PartQuad.PART_1.BȍőnVorige());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in a new issue