Added V9D8Traz
This commit is contained in:
parent
aab21dff67
commit
37175e0fee
|
@ -14,23 +14,23 @@ import love.distributedrebirth.numberxd.base2t.V009TyteBaseIterator;
|
|||
*/
|
||||
public class GroßGetậl6ˢᴰ implements BaseNumberTyte<GroßGetậl6ˢᴰ> {
|
||||
|
||||
public static int BIT_COUNT = GroßGetậl1ⁿᴰ.BIT_COUNT * T12PartUncial.LENGTH;
|
||||
private GroßGetậl1ⁿᴰ[] values = new GroßGetậl1ⁿᴰ[T12PartUncial.LENGTH];
|
||||
public static int BIT_COUNT = GroßGetậl1ⁿᴰ.BIT_COUNT * T12PartUncial.LENGTH();
|
||||
private GroßGetậl1ⁿᴰ[] values = new GroßGetậl1ⁿᴰ[T12PartUncial.LENGTH()];
|
||||
|
||||
public GroßGetậl6ˢᴰ() {
|
||||
for (int i=0;i<T12PartUncial.LENGTH;i++) {
|
||||
for (int i=0;i<this.values.length;i++) {
|
||||
this.values[i] = new GroßGetậl1ⁿᴰ();
|
||||
}
|
||||
}
|
||||
|
||||
public GroßGetậl6ˢᴰ(T08PartOctalBaseIterator values) {
|
||||
for (int i=0;i<T12PartUncial.LENGTH;i++) {
|
||||
for (int i=0;i<this.values.length;i++) {
|
||||
this.values[i] = new GroßGetậl1ⁿᴰ(values);
|
||||
}
|
||||
}
|
||||
|
||||
public GroßGetậl6ˢᴰ(V009TyteBaseIterator values) {
|
||||
for (int i=0;i<T12PartUncial.LENGTH;i++) {
|
||||
for (int i=0;i<this.values.length;i++) {
|
||||
this.values[i] = new GroßGetậl1ⁿᴰ(values);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,17 +18,17 @@ import love.distributedrebirth.numberxd.base2t.VCA8Tath;
|
|||
*/
|
||||
public class KlompGetậl4ˢᴰ implements BaseNumberTyte<KlompGetậl4ˢᴰ> {
|
||||
|
||||
public static int BIT_COUNT = V654Triz.BIT_COUNT * T08PartOctal.LENGTH;
|
||||
private final VCA8Tath[] values = new VCA8Tath[T08PartOctal.LENGTH];
|
||||
public static int BIT_COUNT = V654Triz.BIT_COUNT * T08PartOctal.LENGTH();
|
||||
private final VCA8Tath[] values = new VCA8Tath[T08PartOctal.LENGTH()];
|
||||
|
||||
public KlompGetậl4ˢᴰ() {
|
||||
for (int i=0;i<T08PartOctal.LENGTH;i++) {
|
||||
for (int i=0;i<this.values.length;i++) {
|
||||
this.values[i] = new VCA8Tath();
|
||||
}
|
||||
}
|
||||
|
||||
public KlompGetậl4ˢᴰ(T08PartOctalBaseIterator values) {
|
||||
for (int i=0;i<T08PartOctal.LENGTH;i++) {
|
||||
for (int i=0;i<this.values.length;i++) {
|
||||
this.values[i] = new VCA8Tath(values);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ public enum T02PartBinary implements BasePart {
|
|||
PART_2("꜔","1", "高", "high"),
|
||||
;
|
||||
|
||||
public static int LENGTH = 2;
|
||||
public static int LENGTH() { return values().length; };
|
||||
private final Map<BaseFacetKey, Object> facetStore = new HashMap<>();
|
||||
private static final Map<String, T02PartBinary> TONE_MAP = Collections.unmodifiableMap(
|
||||
Arrays.asList(values()).stream().collect(Collectors.toMap(v -> v.getIdentifierTone(), v -> v)));
|
||||
|
|
|
@ -22,7 +22,7 @@ public enum T03PartTrit implements BasePart {
|
|||
PART_3("˨","2","三","3"),
|
||||
;
|
||||
|
||||
public static int LENGTH = 3;
|
||||
public static int LENGTH() { return values().length; };
|
||||
private final Map<BaseFacetKey, Object> facetStore = new HashMap<>();
|
||||
private static final Map<String, T03PartTrit> TONE_MAP = Collections.unmodifiableMap(
|
||||
Arrays.asList(values()).stream().collect(Collectors.toMap(v -> v.getIdentifierTone(), v -> v)));
|
||||
|
|
|
@ -25,7 +25,7 @@ public enum T04PartQuad implements BasePart,BasePartAlt1,BasePartSplit4 {
|
|||
PART_4("˩","3","南","south","S"),
|
||||
;
|
||||
|
||||
public static int LENGTH = 4;
|
||||
public static int LENGTH() { return values().length; };
|
||||
private final Map<BaseFacetKey, Object> facetStore = new HashMap<>();
|
||||
private static final String ALT_1_NAME = "Cardinal direction";
|
||||
private static final String ALT_1_WIKI = "https://simple.wikipedia.org/wiki/Cardinal_direction";
|
||||
|
|
|
@ -25,7 +25,7 @@ public enum T05PartPental implements BasePart,BasePartAlt2 {
|
|||
PART_5("˩","4","土","earth","G", "gaia"),
|
||||
;
|
||||
|
||||
public static int LENGTH = 5;
|
||||
public static int LENGTH() { return values().length; };
|
||||
private static final String ALT_1_NAME = "Pentagram";
|
||||
private static final String ALT_1_WIKI = "https://en.wikipedia.org/wiki/Pentagram";
|
||||
private static final String ALT_2_NAME = "Pythagorean Interpretations";
|
||||
|
|
|
@ -29,7 +29,7 @@ public enum T06PartSeximal implements BasePart,BasePartAlt1,BasePartSplit6 {
|
|||
PART_6("꜏","5","九","9","X"),
|
||||
;
|
||||
|
||||
public static int LENGTH = 6;
|
||||
public static int LENGTH() { return values().length; };
|
||||
private final Map<BaseFacetKey, Object> facetStore = new HashMap<>();
|
||||
private static final String ALT_1_NAME = "ADFGVX cipher";
|
||||
private static final String ALT_1_WIKI = "https://en.wikipedia.org/wiki/ADFGVX_cipher";
|
||||
|
|
|
@ -27,7 +27,7 @@ public enum T07PartPlanIt implements BasePart,BasePartAlt1 {
|
|||
PART_7("˩","7","♈︎","aries","白羊座"),
|
||||
;
|
||||
|
||||
public static int LENGTH = 6;
|
||||
public static int LENGTH() { return values().length; };
|
||||
private final Map<BaseFacetKey, Object> facetStore = new HashMap<>();
|
||||
private static final String ALT_1_NAME = "Fallen sign";
|
||||
private static final String ALT_1_WIKI = "https://en.wikipedia.org/wiki/Classical_planet#Western_astrology";
|
||||
|
|
|
@ -29,7 +29,7 @@ public enum T08PartOctal implements BasePart,BasePartAlt2,BasePartSplit8 {
|
|||
PART_8("꜑","7","腳","feet", "˧˩˩","˩˩˧", 21),
|
||||
;
|
||||
|
||||
public static int LENGTH = 8;
|
||||
public static int LENGTH() { return values().length; };
|
||||
public static int BIT_COUNT = 3;
|
||||
private static final byte BITMASK = 0x07;
|
||||
private final Map<BaseFacetKey, Object> facetStore = new HashMap<>();
|
||||
|
|
|
@ -32,7 +32,7 @@ public enum T12PartUncial implements BasePart,BasePartAlt1 {
|
|||
PART_12("꜑","B","亞","nozero","\u218b"), // TURNED DIGIT THREE
|
||||
;
|
||||
|
||||
public static int LENGTH = 12;
|
||||
public static int LENGTH() { return values().length; };
|
||||
private final Map<BaseFacetKey, Object> facetStore = new HashMap<>();
|
||||
private static final String ALT_1_NAME = "Transdecimal symbols";
|
||||
private static final String ALT_1_WIKI = "https://en.wikipedia.org/wiki/Duodecimal#Transdecimal_symbols";
|
||||
|
|
|
@ -37,7 +37,7 @@ public enum T16PartHex implements BasePart,BasePartAlt1,BasePartSplit16 {
|
|||
PART_16("꜑","F","硫","sulfur","D"),
|
||||
;
|
||||
|
||||
public static int LENGTH = 16;
|
||||
public static int LENGTH() { return values().length; };
|
||||
private final Map<BaseFacetKey, Object> facetStore = new HashMap<>();
|
||||
private static final String ALT_1_NAME = "Dual-tone multi-frequency signaling";
|
||||
private static final String ALT_1_WIKI = "https://en.wikipedia.org/wiki/Dual-tone_multi-frequency_signaling";
|
||||
|
|
|
@ -40,7 +40,7 @@ public enum T20PartScore implements BasePart,BasePartAlt3 {
|
|||
PART_20("꜑","y", "幺","yocto","J","K","X"),
|
||||
;
|
||||
|
||||
public static int LENGTH = 20;
|
||||
public static int LENGTH() { return values().length; };
|
||||
private final Map<BaseFacetKey, Object> facetStore = new HashMap<>();
|
||||
private static final String ALT_1_NAME = "Vigesimal";
|
||||
private static final String ALT_1_WIKI = "https://en.wikipedia.org/wiki/Vigesimal#Places";
|
||||
|
|
|
@ -82,7 +82,7 @@ public enum T60Sexagesimal implements BasePart {
|
|||
PART_60("꜑꜑꜏","οϚ","蘋","apple"),
|
||||
;
|
||||
|
||||
public static int LENGTH = 60;
|
||||
public static int LENGTH() { return values().length; };
|
||||
private final Map<BaseFacetKey, Object> facetStore = new HashMap<>();
|
||||
private static final Map<String, T60Sexagesimal> TONE_MAP = Collections.unmodifiableMap(
|
||||
Arrays.asList(values()).stream().collect(Collectors.toMap(v -> v.getIdentifierTone(), v -> v)));
|
||||
|
|
|
@ -7,8 +7,8 @@ package love.distributedrebirth.numberxd.base2t;
|
|||
*/
|
||||
public final class V006Tixte implements BaseNumber<V006Tixte> {
|
||||
|
||||
public static int BIT_COUNT = V003Timble.BIT_COUNT * T02PartBinary.LENGTH;
|
||||
private V003Timble[] values = new V003Timble[T02PartBinary.LENGTH];
|
||||
public static int BIT_COUNT = V003Timble.BIT_COUNT * T02PartBinary.LENGTH();
|
||||
private V003Timble[] values = new V003Timble[T02PartBinary.LENGTH()];
|
||||
|
||||
public V006Tixte() {
|
||||
this(new V003Timble(), new V003Timble());
|
||||
|
|
|
@ -7,8 +7,8 @@ package love.distributedrebirth.numberxd.base2t;
|
|||
*/
|
||||
public final class V009Tyte implements BaseNumberTyte<V009Tyte> {
|
||||
|
||||
public static int BIT_COUNT = V003Timble.BIT_COUNT * T03PartTrit.LENGTH;
|
||||
private final V003Timble[] values = new V003Timble[T03PartTrit.LENGTH];
|
||||
public static int BIT_COUNT = V003Timble.BIT_COUNT * T03PartTrit.LENGTH();
|
||||
private final V003Timble[] values = new V003Timble[T03PartTrit.LENGTH()];
|
||||
|
||||
public V009Tyte() {
|
||||
this(new V003Timble(), new V003Timble(), new V003Timble());
|
||||
|
|
|
@ -7,8 +7,8 @@ package love.distributedrebirth.numberxd.base2t;
|
|||
*/
|
||||
public final class V012Tord implements BaseNumberTyte<V012Tord> {
|
||||
|
||||
public static int BIT_COUNT = V009Tyte.BIT_COUNT * T02PartBinary.LENGTH;
|
||||
private V009Tyte[] values = new V009Tyte[T02PartBinary.LENGTH];
|
||||
public static int BIT_COUNT = V009Tyte.BIT_COUNT * T02PartBinary.LENGTH();
|
||||
private V009Tyte[] values = new V009Tyte[T02PartBinary.LENGTH()];
|
||||
|
||||
public V012Tord() {
|
||||
this(new V009Tyte(), new V009Tyte());
|
||||
|
|
|
@ -7,8 +7,8 @@ package love.distributedrebirth.numberxd.base2t;
|
|||
*/
|
||||
public final class V01BTemvig implements BaseNumberTyte<V01BTemvig> {
|
||||
|
||||
public static int BIT_COUNT = V009Tyte.BIT_COUNT * T03PartTrit.LENGTH;
|
||||
private V009Tyte[] values = new V009Tyte[T03PartTrit.LENGTH];
|
||||
public static int BIT_COUNT = V009Tyte.BIT_COUNT * T03PartTrit.LENGTH();
|
||||
private V009Tyte[] values = new V009Tyte[T03PartTrit.LENGTH()];
|
||||
|
||||
public V01BTemvig() {
|
||||
this(new V009Tyte(), new V009Tyte(), new V009Tyte());
|
||||
|
|
|
@ -7,8 +7,8 @@ package love.distributedrebirth.numberxd.base2t;
|
|||
*/
|
||||
public final class V024Teger implements BaseNumberTyte<V024Teger> {
|
||||
|
||||
public static int BIT_COUNT = V012Tord.BIT_COUNT * T02PartBinary.LENGTH;
|
||||
private V012Tord[] values = new V012Tord[T02PartBinary.LENGTH];
|
||||
public static int BIT_COUNT = V012Tord.BIT_COUNT * T02PartBinary.LENGTH();
|
||||
private V012Tord[] values = new V012Tord[T02PartBinary.LENGTH()];
|
||||
|
||||
public V024Teger() {
|
||||
this(new V012Tord(), new V012Tord());
|
||||
|
|
|
@ -0,0 +1,47 @@
|
|||
package love.distributedrebirth.numberxd.base2t;
|
||||
|
||||
/**
|
||||
* Holds an 42 bit value.
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
public final class V02ATraw implements BaseNumber<V02ATraw> {
|
||||
|
||||
public static int BIT_COUNT = V006Tixte.BIT_COUNT * T07PartPlanIt.LENGTH();
|
||||
private V006Tixte[] values = new V006Tixte[T07PartPlanIt.LENGTH()];
|
||||
|
||||
public V02ATraw() {
|
||||
for (int i=0;i<values.length;i++) {
|
||||
this.values[i] = new V006Tixte();
|
||||
}
|
||||
}
|
||||
|
||||
public V02ATraw(T08PartOctalBaseIterator values) {
|
||||
for (int i=0;i<this.values.length;i++) {
|
||||
this.values[i] = new V006Tixte(values);
|
||||
}
|
||||
}
|
||||
|
||||
public V006Tixte getValue(T07PartPlanIt part) {
|
||||
return values[part.ordinal()];
|
||||
}
|
||||
|
||||
public void setValue(T07PartPlanIt part, V006Tixte value) {
|
||||
values[part.ordinal()] = value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getBitCount() {
|
||||
return BIT_COUNT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public V02ATraw toClone() {
|
||||
return new V02ATraw(iteratorOctalsByClone());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fillOctalsByClone(T08PartOctalBaseAppender appender) {
|
||||
T07PartPlanIt.forEach(v -> getValue(v).fillOctalsByClone(appender));
|
||||
}
|
||||
}
|
|
@ -7,8 +7,8 @@ package love.distributedrebirth.numberxd.base2t;
|
|||
*/
|
||||
public final class V048Tong implements BaseNumberTyte<V048Tong> {
|
||||
|
||||
public static int BIT_COUNT = V024Teger.BIT_COUNT * T02PartBinary.LENGTH;
|
||||
private V024Teger[] values = new V024Teger[T02PartBinary.LENGTH];
|
||||
public static int BIT_COUNT = V024Teger.BIT_COUNT * T02PartBinary.LENGTH();
|
||||
private V024Teger[] values = new V024Teger[T02PartBinary.LENGTH()];
|
||||
|
||||
public V048Tong() {
|
||||
this(new V024Teger(), new V024Teger());
|
||||
|
|
|
@ -7,8 +7,8 @@ package love.distributedrebirth.numberxd.base2t;
|
|||
*/
|
||||
public final class V090Tocta implements BaseNumberTyte<V090Tocta> {
|
||||
|
||||
public static int BIT_COUNT = V048Tong.BIT_COUNT * T02PartBinary.LENGTH;
|
||||
private V048Tong[] values = new V048Tong[T02PartBinary.LENGTH];
|
||||
public static int BIT_COUNT = V048Tong.BIT_COUNT * T02PartBinary.LENGTH();
|
||||
private V048Tong[] values = new V048Tong[T02PartBinary.LENGTH()];
|
||||
|
||||
public V090Tocta() {
|
||||
this(new V048Tong(), new V048Tong());
|
||||
|
|
|
@ -7,17 +7,17 @@ package love.distributedrebirth.numberxd.base2t;
|
|||
*/
|
||||
public class V654Triz implements BaseNumberTyte<V654Triz> {
|
||||
|
||||
public static int BIT_COUNT = V01BTemvig.BIT_COUNT * T60Sexagesimal.LENGTH;
|
||||
private V01BTemvig[] values = new V01BTemvig[T60Sexagesimal.LENGTH];
|
||||
public static int BIT_COUNT = V01BTemvig.BIT_COUNT * T60Sexagesimal.LENGTH();
|
||||
private V01BTemvig[] values = new V01BTemvig[T60Sexagesimal.LENGTH()];
|
||||
|
||||
public V654Triz() {
|
||||
for (int i=0;i<T60Sexagesimal.LENGTH;i++) {
|
||||
for (int i=0;i<this.values.length;i++) {
|
||||
this.values[i] = new V01BTemvig();
|
||||
}
|
||||
}
|
||||
|
||||
public V654Triz(T08PartOctalBaseIterator values) {
|
||||
for (int i=0;i<T60Sexagesimal.LENGTH;i++) {
|
||||
for (int i=0;i<this.values.length;i++) {
|
||||
this.values[i] = new V01BTemvig(values);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,47 @@
|
|||
package love.distributedrebirth.numberxd.base2t;
|
||||
|
||||
/**
|
||||
* Holds an 2520 bit value.
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
public class V9D8Traz implements BaseNumber<V9D8Traz> {
|
||||
|
||||
public static int BIT_COUNT = V02ATraw.BIT_COUNT * T60Sexagesimal.LENGTH();
|
||||
private V02ATraw[] values = new V02ATraw[T60Sexagesimal.LENGTH()];
|
||||
|
||||
public V9D8Traz() {
|
||||
for (int i=0;i<values.length;i++) {
|
||||
this.values[i] = new V02ATraw();
|
||||
}
|
||||
}
|
||||
|
||||
public V9D8Traz(T08PartOctalBaseIterator values) {
|
||||
for (int i=0;i<this.values.length;i++) {
|
||||
this.values[i] = new V02ATraw(values);
|
||||
}
|
||||
}
|
||||
|
||||
public V02ATraw getValue(T60Sexagesimal part) {
|
||||
return values[part.ordinal()];
|
||||
}
|
||||
|
||||
public void setValue(T60Sexagesimal part, V02ATraw value) {
|
||||
values[part.ordinal()] = value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getBitCount() {
|
||||
return BIT_COUNT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public V9D8Traz toClone() {
|
||||
return new V9D8Traz(iteratorOctalsByClone());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fillOctalsByClone(T08PartOctalBaseAppender appender) {
|
||||
T60Sexagesimal.forEach(v -> getValue(v).fillOctalsByClone(appender));
|
||||
}
|
||||
}
|
|
@ -7,8 +7,8 @@ package love.distributedrebirth.numberxd.base2t;
|
|||
*/
|
||||
public class VCA8Tath implements BaseNumberTyte<VCA8Tath> {
|
||||
|
||||
public static int BIT_COUNT = V654Triz.BIT_COUNT * T02PartBinary.LENGTH;
|
||||
private V654Triz[] values = new V654Triz[T02PartBinary.LENGTH];
|
||||
public static int BIT_COUNT = V654Triz.BIT_COUNT * T02PartBinary.LENGTH();
|
||||
private V654Triz[] values = new V654Triz[T02PartBinary.LENGTH()];
|
||||
|
||||
public VCA8Tath() {
|
||||
this(new V654Triz(), new V654Triz());
|
||||
|
|
Loading…
Reference in a new issue