Moved trit types

This commit is contained in:
Willem Cazander 2022-11-28 01:12:22 +01:00
parent c8d0f8bed8
commit 6642ce6fce
72 changed files with 328 additions and 2451 deletions

View file

@ -30,17 +30,17 @@ package love.distributedrebirth.unicode4d;
import java.util.ArrayList;
import java.util.List;
import love.distributedrebirth.numberxd.base2t.type.V036Teger;
import love.distributedrebirth.numberxd.base2t.type.V072Tong;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.T002ᖟ;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒢᓫᑊᐣᑊ.ᔿᓫᒻᓫᓫ.V036Teger;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒢᓫᑊᐣᑊ.ᔿᓫᒻᓫᓫ.V072Tong;
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public class Stringᶻᴰ {
private List<V072Tong> string;
public Stringᶻᴰ(List<V072Tong> tongs) {
protected Stringᶻᴰ(List<V072Tong> tongs) { // redo this unused class
this.string = tongs;
}
@ -51,16 +51,16 @@ public class Stringᶻᴰ {
public V036Teger getCodePointByIndex(int index) {
V072Tong tong = string.get(index >> 1);
if ((index & 1) == 0) {
return tong.getValue(T002ᖟ.PART_1);
return tong.partᗅᗷᗷᗅ(T002ᖟ.PART_1);
} else {
return tong.getValue(T002ᖟ.PART_2);
return tong.partᗅᗷᗷᗅ(T002ᖟ.PART_2);
}
}
public int charSize() {
int result = 0;
for (V072Tong points:string) {
CodePointCommandᶻᴰ cmd = CodePointᶻᴰ.INSTANCE.getCommand(points.getValue(T002ᖟ.PART_1));
CodePointCommandᶻᴰ cmd = CodePointᶻᴰ.INSTANCE.getCommand(points.partᗅᗷᗷᗅ(T002ᖟ.PART_1));
if (cmd == CodePointCommandᶻᴰ.START_LR) {
result++;
} else if (cmd == CodePointCommandᶻᴰ.START_RL) {