gdxapp4d/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T06PartSeximal.java

50 lines
1.8 KiB
Java
Raw Normal View History

2022-01-30 22:00:16 +01:00
package love.distributedrebirth.numberxd.base2t;
2022-01-28 11:19:52 +01:00
2022-02-02 16:29:29 +01:00
import love.distributedrebirth.bassboonyd.BaßBȍőnNaamʸᴰ;
2022-02-01 16:27:06 +01:00
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1;
import love.distributedrebirth.numberxd.base2t.bone.BassBoneAlt1Info;
import love.distributedrebirth.numberxd.base2t.bone.BassBoneCoffin;
import love.distributedrebirth.numberxd.base2t.bone.BassBoneStoreKey;
/**
2022-01-31 13:40:01 +01:00
* The distribution by 6.
*
2022-01-30 14:50:21 +01:00
* NOTE: The sexi karlson-speaker is china design 3=6 and 6=9 and in quad space, zero is the result.
*
* @author willemtsade ©Δ 仙上主天
*/
2022-02-02 16:29:29 +01:00
@BaßBȍőnNaamʸᴰ("T06PartSeximal")
2022-02-01 16:27:06 +01:00
@BassBoneAlt1Info(name="ADFGVX cipher", website="https://en.wikipedia.org/wiki/ADFGVX_cipher")
2022-02-01 18:31:51 +01:00
public enum T06PartSeximal implements BassBoneAlt1<T06PartSeximal> {
2022-01-28 11:19:52 +01:00
2022-01-30 19:42:26 +01:00
PART_1("˦","0","","4","A"),
PART_2("˨","1","","5","D"),
PART_3("","2","","6","F"),
PART_4("","3","","7","G"),
PART_5("","4","","8","V"),
PART_6("","5","","9","X"),
2022-01-28 11:19:52 +01:00
;
2022-02-01 23:37:28 +01:00
public BassBoneCoffin GET_BBC() { return bbc; }
2022-01-31 20:13:41 +01:00
public static int LENGTH() { return values().length; };
2022-02-01 16:27:06 +01:00
private final BassBoneCoffin bbc = BassBoneCoffin.newInstance();
2022-01-28 11:19:52 +01:00
private T06PartSeximal(String idTone, String idLetter, String chinaKey, String chinaValue, String alt1Value) {
GET_BBC().PUT_INIT(BassBoneStoreKey.ID_TONE, idTone);
GET_BBC().PUT_INIT(BassBoneStoreKey.ID_LETTER, idLetter);
GET_BBC().PUT_INIT(BassBoneStoreKey.CHINA_KEY, chinaKey);
GET_BBC().PUT_INIT(BassBoneStoreKey.CHINA_VALUE, chinaValue);
GET_BBC().PUT_INIT(BassBoneStoreKey.ALT_1_VALUE, alt1Value);
GET_BBC().GET_MAP_OBJ(BassBoneStoreKey.MAP_TONE);
GET_BBC().GET_MAP_OBJ(BassBoneStoreKey.MAP_CHINA);
2022-01-30 14:50:21 +01:00
}
2022-02-01 18:31:51 +01:00
public T02PartBinary splitPartBinary() {
return T02PartBinary.values()[ordinal() & 1];
}
2022-01-30 14:50:21 +01:00
2022-02-01 18:31:51 +01:00
public T03PartTrit splitPartTrit() {
return T03PartTrit.values()[ordinal() >> 1];
2022-01-30 14:50:21 +01:00
}
2022-01-28 11:19:52 +01:00
}