All checks were successful
Run test asserts / Test-Asserts (push) Successful in 1m11s
369 lines
No EOL
8 KiB
Java
369 lines
No EOL
8 KiB
Java
/*
|
|
* 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 ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.ᐦ.TerminatorEnum𓄯;
|
|
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.ᐦ.Terminator注;
|
|
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.BabelẞlueText;
|
|
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.BabelẞlueText注;
|
|
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
|
|
|
/// Terminator of 256 slices of pie.
|
|
/// @author للَّٰهِilLצسُو
|
|
/// @version ©Δ∞ 仙上主天
|
|
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
|
@Terminator注(slices = 256, duytsName = T256ᖟ.ₜₓₜName.class, duytsChina = T256ᖟ.ₜₓₜChina.class)
|
|
public enum T256ᖟ implements TerminatorEnum𓄯<T256ᖟ> {
|
|
|
|
PART_1,
|
|
PART_2,
|
|
PART_3,
|
|
PART_4,
|
|
PART_5,
|
|
PART_6,
|
|
PART_7,
|
|
PART_8,
|
|
PART_9,
|
|
PART_10,
|
|
PART_11,
|
|
PART_12,
|
|
PART_13,
|
|
PART_14,
|
|
PART_15,
|
|
PART_16,
|
|
PART_17,
|
|
PART_18,
|
|
PART_19,
|
|
PART_20,
|
|
PART_21,
|
|
PART_22,
|
|
PART_23,
|
|
PART_24,
|
|
PART_25,
|
|
PART_26,
|
|
PART_27,
|
|
PART_28,
|
|
PART_29,
|
|
PART_30,
|
|
PART_31,
|
|
PART_32,
|
|
PART_33,
|
|
PART_34,
|
|
PART_35,
|
|
PART_36,
|
|
PART_37,
|
|
PART_38,
|
|
PART_39,
|
|
PART_40,
|
|
PART_41,
|
|
PART_42,
|
|
PART_43,
|
|
PART_44,
|
|
PART_45,
|
|
PART_46,
|
|
PART_47,
|
|
PART_48,
|
|
PART_49,
|
|
PART_50,
|
|
PART_51,
|
|
PART_52,
|
|
PART_53,
|
|
PART_54,
|
|
PART_55,
|
|
PART_56,
|
|
PART_57,
|
|
PART_58,
|
|
PART_59,
|
|
PART_60,
|
|
PART_61,
|
|
PART_62,
|
|
PART_63,
|
|
PART_64,
|
|
PART_65,
|
|
PART_66,
|
|
PART_67,
|
|
PART_68,
|
|
PART_69,
|
|
PART_70,
|
|
PART_71,
|
|
PART_72,
|
|
PART_73,
|
|
PART_74,
|
|
PART_75,
|
|
PART_76,
|
|
PART_77,
|
|
PART_78,
|
|
PART_79,
|
|
PART_80,
|
|
PART_81,
|
|
PART_82,
|
|
PART_83,
|
|
PART_84,
|
|
PART_85,
|
|
PART_86,
|
|
PART_87,
|
|
PART_88,
|
|
PART_89,
|
|
PART_90,
|
|
PART_91,
|
|
PART_92,
|
|
PART_93,
|
|
PART_94,
|
|
PART_95,
|
|
PART_96,
|
|
PART_97,
|
|
PART_98,
|
|
PART_99,
|
|
PART_100,
|
|
PART_101,
|
|
PART_102,
|
|
PART_103,
|
|
PART_104,
|
|
PART_105,
|
|
PART_106,
|
|
PART_107,
|
|
PART_108,
|
|
PART_109,
|
|
PART_110,
|
|
PART_111,
|
|
PART_112,
|
|
PART_113,
|
|
PART_114,
|
|
PART_115,
|
|
PART_116,
|
|
PART_117,
|
|
PART_118,
|
|
PART_119,
|
|
PART_120,
|
|
PART_121,
|
|
PART_122,
|
|
PART_123,
|
|
PART_124,
|
|
PART_125,
|
|
PART_126,
|
|
PART_127,
|
|
PART_128,
|
|
PART_129,
|
|
PART_130,
|
|
PART_131,
|
|
PART_132,
|
|
PART_133,
|
|
PART_134,
|
|
PART_135,
|
|
PART_136,
|
|
PART_137,
|
|
PART_138,
|
|
PART_139,
|
|
PART_140,
|
|
PART_141,
|
|
PART_142,
|
|
PART_143,
|
|
PART_144,
|
|
PART_145,
|
|
PART_146,
|
|
PART_147,
|
|
PART_148,
|
|
PART_149,
|
|
PART_150,
|
|
PART_151,
|
|
PART_152,
|
|
PART_153,
|
|
PART_154,
|
|
PART_155,
|
|
PART_156,
|
|
PART_157,
|
|
PART_158,
|
|
PART_159,
|
|
PART_160,
|
|
PART_161,
|
|
PART_162,
|
|
PART_163,
|
|
PART_164,
|
|
PART_165,
|
|
PART_166,
|
|
PART_167,
|
|
PART_168,
|
|
PART_169,
|
|
PART_170,
|
|
PART_171,
|
|
PART_172,
|
|
PART_173,
|
|
PART_174,
|
|
PART_175,
|
|
PART_176,
|
|
PART_177,
|
|
PART_178,
|
|
PART_179,
|
|
PART_180,
|
|
PART_181,
|
|
PART_182,
|
|
PART_183,
|
|
PART_184,
|
|
PART_185,
|
|
PART_186,
|
|
PART_187,
|
|
PART_188,
|
|
PART_189,
|
|
PART_190,
|
|
PART_191,
|
|
PART_192,
|
|
PART_193,
|
|
PART_194,
|
|
PART_195,
|
|
PART_196,
|
|
PART_197,
|
|
PART_198,
|
|
PART_199,
|
|
PART_200,
|
|
PART_201,
|
|
PART_202,
|
|
PART_203,
|
|
PART_204,
|
|
PART_205,
|
|
PART_206,
|
|
PART_207,
|
|
PART_208,
|
|
PART_209,
|
|
PART_210,
|
|
PART_211,
|
|
PART_212,
|
|
PART_213,
|
|
PART_214,
|
|
PART_215,
|
|
PART_216,
|
|
PART_217,
|
|
PART_218,
|
|
PART_219,
|
|
PART_220,
|
|
PART_221,
|
|
PART_222,
|
|
PART_223,
|
|
PART_224,
|
|
PART_225,
|
|
PART_226,
|
|
PART_227,
|
|
PART_228,
|
|
PART_229,
|
|
PART_230,
|
|
PART_231,
|
|
PART_232,
|
|
PART_233,
|
|
PART_234,
|
|
PART_235,
|
|
PART_236,
|
|
PART_237,
|
|
PART_238,
|
|
PART_239,
|
|
PART_240,
|
|
PART_241,
|
|
PART_242,
|
|
PART_243,
|
|
PART_244,
|
|
PART_245,
|
|
PART_246,
|
|
PART_247,
|
|
PART_248,
|
|
PART_249,
|
|
PART_250,
|
|
PART_251,
|
|
PART_252,
|
|
PART_253,
|
|
PART_254,
|
|
PART_255,
|
|
PART_256,
|
|
;
|
|
public final static T256ᖟ 亞 = T256ᖟ.PART_1;
|
|
private final static T256ᖟ[] 亞ᴬᴸᴸ = T256ᖟ.values(); // values() is a very slow method
|
|
private final BãßBȍőnCoffinԲ ghostsInAShell = 亞ᶦᶦᶦ.thisʸᴰᐧᐧˡᶦᵍʰᵗˢᵃᵇᵉʳ(thisᵀᴮᵒⁿᵉ());
|
|
|
|
private T256ᖟ() {
|
|
亞ᶦᶦᶦᶦ.thisʸᴰᐧᐧᶜᵒⁿˢᵗʳᵘᶜᵗᵒʳᐧᐧיהוה(thisᵀᴮᵒⁿᵉ());
|
|
}
|
|
|
|
@Override
|
|
public BãßBȍőnCoffinԲ thisᵀᴮᵒⁿᵉᴳʳᵃᵛᵉ() {
|
|
return ghostsInAShell;
|
|
}
|
|
|
|
@Override
|
|
public long zerdinalSpaceBoundary() {
|
|
return valuesLength();
|
|
}
|
|
|
|
@Override
|
|
public T256ᖟ zerdinalMaterializeSpace(long zerdinal) {
|
|
return valueOf((int) zerdinal);
|
|
}
|
|
|
|
public byte ordinalᴮʸᵗᵉ() {
|
|
return (byte) ordinal();
|
|
}
|
|
|
|
public static byte[] convertᴬᴸᴸ(final T256ᖟ[] data) {
|
|
final int dataLength = data.length;
|
|
final byte[] result = new byte[dataLength];
|
|
for (int i=0;i<dataLength;i++) {
|
|
result[i] = data[i].ordinalᴮʸᵗᵉ();
|
|
}
|
|
return result;
|
|
}
|
|
|
|
public static T256ᖟ[] convertᴬᴸᴸ(final byte[] data) {
|
|
final int dataLength = data.length;
|
|
final T256ᖟ[] result = new T256ᖟ[dataLength];
|
|
for (int i=0;i<dataLength;i++) {
|
|
result[i] = 亞ᴬᴸᴸ[Byte.toUnsignedInt(data[i])]; // signed bytes are nasty in java...
|
|
}
|
|
return result;
|
|
}
|
|
|
|
public static T256ᖟ 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 = "bytiansimal") // TODO: rename to "octetsimal" 8 bits: octet, commonly also called byte
|
|
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 = "greek math letters")
|
|
protected enum ₜₓₜChina implements BabelẞlueText {}
|
|
}
|
|
|