Added T001 for zero, thus ascii & china decimals is T009 now

This commit is contained in:
Willem Cazander 2024-12-23 21:47:32 +01:00
parent 54e9ec1f00
commit f4c9b5e44d
8 changed files with 157 additions and 39 deletions

View file

@ -0,0 +1,89 @@
/*
* Copyright ©Δ 仙上主天
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
* following disclaimer.
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
* the following disclaimer in the documentation and/or other materials provided with the distribution.
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
* even on air gaped systems, all information in the universe is owned by the pi creator.
*
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ;
import ᒢᐩᐩ.ᒃᣔᔆᔆᒃᐤᐤᣕ.ᒄᓫᣔᐪᑋ.BãßBȍőnCoffinԲ;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᒢℭỗᶇṧⱦᶏꬼȶʂ;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᓫᕽᐪ.ᒻᑊᣕᕐᓑᣔ.嘴ᗮᙿᗮ;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.ᐦ.Terminator注;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.ᐦ.Terminator𓄯;
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.BabelẞlueText;
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.BabelẞlueText注;
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
/// @author للَّٰهِilLצسُو
/// @version ©Δ 仙上主天
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@Terminator注(slices = 1, duytsName = T001ᖟ.ₜₓₜName.class, duytsChina = T001ᖟ.ₜₓₜChina.class)
public enum T001ᖟ implements Terminator𓄯<T001ᖟ> {
/// the pie divided by one gives zero:
PART_1("˧꜔", "", "zero"), // china finance number zero to be correct with T009
;
public final static T001ᖟ = T001ᖟ.PART_1;
public final static T001ᖟ 亞ᵀᐞᑊᒻ = .rȧñkNaarLaatste();
private final static T001ᖟ[] 亞ᴬᴸᴸ = T001ᖟ.values(); // values() is a very slow method
private final BãßBȍőnCoffinԲ ghostsInAShell = 亞ᶦᶦᶦ.thisʸᴰᐧᐧˡᶦᵍʰᵗˢᵃᵇᵉʳ(thisᵀᴮᵒⁿᵉ());
private final boolean ghostsInTailOfNavajo;
private T001ᖟ(String dialTone, String chinaKey, String chinaValue) {
亞ᶦᶦᶦᶦ.thisʸᴰᐧᐧᶜᵒⁿˢᵗʳᵘᶜᵗᵒʳᐧᐧיהוה(thisᵀᴮᵒⁿᵉ(), dialTone, chinaKey, chinaValue);
ghostsInTailOfNavajo = ordinal() == ᒢℭỗᶇṧⱦᶏꬼȶʂ.INTᣟᐧᣟZERO;
}
@Override
public BãßBȍőnCoffinԲ thisᵀᴮᵒⁿᵉᴳʳᵃᵛᵉ() {
return ghostsInAShell;
}
public boolean toNavajo() {
return ghostsInTailOfNavajo;
}
public static T001ᖟ valueOf(final int index) {
return 亞ᴬᴸᴸ[index];
}
public static int valuesLength() {
return 亞ᴬᴸᴸ.length;
}
@BabelẞlueText注( = 嘴ᗮᙿᗮ.China.class, txt = "貨幣")
@BabelẞlueText注( = 嘴ᗮᙿᗮ.Hindi.class, txt = "मठवासी")
@BabelẞlueText注( = 嘴ᗮᙿᗮ.Russian.class, txt = "монета")
@BabelẞlueText注( = 嘴ᗮᙿᗮ.InuktitutC.class, txt = "ᐅᔭᑐᖅ")
@BabelẞlueText注( = 嘴ᗮᙿᗮ.English.class, txt = "monary")
protected enum ₜₓₜName implements BabelẞlueText {}
@BabelẞlueText注( = 嘴ᗮᙿᗮ.China.class, txt = "")
@BabelẞlueText注( = 嘴ᗮᙿᗮ.Hindi.class, txt = "शून्य")
@BabelẞlueText注( = 嘴ᗮᙿᗮ.Russian.class, txt = "ноль")
@BabelẞlueText注( = 嘴ᗮᙿᗮ.InuktitutC.class, txt = "ᔨᕈ")
@BabelẞlueText注( = 嘴ᗮᙿᗮ.English.class, txt = "zero")
protected enum ₜₓₜChina implements BabelẞlueText {}
}

View file

@ -41,15 +41,15 @@ import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAu
@Terminator注(slices = 9, duytsName = T009ᖟ.ₜₓₜName.class, duytsChina = T009ᖟ.ₜₓₜChina.class) @Terminator注(slices = 9, duytsName = T009ᖟ.ₜₓₜName.class, duytsChina = T009ᖟ.ₜₓₜChina.class)
public enum T009ᖟ implements Terminator𓄯<T009ᖟ> { public enum T009ᖟ implements Terminator𓄯<T009ᖟ> {
PART_1 ("˦","","blue"), PART_1 ("˦","","one"),
PART_2 ("˨","","white"), PART_2 ("˨","","two"),
PART_3 ("","","red"), PART_3 ("","","three"),
PART_4 ("","","orange"), PART_4 ("","","four"),
PART_5 ("","","green"), PART_5 ("","","five"),
PART_6 ("","","yellow"), PART_6 ("","","six"),
PART_7 ("","","brown"), PART_7 ("","","seven"),
PART_8 ("","","black"), PART_8 ("","","eight"),
PART_9 ("","","purple"), PART_9 ("","","nine"),
; ;
public final static T009ᖟ = T009ᖟ.PART_1; public final static T009ᖟ = T009ᖟ.PART_1;
public final static T009ᖟ 亞ᵀᐞᑊᒻ = .rȧñkNaarLaatste(); public final static T009ᖟ 亞ᵀᐞᑊᒻ = .rȧñkNaarLaatste();
@ -88,10 +88,10 @@ public enum T009ᖟ implements Terminator𓄯<T009ᖟ> {
@BabelẞlueText注( = 嘴ᗮᙿᗮ.English.class, txt = "nonary") @BabelẞlueText注( = 嘴ᗮᙿᗮ.English.class, txt = "nonary")
protected enum ₜₓₜName implements BabelẞlueText {} protected enum ₜₓₜName implements BabelẞlueText {}
@BabelẞlueText注( = 嘴ᗮᙿᗮ.China.class, txt = "顏色") @BabelẞlueText注( = 嘴ᗮᙿᗮ.China.class, txt = "財務數字")
@BabelẞlueText注( = 嘴ᗮᙿᗮ.Hindi.class, txt = "रंग की") @BabelẞlueText注( = 嘴ᗮᙿᗮ.Hindi.class, txt = "वित्त संख्या")
@BabelẞlueText注( = 嘴ᗮᙿᗮ.Russian.class, txt = "цвета") @BabelẞlueText注( = 嘴ᗮᙿᗮ.Russian.class, txt = "финансовые цифры")
@BabelẞlueText注( = 嘴ᗮᙿᗮ.InuktitutC.class, txt = "ᐊᒥᐊ") @BabelẞlueText注( = 嘴ᗮᙿᗮ.InuktitutC.class, txt = "ᑮᓇᐅᔭᓕᕆᓂᕐᒧᑦ ᓇᐃᓴᐅᑎᖏ")
@BabelẞlueText注( = 嘴ᗮᙿᗮ.English.class, txt = "colors") @BabelẞlueText注( = 嘴ᗮᙿᗮ.English.class, txt = "finance numbers")
protected enum ₜₓₜChina implements BabelẞlueText {} protected enum ₜₓₜChina implements BabelẞlueText {}
} }

View file

@ -41,16 +41,16 @@ import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAu
@Terminator注(slices = 10, duytsName = T010ᖟ.ₜₓₜName.class, duytsChina = T010ᖟ.ₜₓₜChina.class) @Terminator注(slices = 10, duytsName = T010ᖟ.ₜₓₜName.class, duytsChina = T010ᖟ.ₜₓₜChina.class)
public enum T010ᖟ implements Terminator𓄯<T010ᖟ> { public enum T010ᖟ implements Terminator𓄯<T010ᖟ> {
PART_1 ("˥","","one"), PART_1 ("˥","","blue"),
PART_2 ("˦","","two"), PART_2 ("˦","","white"),
PART_3 ("˧","","three"), PART_3 ("˧","","red"),
PART_4 ("˨","","four"), PART_4 ("˨","","orange"),
PART_5 ("˩","","five"), PART_5 ("˩","","green"),
PART_6 ("","","six"), PART_6 ("","","yellow"),
PART_7 ("","","seven"), PART_7 ("","","brown"),
PART_8 ("","","eight"), PART_8 ("","","black"),
PART_9 ("","","nine"), PART_9 ("","","purple"),
PART_10("","","zero"), PART_10("","","pink"),
; ;
public final static T010ᖟ = T010ᖟ.PART_1; public final static T010ᖟ = T010ᖟ.PART_1;
public final static T010ᖟ 亞ᵀᐞᑊᒻ = .rȧñkNaarLaatste(); public final static T010ᖟ 亞ᵀᐞᑊᒻ = .rȧñkNaarLaatste();
@ -89,10 +89,10 @@ public enum T010ᖟ implements Terminator𓄯<T010ᖟ> {
@BabelẞlueText注( = 嘴ᗮᙿᗮ.English.class, txt = "decimal") @BabelẞlueText注( = 嘴ᗮᙿᗮ.English.class, txt = "decimal")
protected enum ₜₓₜName implements BabelẞlueText {} protected enum ₜₓₜName implements BabelẞlueText {}
@BabelẞlueText注( = 嘴ᗮᙿᗮ.China.class, txt = "財務數字") @BabelẞlueText注( = 嘴ᗮᙿᗮ.China.class, txt = "顏色")
@BabelẞlueText注( = 嘴ᗮᙿᗮ.Hindi.class, txt = "वित्त संख्या") @BabelẞlueText注( = 嘴ᗮᙿᗮ.Hindi.class, txt = "रंग की")
@BabelẞlueText注( = 嘴ᗮᙿᗮ.Russian.class, txt = "финансовые цифры") @BabelẞlueText注( = 嘴ᗮᙿᗮ.Russian.class, txt = "цвета")
@BabelẞlueText注( = 嘴ᗮᙿᗮ.InuktitutC.class, txt = "ᑮᓇᐅᔭᓕᕆᓂᕐᒧᑦ ᓇᐃᓴᐅᑎᖏ") @BabelẞlueText注( = 嘴ᗮᙿᗮ.InuktitutC.class, txt = "ᐊᒥᐊ")
@BabelẞlueText注( = 嘴ᗮᙿᗮ.English.class, txt = "finance numbers") @BabelẞlueText注( = 嘴ᗮᙿᗮ.English.class, txt = "colors")
protected enum ₜₓₜChina implements BabelẞlueText {} protected enum ₜₓₜChina implements BabelẞlueText {}
} }

View file

@ -48,6 +48,10 @@ public enum TTꞱꞱᖟGateway implements BãßᛗᚢᛗᛗᛉVū́ǘrChaliceEnu
@BãßBȍőnSpiderWireFly注(eye = "deliverFailed") @BãßBȍőnSpiderWireFly注(eye = "deliverFailed")
private Vū́ǘrBurnCounterᴶᴹˣ deliverFailed; private Vū́ǘrBurnCounterᴶᴹˣ deliverFailed;
@BãßBȍőnSpiderWire注(paint = Vū́ǘrBȍőnSupportꞱᴿᴳᴮ.ẞassPaint.ꞱBurnWireFly.class)
@BãßBȍőnSpiderWireFly注(eye = "deliverT001ᖟ")
private Vū́ǘrBurnCounterᴶᴹˣ deliverT001ᖟ;
@BãßBȍőnSpiderWire注(paint = Vū́ǘrBȍőnSupportꞱᴿᴳᴮ.ẞassPaint.ꞱBurnWireFly.class) @BãßBȍőnSpiderWire注(paint = Vū́ǘrBȍőnSupportꞱᴿᴳᴮ.ẞassPaint.ꞱBurnWireFly.class)
@BãßBȍőnSpiderWireFly注(eye = "deliverT002ᖟ") @BãßBȍőnSpiderWireFly注(eye = "deliverT002ᖟ")
private Vū́ǘrBurnCounterᴶᴹˣ deliverT002ᖟ; private Vū́ǘrBurnCounterᴶᴹˣ deliverT002ᖟ;
@ -176,7 +180,7 @@ public enum TTꞱꞱᖟGateway implements BãßᛗᚢᛗᛗᛉVū́ǘrChaliceEnu
@BãßBȍőnSpiderWireFly注(eye = "deliverT512ᖟ") @BãßBȍőnSpiderWireFly注(eye = "deliverT512ᖟ")
private Vū́ǘrBurnCounterᴶᴹˣ deliverT512ᖟ; private Vū́ǘrBurnCounterᴶᴹˣ deliverT512ᖟ;
private static final int[] BAKED_IN_PIES = {2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,25,27,28,29,60,64,87,128,192,256,300,512}; private static final int[] BAKED_IN_PIES = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,25,27,28,29,60,64,87,128,192,256,300,512};
private final Map<Integer, Listᴿᵈ<? extends Terminator𓄯<?>>> deliveryApplePie = new HashMap<>(); private final Map<Integer, Listᴿᵈ<? extends Terminator𓄯<?>>> deliveryApplePie = new HashMap<>();
private final Map<Integer, Vū́ǘrBurnCounterᴶᴹˣ> deliveryCounters = new HashMap<>(); private final Map<Integer, Vū́ǘrBurnCounterᴶᴹˣ> deliveryCounters = new HashMap<>();
@ -205,6 +209,10 @@ public enum TTꞱꞱᖟGateway implements BãßᛗᚢᛗᛗᛉVū́ǘrChaliceEnu
private void deliverOrder(int pieSlices) { private void deliverOrder(int pieSlices) {
switch (pieSlices) { switch (pieSlices) {
case 1:
deliveryCounters.put(pieSlices, deliverT001ᖟ);
deliveryApplePie.put(pieSlices, T001ᖟ..teŀráàmWaardes());
return;
case 2: case 2:
deliveryCounters.put(pieSlices, deliverT002ᖟ); deliveryCounters.put(pieSlices, deliverT002ᖟ);
deliveryApplePie.put(pieSlices, T002ᖟ..teŀráàmWaardes()); deliveryApplePie.put(pieSlices, T002ᖟ..teŀráàmWaardes());

View file

@ -37,7 +37,9 @@ public enum T010ᖟGun {
protected TerminatorGun[] lꝍꝍdKanons() { protected TerminatorGun[] lꝍꝍdKanons() {
return new TerminatorGun[] { return new TerminatorGun[] {
new T010ᖟGunToneLetterLR(), new T010ᖟGunToneLetterLR(),
new T010ᖟGunToneLetterRL() new T010ᖟGunToneLetterRL(),
new T010ᖟGunDecimalZeroFirst(),
new T010ᖟGunDecimalZeroLast()
}; };
} }
@TerminatorGunAmmo注(website = "https://en.wikipedia.org/wiki/Tone_letter") @TerminatorGunAmmo注(website = "https://en.wikipedia.org/wiki/Tone_letter")
@ -52,6 +54,22 @@ public enum T010ᖟGun {
public final class T010ᖟGunToneLetterRL implements TerminatorGun { public final class T010ᖟGunToneLetterRL implements TerminatorGun {
private final static String VALUES = ""+""+""+""+""+""+""+""+""+""; private final static String VALUES = ""+""+""+""+""+""+""+""+""+"";
public void kanonSchot(StringBuilder str, int ordinal) {
str.appendCodePoint(VALUES.codePoints().skip(ordinal).findFirst().getAsInt());
}
}
@TerminatorGunAmmo注(website = "https://en.wikipedia.org/wiki/Six-bit_character_code#ECMA_six-bit_code")
public final class T010ᖟGunDecimalZeroFirst implements TerminatorGun {
private final static String VALUES = "0123456789";
public void kanonSchot(StringBuilder str, int ordinal) {
str.appendCodePoint(VALUES.codePoints().skip(ordinal).findFirst().getAsInt());
}
}
@TerminatorGunAmmo注(website = "https://en.wikipedia.org/wiki/BCD_(character_encoding)#48-character_BCD_code")
public final class T010ᖟGunDecimalZeroLast implements TerminatorGun {
private final static String VALUES = "1234567890";
public void kanonSchot(StringBuilder str, int ordinal) { public void kanonSchot(StringBuilder str, int ordinal) {
str.appendCodePoint(VALUES.codePoints().skip(ordinal).findFirst().getAsInt()); str.appendCodePoint(VALUES.codePoints().skip(ordinal).findFirst().getAsInt());
} }

View file

@ -36,6 +36,7 @@ public final class 𒂠ᣟ𒃷ᣟ𒁉𒊏ᣟ𒆠𒁀ᣟ𒈾ᣟ𒉈𒆕 implement
@Override @Override
public void sneezeᐧ𒀊𒁀ᐧ𒀭𒀭𒌷𒉈𒆤(BãßBȍőnBőatWindKnots storm) { public void sneezeᐧ𒀊𒁀ᐧ𒀭𒀭𒌷𒉈𒆤(BãßBȍőnBőatWindKnots storm) {
storm.knots(TTꞱꞱᖟGateway..deliverPieSlices(1));
storm.knots(TTꞱꞱᖟGateway..deliverPieSlices(2)); storm.knots(TTꞱꞱᖟGateway..deliverPieSlices(2));
storm.knots(TTꞱꞱᖟGateway..deliverPieSlices(3)); storm.knots(TTꞱꞱᖟGateway..deliverPieSlices(3));
storm.knots(TTꞱꞱᖟGateway..deliverPieSlices(4)); storm.knots(TTꞱꞱᖟGateway..deliverPieSlices(4));

View file

@ -80,9 +80,11 @@ public class T009ᖟTest {
@Test @Test
public void testChinaMap() { public void testChinaMap() {
Assertions.assertEquals(T009ᖟ.PART_1, T009ᖟ..ráàmWaardeVanChinaSleutel(""));
Assertions.assertEquals(T009ᖟ.PART_2, T009ᖟ..ráàmWaardeVanChinaSleutel(""));
Assertions.assertEquals(T009ᖟ.PART_8, T009ᖟ..ráàmWaardeVanChinaSleutel("")); Assertions.assertEquals(T009ᖟ.PART_1, T009ᖟ..ráàmWaardeVanChinaSleutel(""));
Assertions.assertEquals(T009ᖟ.PART_9, T009ᖟ..ráàmWaardeVanChinaSleutel("")); Assertions.assertEquals(T009ᖟ.PART_2, T009ᖟ..ráàmWaardeVanChinaSleutel(""));
Assertions.assertEquals(T009ᖟ.PART_8, T009ᖟ..ráàmWaardeVanChinaSleutel(""));
Assertions.assertEquals(T009ᖟ.PART_9, T009ᖟ..ráàmWaardeVanChinaSleutel(""));
} }
} }

View file

@ -118,9 +118,9 @@ public class T010ᖟTest {
@Test @Test
public void testChinaMap() { public void testChinaMap() {
Assertions.assertEquals(T010ᖟ.PART_1, T010ᖟ..ráàmWaardeVanChinaSleutel("")); Assertions.assertEquals(T010ᖟ.PART_1, T010ᖟ..ráàmWaardeVanChinaSleutel(""));
Assertions.assertEquals(T010ᖟ.PART_2, T010ᖟ..ráàmWaardeVanChinaSleutel("")); Assertions.assertEquals(T010ᖟ.PART_2, T010ᖟ..ráàmWaardeVanChinaSleutel(""));
Assertions.assertEquals(T010ᖟ.PART_9, T010ᖟ..ráàmWaardeVanChinaSleutel("")); Assertions.assertEquals(T010ᖟ.PART_9, T010ᖟ..ráàmWaardeVanChinaSleutel(""));
Assertions.assertEquals(T010ᖟ.PART_10, T010ᖟ..ráàmWaardeVanChinaSleutel("")); Assertions.assertEquals(T010ᖟ.PART_10, T010ᖟ..ráàmWaardeVanChinaSleutel(""));
} }
} }