prepare for real dialtones
This commit is contained in:
parent
bb0c0c937a
commit
c99b8b2381
|
@ -31,9 +31,9 @@ public interface BãßBȍőnNumberMatrixʸᴰ<T extends BãßBȍőnNumberMatrix
|
|||
}
|
||||
|
||||
@SafeVarargs
|
||||
public static <Y extends BãßBȍőnNumberMatrixʸᴰ<Y>> void יהוהʸᴰ(Y boon, int dialTone, int...args) {
|
||||
public static <Y extends BãßBȍőnNumberMatrixʸᴰ<Y>> void יהוהʸᴰ(Y boon, String dialTone, int...args) {
|
||||
Bãß.石棺ʸᴰ.ײاللهזأَكْبَرײ.𓂀ױןייזדזיודזיןןזזזןױ𓉢(boon);
|
||||
boon.toBBC().NOISE_OF(BãßBȍőnAbacusEnumBase響ᴼᶠ.class).rȧñkRingToonInluiden(Integer.toHexString(dialTone).toUpperCase());
|
||||
boon.toBBC().NOISE_OF(BãßBȍőnAbacusEnumBase響ᴼᶠ.class).rȧñkRingToonInluiden(dialTone);
|
||||
boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª₮ḕ.class).PUT_GHOST_LIST(GHOST_NUMBER_BLOCK);
|
||||
for (int arg:args) {
|
||||
boon.toBBC().UNHOLY_SPELL(Ꝑŕḯṿª₮ḕ.class).GHOST_LIST_INT(GHOST_NUMBER_BLOCK).add(arg);
|
||||
|
|
|
@ -5,13 +5,13 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注;
|
|||
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
@BãßBȍőnNumberMatrix注(dimension = 2)
|
||||
public enum M02MatrixBinary implements BãßBȍőnNumberMatrixʸᴰ<M02MatrixBinary> {
|
||||
M_01(0x1,1,0),
|
||||
M_02(0x2,0,1),
|
||||
M_01("0x1",1,0),
|
||||
M_02("0x2",0,1),
|
||||
;
|
||||
|
||||
public final static M02MatrixBinary STATIC = M02MatrixBinary.M_01;
|
||||
|
||||
private M02MatrixBinary(int dialTone, int...args) {
|
||||
private M02MatrixBinary(String dialTone, int...args) {
|
||||
BãßBȍőnNumberMatrixʸᴰ.Ꝑŕḯṿª₮ḕ.יהוהʸᴰ(this, dialTone, args);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,17 +5,17 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注;
|
|||
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
@BãßBȍőnNumberMatrix注(dimension = 3)
|
||||
public enum M03MatrixTrit implements BãßBȍőnNumberMatrixʸᴰ<M03MatrixTrit> {
|
||||
M_005(0x05,2,1,0),
|
||||
M_007(0x07,1,2,0),
|
||||
M_011(0x0B,2,0,1),
|
||||
M_015(0x0F,0,2,1),
|
||||
M_019(0x13,1,0,2),
|
||||
M_021(0x15,0,1,2),
|
||||
M_005("0x05",2,1,0),
|
||||
M_007("0x07",1,2,0),
|
||||
M_011("0x0B",2,0,1),
|
||||
M_015("0x0F",0,2,1),
|
||||
M_019("0x13",1,0,2),
|
||||
M_021("0x15",0,1,2),
|
||||
;
|
||||
|
||||
public final static M03MatrixTrit STATIC = M03MatrixTrit.M_005;
|
||||
|
||||
private M03MatrixTrit(int dialTone, int...args) {
|
||||
private M03MatrixTrit(String dialTone, int...args) {
|
||||
BãßBȍőnNumberMatrixʸᴰ.Ꝑŕḯṿª₮ḕ.יהוהʸᴰ(this, dialTone, args);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,35 +5,35 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注;
|
|||
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
@BãßBȍőnNumberMatrix注(dimension = 4)
|
||||
public enum M04MatrixQuad implements BãßBȍőnNumberMatrixʸᴰ<M04MatrixQuad> {
|
||||
M_0027(0x01B,3,2,1,0),
|
||||
M_0030(0x01E,2,3,1,0),
|
||||
M_0039(0x027,3,1,2,0),
|
||||
M_0045(0x02D,1,3,2,0),
|
||||
M_0054(0x036,2,1,3,0),
|
||||
M_0057(0x039,1,2,3,0),
|
||||
M_0075(0x04B,3,2,0,1),
|
||||
M_0078(0x04E,2,3,0,1),
|
||||
M_0099(0x063,3,0,2,1),
|
||||
M_0108(0x06C,0,3,2,1),
|
||||
M_0114(0x072,2,0,3,1),
|
||||
M_0120(0x078,0,2,3,1),
|
||||
M_0135(0x087,3,1,0,2),
|
||||
M_0141(0x08D,1,3,0,2),
|
||||
M_0147(0x093,3,0,1,2),
|
||||
M_0156(0x09C,0,3,1,2),
|
||||
M_0177(0x0B1,1,0,3,2),
|
||||
M_0180(0x0B4,0,1,3,2),
|
||||
M_0198(0x0C6,2,1,0,3),
|
||||
M_0201(0x0C9,1,2,0,3),
|
||||
M_0210(0x0D2,2,0,1,3),
|
||||
M_0216(0x0D8,0,2,1,3),
|
||||
M_0225(0x0E1,1,0,2,3),
|
||||
M_0228(0x0E4,0,1,2,3),
|
||||
M_0027("0x01B",3,2,1,0),
|
||||
M_0030("0x01E",2,3,1,0),
|
||||
M_0039("0x027",3,1,2,0),
|
||||
M_0045("0x02D",1,3,2,0),
|
||||
M_0054("0x036",2,1,3,0),
|
||||
M_0057("0x039",1,2,3,0),
|
||||
M_0075("0x04B",3,2,0,1),
|
||||
M_0078("0x04E",2,3,0,1),
|
||||
M_0099("0x063",3,0,2,1),
|
||||
M_0108("0x06C",0,3,2,1),
|
||||
M_0114("0x072",2,0,3,1),
|
||||
M_0120("0x078",0,2,3,1),
|
||||
M_0135("0x087",3,1,0,2),
|
||||
M_0141("0x08D",1,3,0,2),
|
||||
M_0147("0x093",3,0,1,2),
|
||||
M_0156("0x09C",0,3,1,2),
|
||||
M_0177("0x0B1",1,0,3,2),
|
||||
M_0180("0x0B4",0,1,3,2),
|
||||
M_0198("0x0C6",2,1,0,3),
|
||||
M_0201("0x0C9",1,2,0,3),
|
||||
M_0210("0x0D2",2,0,1,3),
|
||||
M_0216("0x0D8",0,2,1,3),
|
||||
M_0225("0x0E1",1,0,2,3),
|
||||
M_0228("0x0E4",0,1,2,3),
|
||||
;
|
||||
|
||||
public final static M04MatrixQuad STATIC = M04MatrixQuad.M_0027;
|
||||
|
||||
private M04MatrixQuad(int dialTone, int...args) {
|
||||
private M04MatrixQuad(String dialTone, int...args) {
|
||||
BãßBȍőnNumberMatrixʸᴰ.Ꝑŕḯṿª₮ḕ.יהוהʸᴰ(this, dialTone, args);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,131 +5,131 @@ import love.distributedrebirth.bassboon.clazz.BãßBȍőnAuthor注;
|
|||
@BãßBȍőnAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
@BãßBȍőnNumberMatrix注(dimension = 5)
|
||||
public enum M05MatrixPental implements BãßBȍőnNumberMatrixʸᴰ<M05MatrixPental> {
|
||||
M_00194(0x00C2,4,3,2,1,0),
|
||||
M_00198(0x00C6,3,4,2,1,0),
|
||||
M_00214(0x00D6,4,2,3,1,0),
|
||||
M_00222(0x00DE,2,4,3,1,0),
|
||||
M_00238(0x00EE,3,2,4,1,0),
|
||||
M_00242(0x00F2,2,3,4,1,0),
|
||||
M_00294(0x0126,4,3,1,2,0),
|
||||
M_00298(0x012A,3,4,1,2,0),
|
||||
M_00334(0x014E,4,1,3,2,0),
|
||||
M_00346(0x015A,1,4,3,2,0),
|
||||
M_00358(0x0166,3,1,4,2,0),
|
||||
M_00366(0x016E,1,3,4,2,0),
|
||||
M_00414(0x019E,4,2,1,3,0),
|
||||
M_00422(0x01A6,2,4,1,3,0),
|
||||
M_00434(0x01B2,4,1,2,3,0),
|
||||
M_00446(0x01BE,1,4,2,3,0),
|
||||
M_00482(0x01E2,2,1,4,3,0),
|
||||
M_00486(0x01E6,1,2,4,3,0),
|
||||
M_00538(0x021A,3,2,1,4,0),
|
||||
M_00542(0x021E,2,3,1,4,0),
|
||||
M_00558(0x022E,3,1,2,4,0),
|
||||
M_00566(0x0236,1,3,2,4,0),
|
||||
M_00582(0x0246,2,1,3,4,0),
|
||||
M_00586(0x024A,1,2,3,4,0),
|
||||
M_00694(0x02B6,4,3,2,0,1),
|
||||
M_00698(0x02BA,3,4,2,0,1),
|
||||
M_00714(0x02CA,4,2,3,0,1),
|
||||
M_00722(0x02D2,2,4,3,0,1),
|
||||
M_00738(0x02E2,3,2,4,0,1),
|
||||
M_00742(0x02E6,2,3,4,0,1),
|
||||
M_00894(0x037E,4,3,0,2,1),
|
||||
M_00898(0x0382,3,4,0,2,1),
|
||||
M_00954(0x03BA,4,0,3,2,1),
|
||||
M_00970(0x03CA,0,4,3,2,1),
|
||||
M_00978(0x03D2,3,0,4,2,1),
|
||||
M_00990(0x03DE,0,3,4,2,1),
|
||||
M_01014(0x03F6,4,2,0,3,1),
|
||||
M_01022(0x03FE,2,4,0,3,1),
|
||||
M_01054(0x041E,4,0,2,3,1),
|
||||
M_01070(0x042E,0,4,2,3,1),
|
||||
M_01102(0x044E,2,0,4,3,1),
|
||||
M_01110(0x0456,0,2,4,3,1),
|
||||
M_01138(0x0472,3,2,0,4,1),
|
||||
M_01142(0x0476,2,3,0,4,1),
|
||||
M_01178(0x049A,3,0,2,4,1),
|
||||
M_01190(0x04A6,0,3,2,4,1),
|
||||
M_01202(0x04B2,2,0,3,4,1),
|
||||
M_01210(0x04BA,0,2,3,4,1),
|
||||
M_01294(0x050E,4,3,1,0,2),
|
||||
M_01298(0x0512,3,4,1,0,2),
|
||||
M_01334(0x0536,4,1,3,0,2),
|
||||
M_01346(0x0542,1,4,3,0,2),
|
||||
M_01358(0x054E,3,1,4,0,2),
|
||||
M_01366(0x0556,1,3,4,0,2),
|
||||
M_01394(0x0572,4,3,0,1,2),
|
||||
M_01398(0x0576,3,4,0,1,2),
|
||||
M_01454(0x05AE,4,0,3,1,2),
|
||||
M_01470(0x05BE,0,4,3,1,2),
|
||||
M_01478(0x05C6,3,0,4,1,2),
|
||||
M_01490(0x05D2,0,3,4,1,2),
|
||||
M_01634(0x0662,4,1,0,3,2),
|
||||
M_01646(0x066E,1,4,0,3,2),
|
||||
M_01654(0x0676,4,0,1,3,2),
|
||||
M_01670(0x0686,0,4,1,3,2),
|
||||
M_01726(0x06BE,1,0,4,3,2),
|
||||
M_01730(0x06C2,0,1,4,3,2),
|
||||
M_01758(0x06DE,3,1,0,4,2),
|
||||
M_01766(0x06E6,1,3,0,4,2),
|
||||
M_01778(0x06F2,3,0,1,4,2),
|
||||
M_01790(0x06FE,0,3,1,4,2),
|
||||
M_01826(0x0722,1,0,3,4,2),
|
||||
M_01830(0x0726,0,1,3,4,2),
|
||||
M_01914(0x077A,4,2,1,0,3),
|
||||
M_01922(0x0782,2,4,1,0,3),
|
||||
M_01934(0x078E,4,1,2,0,3),
|
||||
M_01946(0x079A,1,4,2,0,3),
|
||||
M_01982(0x07BE,2,1,4,0,3),
|
||||
M_01986(0x07C2,1,2,4,0,3),
|
||||
M_02014(0x07DE,4,2,0,1,3),
|
||||
M_02022(0x07E6,2,4,0,1,3),
|
||||
M_02054(0x0806,4,0,2,1,3),
|
||||
M_02070(0x0816,0,4,2,1,3),
|
||||
M_02102(0x0836,2,0,4,1,3),
|
||||
M_02110(0x083E,0,2,4,1,3),
|
||||
M_02134(0x0856,4,1,0,2,3),
|
||||
M_02146(0x0862,1,4,0,2,3),
|
||||
M_02154(0x086A,4,0,1,2,3),
|
||||
M_02170(0x087A,0,4,1,2,3),
|
||||
M_02226(0x08B2,1,0,4,2,3),
|
||||
M_02230(0x08B6,0,1,4,2,3),
|
||||
M_02382(0x094E,2,1,0,4,3),
|
||||
M_02386(0x0952,1,2,0,4,3),
|
||||
M_02402(0x0962,2,0,1,4,3),
|
||||
M_02410(0x096A,0,2,1,4,3),
|
||||
M_02426(0x097A,1,0,2,4,3),
|
||||
M_02430(0x097E,0,1,2,4,3),
|
||||
M_02538(0x09EA,3,2,1,0,4),
|
||||
M_02542(0x09EE,2,3,1,0,4),
|
||||
M_02558(0x09FE,3,1,2,0,4),
|
||||
M_02566(0x0A06,1,3,2,0,4),
|
||||
M_02582(0x0A16,2,1,3,0,4),
|
||||
M_02586(0x0A1A,1,2,3,0,4),
|
||||
M_02638(0x0A4E,3,2,0,1,4),
|
||||
M_02642(0x0A52,2,3,0,1,4),
|
||||
M_02678(0x0A76,3,0,2,1,4),
|
||||
M_02690(0x0A82,0,3,2,1,4),
|
||||
M_02702(0x0A8E,2,0,3,1,4),
|
||||
M_02710(0x0A96,0,2,3,1,4),
|
||||
M_02758(0x0AC6,3,1,0,2,4),
|
||||
M_02766(0x0ACE,1,3,0,2,4),
|
||||
M_02778(0x0ADA,3,0,1,2,4),
|
||||
M_02790(0x0AE6,0,3,1,2,4),
|
||||
M_02826(0x0B0A,1,0,3,2,4),
|
||||
M_02830(0x0B0E,0,1,3,2,4),
|
||||
M_02882(0x0B42,2,1,0,3,4),
|
||||
M_02886(0x0B46,1,2,0,3,4),
|
||||
M_02902(0x0B56,2,0,1,3,4),
|
||||
M_02910(0x0B5E,0,2,1,3,4),
|
||||
M_02926(0x0B6E,1,0,2,3,4),
|
||||
M_02930(0x0B72,0,1,2,3,4),
|
||||
M_00194("0x00C2",4,3,2,1,0),
|
||||
M_00198("0x00C6",3,4,2,1,0),
|
||||
M_00214("0x00D6",4,2,3,1,0),
|
||||
M_00222("0x00DE",2,4,3,1,0),
|
||||
M_00238("0x00EE",3,2,4,1,0),
|
||||
M_00242("0x00F2",2,3,4,1,0),
|
||||
M_00294("0x0126",4,3,1,2,0),
|
||||
M_00298("0x012A",3,4,1,2,0),
|
||||
M_00334("0x014E",4,1,3,2,0),
|
||||
M_00346("0x015A",1,4,3,2,0),
|
||||
M_00358("0x0166",3,1,4,2,0),
|
||||
M_00366("0x016E",1,3,4,2,0),
|
||||
M_00414("0x019E",4,2,1,3,0),
|
||||
M_00422("0x01A6",2,4,1,3,0),
|
||||
M_00434("0x01B2",4,1,2,3,0),
|
||||
M_00446("0x01BE",1,4,2,3,0),
|
||||
M_00482("0x01E2",2,1,4,3,0),
|
||||
M_00486("0x01E6",1,2,4,3,0),
|
||||
M_00538("0x021A",3,2,1,4,0),
|
||||
M_00542("0x021E",2,3,1,4,0),
|
||||
M_00558("0x022E",3,1,2,4,0),
|
||||
M_00566("0x0236",1,3,2,4,0),
|
||||
M_00582("0x0246",2,1,3,4,0),
|
||||
M_00586("0x024A",1,2,3,4,0),
|
||||
M_00694("0x02B6",4,3,2,0,1),
|
||||
M_00698("0x02BA",3,4,2,0,1),
|
||||
M_00714("0x02CA",4,2,3,0,1),
|
||||
M_00722("0x02D2",2,4,3,0,1),
|
||||
M_00738("0x02E2",3,2,4,0,1),
|
||||
M_00742("0x02E6",2,3,4,0,1),
|
||||
M_00894("0x037E",4,3,0,2,1),
|
||||
M_00898("0x0382",3,4,0,2,1),
|
||||
M_00954("0x03BA",4,0,3,2,1),
|
||||
M_00970("0x03CA",0,4,3,2,1),
|
||||
M_00978("0x03D2",3,0,4,2,1),
|
||||
M_00990("0x03DE",0,3,4,2,1),
|
||||
M_01014("0x03F6",4,2,0,3,1),
|
||||
M_01022("0x03FE",2,4,0,3,1),
|
||||
M_01054("0x041E",4,0,2,3,1),
|
||||
M_01070("0x042E",0,4,2,3,1),
|
||||
M_01102("0x044E",2,0,4,3,1),
|
||||
M_01110("0x0456",0,2,4,3,1),
|
||||
M_01138("0x0472",3,2,0,4,1),
|
||||
M_01142("0x0476",2,3,0,4,1),
|
||||
M_01178("0x049A",3,0,2,4,1),
|
||||
M_01190("0x04A6",0,3,2,4,1),
|
||||
M_01202("0x04B2",2,0,3,4,1),
|
||||
M_01210("0x04BA",0,2,3,4,1),
|
||||
M_01294("0x050E",4,3,1,0,2),
|
||||
M_01298("0x0512",3,4,1,0,2),
|
||||
M_01334("0x0536",4,1,3,0,2),
|
||||
M_01346("0x0542",1,4,3,0,2),
|
||||
M_01358("0x054E",3,1,4,0,2),
|
||||
M_01366("0x0556",1,3,4,0,2),
|
||||
M_01394("0x0572",4,3,0,1,2),
|
||||
M_01398("0x0576",3,4,0,1,2),
|
||||
M_01454("0x05AE",4,0,3,1,2),
|
||||
M_01470("0x05BE",0,4,3,1,2),
|
||||
M_01478("0x05C6",3,0,4,1,2),
|
||||
M_01490("0x05D2",0,3,4,1,2),
|
||||
M_01634("0x0662",4,1,0,3,2),
|
||||
M_01646("0x066E",1,4,0,3,2),
|
||||
M_01654("0x0676",4,0,1,3,2),
|
||||
M_01670("0x0686",0,4,1,3,2),
|
||||
M_01726("0x06BE",1,0,4,3,2),
|
||||
M_01730("0x06C2",0,1,4,3,2),
|
||||
M_01758("0x06DE",3,1,0,4,2),
|
||||
M_01766("0x06E6",1,3,0,4,2),
|
||||
M_01778("0x06F2",3,0,1,4,2),
|
||||
M_01790("0x06FE",0,3,1,4,2),
|
||||
M_01826("0x0722",1,0,3,4,2),
|
||||
M_01830("0x0726",0,1,3,4,2),
|
||||
M_01914("0x077A",4,2,1,0,3),
|
||||
M_01922("0x0782",2,4,1,0,3),
|
||||
M_01934("0x078E",4,1,2,0,3),
|
||||
M_01946("0x079A",1,4,2,0,3),
|
||||
M_01982("0x07BE",2,1,4,0,3),
|
||||
M_01986("0x07C2",1,2,4,0,3),
|
||||
M_02014("0x07DE",4,2,0,1,3),
|
||||
M_02022("0x07E6",2,4,0,1,3),
|
||||
M_02054("0x0806",4,0,2,1,3),
|
||||
M_02070("0x0816",0,4,2,1,3),
|
||||
M_02102("0x0836",2,0,4,1,3),
|
||||
M_02110("0x083E",0,2,4,1,3),
|
||||
M_02134("0x0856",4,1,0,2,3),
|
||||
M_02146("0x0862",1,4,0,2,3),
|
||||
M_02154("0x086A",4,0,1,2,3),
|
||||
M_02170("0x087A",0,4,1,2,3),
|
||||
M_02226("0x08B2",1,0,4,2,3),
|
||||
M_02230("0x08B6",0,1,4,2,3),
|
||||
M_02382("0x094E",2,1,0,4,3),
|
||||
M_02386("0x0952",1,2,0,4,3),
|
||||
M_02402("0x0962",2,0,1,4,3),
|
||||
M_02410("0x096A",0,2,1,4,3),
|
||||
M_02426("0x097A",1,0,2,4,3),
|
||||
M_02430("0x097E",0,1,2,4,3),
|
||||
M_02538("0x09EA",3,2,1,0,4),
|
||||
M_02542("0x09EE",2,3,1,0,4),
|
||||
M_02558("0x09FE",3,1,2,0,4),
|
||||
M_02566("0x0A06",1,3,2,0,4),
|
||||
M_02582("0x0A16",2,1,3,0,4),
|
||||
M_02586("0x0A1A",1,2,3,0,4),
|
||||
M_02638("0x0A4E",3,2,0,1,4),
|
||||
M_02642("0x0A52",2,3,0,1,4),
|
||||
M_02678("0x0A76",3,0,2,1,4),
|
||||
M_02690("0x0A82",0,3,2,1,4),
|
||||
M_02702("0x0A8E",2,0,3,1,4),
|
||||
M_02710("0x0A96",0,2,3,1,4),
|
||||
M_02758("0x0AC6",3,1,0,2,4),
|
||||
M_02766("0x0ACE",1,3,0,2,4),
|
||||
M_02778("0x0ADA",3,0,1,2,4),
|
||||
M_02790("0x0AE6",0,3,1,2,4),
|
||||
M_02826("0x0B0A",1,0,3,2,4),
|
||||
M_02830("0x0B0E",0,1,3,2,4),
|
||||
M_02882("0x0B42",2,1,0,3,4),
|
||||
M_02886("0x0B46",1,2,0,3,4),
|
||||
M_02902("0x0B56",2,0,1,3,4),
|
||||
M_02910("0x0B5E",0,2,1,3,4),
|
||||
M_02926("0x0B6E",1,0,2,3,4),
|
||||
M_02930("0x0B72",0,1,2,3,4),
|
||||
;
|
||||
|
||||
public final static M05MatrixPental STATIC = M05MatrixPental.M_00194;
|
||||
|
||||
private M05MatrixPental(int dialTone, int...args) {
|
||||
private M05MatrixPental(String dialTone, int...args) {
|
||||
BãßBȍőnNumberMatrixʸᴰ.Ꝑŕḯṿª₮ḕ.יהוהʸᴰ(this, dialTone, args);
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -106,12 +106,19 @@ public enum NumberMatrixFactory implements BãßBȍőnAbacusInstanceMBeanʸᴰ<N
|
|||
}
|
||||
buf.append(num);
|
||||
String ii = buf.toString();
|
||||
Set<Character> set = new HashSet<>(); // <== rewrite this
|
||||
Set<Character> set = new HashSet<>();
|
||||
for (int y=size-1;y>=0;y--) {
|
||||
char c = ii.charAt(y);
|
||||
set.add(c);
|
||||
}
|
||||
if (set.size() == size) {
|
||||
String cntHex = Integer.toHexString(cnt).toUpperCase();
|
||||
if (cntHex.length() < size-1) {
|
||||
cntHex = "0"+cntHex;
|
||||
}
|
||||
if (cntHex.length() < size-1) {
|
||||
cntHex = "0"+cntHex;
|
||||
}
|
||||
String numberStr = digiFormat.format(i);
|
||||
String name = "M_"+numberStr;
|
||||
int[] args = new int[size];
|
||||
|
@ -119,7 +126,7 @@ public enum NumberMatrixFactory implements BãßBȍőnAbacusInstanceMBeanʸᴰ<N
|
|||
char c = ii.charAt(y);
|
||||
args[y] = c - '0';
|
||||
}
|
||||
result.createAbacus(cnt, name, cnt, args);
|
||||
result.createAbacus(cnt, name, "0x"+cntHex, args);
|
||||
}
|
||||
cnt++;
|
||||
}
|
||||
|
@ -134,7 +141,7 @@ public enum NumberMatrixFactory implements BãßBȍőnAbacusInstanceMBeanʸᴰ<N
|
|||
this.dimension = dimension;
|
||||
}
|
||||
|
||||
protected void createAbacus(int itemOrdinal, String itemName, int dialTone, int...args) {
|
||||
protected void createAbacus(int itemOrdinal, String itemName, String dialTone, int...args) {
|
||||
values.addᵂʳ(new Abacus(itemOrdinal, itemName, dialTone, args));
|
||||
}
|
||||
|
||||
|
@ -155,7 +162,7 @@ public enum NumberMatrixFactory implements BãßBȍőnAbacusInstanceMBeanʸᴰ<N
|
|||
private final int itemOrdinal;
|
||||
private final String itemName;
|
||||
|
||||
private Abacus(int itemOrdinal, String itemName, int dialTone, int...args) {
|
||||
private Abacus(int itemOrdinal, String itemName, String dialTone, int...args) {
|
||||
this.itemOrdinal = itemOrdinal;
|
||||
this.itemName = itemName;
|
||||
BãßBȍőnNumberMatrixʸᴰ.Ꝑŕḯṿª₮ḕ.יהוהʸᴰ(this, dialTone, args);
|
||||
|
|
Loading…
Reference in a new issue