FC18: Renamed mapper to recipe with fc18 generators static methods only

This commit is contained in:
Willem Cazander 2025-08-07 17:01:45 +02:00
parent 6b8d281e40
commit c6144b8956
10 changed files with 72 additions and 92 deletions

View file

@ -58,6 +58,7 @@ public enum FCDotPIE9CDash20 implements FourCornerDotCollePie9 {
SUB_8('₈'),
SUB_9('₉'),
;
static final private FCDotPIE9CDash20[] VALUES = values(); // values() is slow method
private final List<Integer> codePointDisplay;
private FCDotPIE9CDash20(int...codePoints) {
@ -78,4 +79,12 @@ public enum FCDotPIE9CDash20 implements FourCornerDotCollePie9 {
public List<Integer> codePointSequence() {
return codePointDisplay;
}
static public int valuesLength() {
return VALUES.length;
}
static public FCDotPIE9CDash20 valueOf(int idx) {
return VALUES[idx];
}
}