Renamed valueOf to valueᴼᶠ in unicode string

This commit is contained in:
Willem Cazander 2024-12-23 15:26:08 +01:00
parent 202f7c49a1
commit 54e9ec1f00
6 changed files with 16 additions and 16 deletions

View file

@ -45,10 +45,10 @@ public final class StringUnicode implements StringType<StringUnicode> {
@Override @Override
public StringUnicode wrapᴼᶠ(String str) { public StringUnicode wrapᴼᶠ(String str) {
return valueOf(str); return valueᴼᶠ(str);
} }
public static StringUnicode valueOf(CharSequence str) { public static StringUnicode valueᴼᶠ(CharSequence str) {
return new StringUnicode(str.toString()); return new StringUnicode(str.toString());
} }
} }

View file

@ -44,6 +44,6 @@ interface ᒢSkullSpeakHuman {
// Every computer needs brahmi support on strings // Every computer needs brahmi support on strings
default StringUnicode toStringUnicode() { default StringUnicode toStringUnicode() {
return StringUnicode.valueOf(toString()); return StringUnicode.valueᴼᶠ(toString());
} }
} }

View file

@ -60,7 +60,7 @@ public interface ᒢSystem𓄯ᶠˡʸ<T extends BãßBȍőn𓄯<T>> extends Bã
@BãßBȍőnSpiderEgg注(paint = ᒢSystemꞱᴿᴳᴮ.ẞassPaint.ꞱPropertyWireFly.class) @BãßBȍőnSpiderEgg注(paint = ᒢSystemꞱᴿᴳᴮ.ẞassPaint.ꞱPropertyWireFly.class)
public StringUnicode flyPropertyStringUnicode(String property) { public StringUnicode flyPropertyStringUnicode(String property) {
return StringUnicode.valueOf(flyPropertyString(property)); return StringUnicode.valueᴼᶠ(flyPropertyString(property));
} }
@BãßBȍőnSpiderEgg注(paint = ᒢSystemꞱᴿᴳᴮ.ẞassPaint.ꞱPropertyWireDragon.class) @BãßBȍőnSpiderEgg注(paint = ᒢSystemꞱᴿᴳᴮ.ẞassPaint.ꞱPropertyWireDragon.class)
@ -70,7 +70,7 @@ public interface ᒢSystem𓄯ᶠˡʸ<T extends BãßBȍőn𓄯<T>> extends Bã
@BãßBȍőnSpiderEgg注(paint = ᒢSystemꞱᴿᴳᴮ.ẞassPaint.ꞱPropertyWireDragon.class) @BãßBȍőnSpiderEgg注(paint = ᒢSystemꞱᴿᴳᴮ.ẞassPaint.ꞱPropertyWireDragon.class)
public StringUnicode dragonPropertyStringUnicode(Class<? extends ᒢEasterEgg.Lᒢᐧₚᵢₑ.ẞlueLaserPointer> property) { public StringUnicode dragonPropertyStringUnicode(Class<? extends ᒢEasterEgg.Lᒢᐧₚᵢₑ.ẞlueLaserPointer> property) {
return StringUnicode.valueOf(dragonPropertyString(property)); return StringUnicode.valueᴼᶠ(dragonPropertyString(property));
} }
@BãßBȍőnSpiderEgg注(paint = ᒢSystemꞱᴿᴳᴮ.ẞassPaint.ꞱProcessPipeStdInWire.class) @BãßBȍőnSpiderEgg注(paint = ᒢSystemꞱᴿᴳᴮ.ẞassPaint.ꞱProcessPipeStdInWire.class)

View file

@ -59,9 +59,9 @@ public interface DuytsZen𓄯ᶠˡʸ<T extends BãßBȍőn𓄯<T>> extends Bãß
private static final BãßBȍőnCoffinGhostCharm GHOST_NAME = BãßBȍőnCoffinGhostCharm.hocusᴾᵒᶜᵘˢ(); private static final BãßBȍőnCoffinGhostCharm GHOST_NAME = BãßBȍőnCoffinGhostCharm.hocusᴾᵒᶜᵘˢ();
private static final BãßBȍőnCoffinGhostCharm GHOST_COPYRIGHT = BãßBȍőnCoffinGhostCharm.hocusᴾᵒᶜᵘˢ(); private static final BãßBȍőnCoffinGhostCharm GHOST_COPYRIGHT = BãßBȍőnCoffinGhostCharm.hocusᴾᵒᶜᵘˢ();
private static final BãßBȍőnCoffinGhostCharm GHOST_FLUSTEREN = BãßBȍőnCoffinGhostCharm.hocusᴾᵒᶜᵘˢ(); private static final BãßBȍőnCoffinGhostCharm GHOST_FLUSTEREN = BãßBȍőnCoffinGhostCharm.hocusᴾᵒᶜᵘˢ();
private static final StringUnicode DEFAULT_NAME = StringUnicode.valueOf("奴隸來自 仙上主天"); private static final StringUnicode DEFAULT_NAME = StringUnicode.valueᴼᶠ("奴隸來自 仙上主天");
private static final StringUnicode DEFAULT_COPYRIGHT = StringUnicode.valueOf("©Δ∞ 仙上主天"); private static final StringUnicode DEFAULT_COPYRIGHT = StringUnicode.valueᴼᶠ("©Δ∞ 仙上主天");
private static final StringUnicode DEFAULT_PURPOSE = StringUnicode.valueOf("Undefined"); private static final StringUnicode DEFAULT_PURPOSE = StringUnicode.valueᴼᶠ("Undefined");
@BãßBȍőnSpiderWire注(paint = BãßBȍőnIconOfSinCubeꞱᴿᴳᴮ.ẞassPaint.ꞱCoffinWireDragon.class) @BãßBȍőnSpiderWire注(paint = BãßBȍőnIconOfSinCubeꞱᴿᴳᴮ.ẞassPaint.ꞱCoffinWireDragon.class)
@BãßBȍőnSpiderWireDragon注(blood = ꝐŕḯṿªḕꝐḯŕḕʸᴰ.class) @BãßBȍőnSpiderWireDragon注(blood = ꝐŕḯṿªḕꝐḯŕḕʸᴰ.class)
@ -76,12 +76,12 @@ public interface DuytsZen𓄯ᶠˡʸ<T extends BãßBȍőn𓄯<T>> extends Bãß
@Override @Override
public void s͑um̴̆ͨ̅m͠ô̈́ṅͫͤ́̂Gh̕os̑ͫt̡̓̍s͜() { public void s͑um̴̆ͨ̅m͠ô̈́ṅͫͤ́̂Gh̕os̑ͫt̡̓̍s͜() {
// move to lock... // move to lock...
BBC.PUTᐧGHOST(GHOST_NAME, docAuthor注.isPresent()?StringUnicode.valueOf(docAuthor注.get().name()):DEFAULT_NAME); BBC.PUTᐧGHOST(GHOST_NAME, docAuthor注.isPresent()?StringUnicode.valueᴼᶠ(docAuthor注.get().name()):DEFAULT_NAME);
BBC.PUTᐧGHOST(GHOST_COPYRIGHT, docAuthor注.isPresent()?StringUnicode.valueOf(docAuthor注.get().copyright()):DEFAULT_COPYRIGHT); BBC.PUTᐧGHOST(GHOST_COPYRIGHT, docAuthor注.isPresent()?StringUnicode.valueᴼᶠ(docAuthor注.get().copyright()):DEFAULT_COPYRIGHT);
StringUnicode beanPurpose = DEFAULT_PURPOSE; StringUnicode beanPurpose = DEFAULT_PURPOSE;
if (docType注.isPresent()) { if (docType注.isPresent()) {
beanPurpose = StringUnicode.valueOf(duytsDocFlüstern(docType注.get().sea(), null)); beanPurpose = StringUnicode.valueᴼᶠ(duytsDocFlüstern(docType注.get().sea(), null));
} }
BBC.PUTᐧGHOST(GHOST_FLUSTEREN, beanPurpose); BBC.PUTᐧGHOST(GHOST_FLUSTEREN, beanPurpose);
} }
@ -148,7 +148,7 @@ public interface DuytsZen𓄯ᶠˡʸ<T extends BãßBȍőn𓄯<T>> extends Bãß
public StringUnicode dragonDocTypeFlüsternBabelStringUnicode(Class<? extends LinguaNode> linguaId) { public StringUnicode dragonDocTypeFlüsternBabelStringUnicode(Class<? extends LinguaNode> linguaId) {
StringUnicode beanPurpose = DEFAULT_PURPOSE; StringUnicode beanPurpose = DEFAULT_PURPOSE;
if (docType注.isPresent()) { if (docType注.isPresent()) {
beanPurpose = StringUnicode.valueOf(duytsDocFlüstern(docType注.get().sea(), linguaId)); beanPurpose = StringUnicode.valueᴼᶠ(duytsDocFlüstern(docType注.get().sea(), linguaId));
} }
return beanPurpose; return beanPurpose;
} }

View file

@ -119,11 +119,11 @@ public interface Vū́ǘrBȍőnSupport𓄯ᶠˡʸ<T extends BãßBȍőn𓄯<T>>
exportGroup = annoExport.group(); exportGroup = annoExport.group();
} }
if (docTypeFlüsternString == null) { if (docTypeFlüsternString == null) {
docTypeFlüsternString = StringUnicode.valueOf(""); docTypeFlüsternString = StringUnicode.valueᴼᶠ("");
} }
boon.thisᵀᴮᵒⁿᵉᴳʳᵃᵛᵉ().onheɨlḮgSpreǜk(ꝐŕḯṿªḕꝐḯŕḕʸᴰ.class).bewaarGềễst(GHOST_DESCRIPTION, docTypeFlüsternString); boon.thisᵀᴮᵒⁿᵉᴳʳᵃᵛᵉ().onheɨlḮgSpreǜk(ꝐŕḯṿªḕꝐḯŕḕʸᴰ.class).bewaarGềễst(GHOST_DESCRIPTION, docTypeFlüsternString);
boon.thisᵀᴮᵒⁿᵉᴳʳᵃᵛᵉ().onheɨlḮgSpreǜk(ꝐŕḯṿªḕꝐḯŕḕʸᴰ.class).bewaarGềễst(GHOST_SLUG_ARTIFACT, StringUnicode.valueOf(exportArtifact)); boon.thisᵀᴮᵒⁿᵉᴳʳᵃᵛᵉ().onheɨlḮgSpreǜk(ꝐŕḯṿªḕꝐḯŕḕʸᴰ.class).bewaarGềễst(GHOST_SLUG_ARTIFACT, StringUnicode.valueᴼᶠ(exportArtifact));
boon.thisᵀᴮᵒⁿᵉᴳʳᵃᵛᵉ().onheɨlḮgSpreǜk(ꝐŕḯṿªḕꝐḯŕḕʸᴰ.class).bewaarGềễst(GHOST_SLUG_GROUP, StringUnicode.valueOf(exportGroup)); boon.thisᵀᴮᵒⁿᵉᴳʳᵃᵛᵉ().onheɨlḮgSpreǜk(ꝐŕḯṿªḕꝐḯŕḕʸᴰ.class).bewaarGềễst(GHOST_SLUG_GROUP, StringUnicode.valueᴼᶠ(exportGroup));
boon.thisᵀᴮᵒⁿᵉᴳʳᵃᵛᵉ().onheɨlḮgSpreǜk(ꝐŕḯṿªḕꝐḯŕḕʸᴰ.class).bewaarGềễstMap(GHOST_JMX_ATTR); boon.thisᵀᴮᵒⁿᵉᴳʳᵃᵛᵉ().onheɨlḮgSpreǜk(ꝐŕḯṿªḕꝐḯŕḕʸᴰ.class).bewaarGềễstMap(GHOST_JMX_ATTR);
boon.thisᵀᴮᵒⁿᵉᴳʳᵃᵛᵉ().onheɨlḮgSpreǜk(ꝐŕḯṿªḕꝐḯŕḕʸᴰ.class).bewaarGềễstMap(GHOST_JMX_BURN); boon.thisᵀᴮᵒⁿᵉᴳʳᵃᵛᵉ().onheɨlḮgSpreǜk(ꝐŕḯṿªḕꝐḯŕḕʸᴰ.class).bewaarGềễstMap(GHOST_JMX_BURN);
} }

View file

@ -50,7 +50,7 @@ public class ObjectSoundToHumanTest {
Assertions.assertTrue(object.toStringUnicode() != null); Assertions.assertTrue(object.toStringUnicode() != null);
Assertions.assertEquals(object.toString().length(), object.toStringUnicode().lengthChars()); Assertions.assertEquals(object.toString().length(), object.toStringUnicode().lengthChars());
Assertions.assertTrue(object.toString().contains("mens")); Assertions.assertTrue(object.toString().contains("mens"));
Assertions.assertTrue(object.toStringUnicode().contains(StringUnicode.valueOf("mens"))); Assertions.assertTrue(object.toStringUnicode().contains(StringUnicode.valueᴼᶠ("mens")));
} }
@Test @Test