diff --git a/numberxd/src/main/love/distributedrebirth/numberxd/GroßGetậl6ˢᴰ.java b/numberxd/src/main/love/distributedrebirth/numberxd/GroßGetậl6ˢᴰ.java index db129f8b..c09f3597 100644 --- a/numberxd/src/main/love/distributedrebirth/numberxd/GroßGetậl6ˢᴰ.java +++ b/numberxd/src/main/love/distributedrebirth/numberxd/GroßGetậl6ˢᴰ.java @@ -14,23 +14,23 @@ import love.distributedrebirth.numberxd.base2t.V009TyteBaseIterator; */ public class GroßGetậl6ˢᴰ implements BaseNumberTyte { - 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 { - 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 facetStore = new HashMap<>(); private static final Map TONE_MAP = Collections.unmodifiableMap( Arrays.asList(values()).stream().collect(Collectors.toMap(v -> v.getIdentifierTone(), v -> v))); diff --git a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T03PartTrit.java b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T03PartTrit.java index d8daa642..96350fea 100644 --- a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T03PartTrit.java +++ b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T03PartTrit.java @@ -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 facetStore = new HashMap<>(); private static final Map TONE_MAP = Collections.unmodifiableMap( Arrays.asList(values()).stream().collect(Collectors.toMap(v -> v.getIdentifierTone(), v -> v))); diff --git a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T04PartQuad.java b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T04PartQuad.java index 4414e10d..0e91d8c8 100644 --- a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T04PartQuad.java +++ b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T04PartQuad.java @@ -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 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"; diff --git a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T05PartPental.java b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T05PartPental.java index 22383bf2..82bff04e 100644 --- a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T05PartPental.java +++ b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T05PartPental.java @@ -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"; diff --git a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T06PartSeximal.java b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T06PartSeximal.java index 75f69ed1..56cb4051 100644 --- a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T06PartSeximal.java +++ b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T06PartSeximal.java @@ -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 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"; diff --git a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T07PartPlanIt.java b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T07PartPlanIt.java index 6dc0b4c4..bdd271bb 100644 --- a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T07PartPlanIt.java +++ b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T07PartPlanIt.java @@ -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 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"; diff --git a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T08PartOctal.java b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T08PartOctal.java index 1b8388d1..1ec3d928 100644 --- a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T08PartOctal.java +++ b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T08PartOctal.java @@ -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 facetStore = new HashMap<>(); diff --git a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T12PartUncial.java b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T12PartUncial.java index 94dfd79f..365ffd91 100644 --- a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T12PartUncial.java +++ b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T12PartUncial.java @@ -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 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"; diff --git a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T16PartHex.java b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T16PartHex.java index fec18f99..26b05761 100644 --- a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T16PartHex.java +++ b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T16PartHex.java @@ -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 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"; diff --git a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T20PartScore.java b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T20PartScore.java index e4e50b2e..ed02be66 100644 --- a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T20PartScore.java +++ b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T20PartScore.java @@ -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 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"; diff --git a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T60Sexagesimal.java b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T60Sexagesimal.java index 59f1dfd8..a79dd0ff 100644 --- a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T60Sexagesimal.java +++ b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/T60Sexagesimal.java @@ -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 facetStore = new HashMap<>(); private static final Map TONE_MAP = Collections.unmodifiableMap( Arrays.asList(values()).stream().collect(Collectors.toMap(v -> v.getIdentifierTone(), v -> v))); diff --git a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V006Tixte.java b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V006Tixte.java index e7d1be2a..93ea684f 100644 --- a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V006Tixte.java +++ b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V006Tixte.java @@ -7,8 +7,8 @@ package love.distributedrebirth.numberxd.base2t; */ public final class V006Tixte implements BaseNumber { - 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()); diff --git a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V009Tyte.java b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V009Tyte.java index 695851a1..6f32e64e 100644 --- a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V009Tyte.java +++ b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V009Tyte.java @@ -7,8 +7,8 @@ package love.distributedrebirth.numberxd.base2t; */ public final class V009Tyte implements BaseNumberTyte { - 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()); diff --git a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V012Tord.java b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V012Tord.java index 63ae779a..5497df19 100644 --- a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V012Tord.java +++ b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V012Tord.java @@ -7,8 +7,8 @@ package love.distributedrebirth.numberxd.base2t; */ public final class V012Tord implements BaseNumberTyte { - 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()); diff --git a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V01BTemvig.java b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V01BTemvig.java index 373d60d8..e3faf930 100644 --- a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V01BTemvig.java +++ b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V01BTemvig.java @@ -7,8 +7,8 @@ package love.distributedrebirth.numberxd.base2t; */ public final class V01BTemvig implements BaseNumberTyte { - 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()); diff --git a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V024Teger.java b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V024Teger.java index 61e02d79..2dd6e4a8 100644 --- a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V024Teger.java +++ b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V024Teger.java @@ -7,8 +7,8 @@ package love.distributedrebirth.numberxd.base2t; */ public final class V024Teger implements BaseNumberTyte { - 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()); diff --git a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V02ATraw.java b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V02ATraw.java new file mode 100644 index 00000000..dfb1d19a --- /dev/null +++ b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V02ATraw.java @@ -0,0 +1,47 @@ +package love.distributedrebirth.numberxd.base2t; + +/** + * Holds an 42 bit value. + * + * @author willemtsade ©Δ∞ 仙上主天 + */ +public final class V02ATraw implements BaseNumber { + + public static int BIT_COUNT = V006Tixte.BIT_COUNT * T07PartPlanIt.LENGTH(); + private V006Tixte[] values = new V006Tixte[T07PartPlanIt.LENGTH()]; + + public V02ATraw() { + for (int i=0;i getValue(v).fillOctalsByClone(appender)); + } +} diff --git a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V048Tong.java b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V048Tong.java index 6f68c32d..a6c0dd8c 100644 --- a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V048Tong.java +++ b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V048Tong.java @@ -7,8 +7,8 @@ package love.distributedrebirth.numberxd.base2t; */ public final class V048Tong implements BaseNumberTyte { - 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()); diff --git a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V090Tocta.java b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V090Tocta.java index f777a004..cb08bd86 100644 --- a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V090Tocta.java +++ b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V090Tocta.java @@ -7,8 +7,8 @@ package love.distributedrebirth.numberxd.base2t; */ public final class V090Tocta implements BaseNumberTyte { - 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()); diff --git a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V654Triz.java b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V654Triz.java index a4557218..dc60bb11 100644 --- a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V654Triz.java +++ b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/V654Triz.java @@ -7,17 +7,17 @@ package love.distributedrebirth.numberxd.base2t; */ public class V654Triz implements BaseNumberTyte { - 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 { + + public static int BIT_COUNT = V02ATraw.BIT_COUNT * T60Sexagesimal.LENGTH(); + private V02ATraw[] values = new V02ATraw[T60Sexagesimal.LENGTH()]; + + public V9D8Traz() { + for (int i=0;i getValue(v).fillOctalsByClone(appender)); + } +} diff --git a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/VCA8Tath.java b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/VCA8Tath.java index e05e7a4c..e9de3e85 100644 --- a/numberxd/src/main/love/distributedrebirth/numberxd/base2t/VCA8Tath.java +++ b/numberxd/src/main/love/distributedrebirth/numberxd/base2t/VCA8Tath.java @@ -7,8 +7,8 @@ package love.distributedrebirth.numberxd.base2t; */ public class VCA8Tath implements BaseNumberTyte { - 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());