Renamed T020
This commit is contained in:
parent
e1e929d2f8
commit
2abab0e02a
5 changed files with 59 additions and 59 deletions
|
|
@ -21,7 +21,7 @@ import love.distributedrebirth.numberxd.base2t.part.ii.TerminatorPartᶦᶦ;
|
|||
@TerminatorPartAlt2注(name = "Vigesimal", website = "https://en.wikipedia.org/wiki/Vigesimal#Places")
|
||||
@TerminatorPartAlt3注(name = "Vigesimal Alternative", website = "https://en.wikipedia.org/wiki/Vigesimal#Places")
|
||||
@TerminatorPartAlt4注(name = "Open Location Code", website = "https://en.wikipedia.org/wiki/Open_Location_Code")
|
||||
public enum T020PartScore implements TerminatorPartAlt4ᶦᶦ<T020PartScore> {
|
||||
public enum T020PartVigesimal implements TerminatorPartAlt4ᶦᶦ<T020PartVigesimal> {
|
||||
|
||||
PART_1 ("˥", "尧", "yotta", "Y", "0", "0", "2"),
|
||||
PART_2 ("˦", "泽", "zetta", "Z", "1", "1", "3"),
|
||||
|
|
@ -45,12 +45,12 @@ public enum T020PartScore implements TerminatorPartAlt4ᶦᶦ<T020PartScore> {
|
|||
PART_20("꜑", "幺", "yocto", "y", "J", "K", "X"),
|
||||
;
|
||||
|
||||
private static final Map<String, T020PartScore> OPENLC_MAP = Collections.unmodifiableMap(
|
||||
private static final Map<String, T020PartVigesimal> OPENLC_MAP = Collections.unmodifiableMap(
|
||||
Arrays.asList(values()).stream().collect(Collectors.toMap(v -> v.rȧñkAlt4Waarde(), v -> v)));
|
||||
|
||||
public final static T020PartScore STATIC = T020PartScore.PART_1;
|
||||
public final static T020PartVigesimal STATIC = T020PartVigesimal.PART_1;
|
||||
|
||||
private T020PartScore(String dialTone, String chinaKey, String chinaValue,
|
||||
private T020PartVigesimal(String dialTone, String chinaKey, String chinaValue,
|
||||
String alt1Value, String alt2Value, String alt3Value, String alt4Value) {
|
||||
TerminatorPartᶦᶦ.Ꝑŕḯṿª₮ḕ.יהוהʸᴰ(this, dialTone, enumPart -> {
|
||||
enumPart.PUT_OBJ(TerminatorBullet.CHINA_KEY, chinaKey);
|
||||
|
|
@ -62,7 +62,7 @@ public enum T020PartScore implements TerminatorPartAlt4ᶦᶦ<T020PartScore> {
|
|||
});
|
||||
}
|
||||
|
||||
public T020PartScore BãßValueOfOpenLC(String openLCKey) {
|
||||
public T020PartVigesimal BãßValueOfOpenLC(String openLCKey) {
|
||||
return OPENLC_MAP.get(openLCKey);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue