Made at-ohm house in numbers

This commit is contained in:
Willem Cazander 2022-01-30 19:20:56 +01:00
parent 0607ac2e89
commit ee9160a227
11 changed files with 97 additions and 97 deletions

View file

@ -1,4 +1,4 @@
package love.distributedrebirth.demo4d.fraction4d; package love.distributedrebirth.demo4d.number4d;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;

View file

@ -1,4 +1,4 @@
package love.distributedrebirth.demo4d.fraction4d; package love.distributedrebirth.demo4d.number4d;
import love.distributedrebirth.demo4d.base2t.BaseNumber; import love.distributedrebirth.demo4d.base2t.BaseNumber;
import love.distributedrebirth.demo4d.base2t.T08PartOctalBaseAppender; import love.distributedrebirth.demo4d.base2t.T08PartOctalBaseAppender;

View file

@ -1,4 +1,4 @@
package love.distributedrebirth.demo4d.fraction4d; package love.distributedrebirth.demo4d.number4d;
public class GroßGetậlŌṁGlyphDiamond extends GroßGetậlŌṁGlyph<GroßGetậlŌṁGlyphDiamond> { public class GroßGetậlŌṁGlyphDiamond extends GroßGetậlŌṁGlyph<GroßGetậlŌṁGlyphDiamond> {

View file

@ -1,4 +1,4 @@
package love.distributedrebirth.demo4d.fraction4d; package love.distributedrebirth.demo4d.number4d;
public class GroßGetậlŌṁGlyphHyperStar extends GroßGetậlŌṁGlyph<GroßGetậlŌṁGlyphHyperStar> { public class GroßGetậlŌṁGlyphHyperStar extends GroßGetậlŌṁGlyph<GroßGetậlŌṁGlyphHyperStar> {

View file

@ -1,4 +1,4 @@
package love.distributedrebirth.demo4d.fraction4d; package love.distributedrebirth.demo4d.number4d;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
@ -13,24 +13,24 @@ import love.distributedrebirth.demo4d.base2t.V024Teger;
*/ */
public class Gê̄ldGetậl { public class Gê̄ldGetậl {
private final Gê̄ldGetậlHebrew nummerAlphabet; private final Gê̄ldGetậlAtHebrew nummerAlphabet;
private final Gê̄ldGetậlHebrew nummerDeelA; private final Gê̄ldGetậlAtHebrew nummerDeelA;
private final Gê̄ldGetậlHebrew nummerDeelB; private final Gê̄ldGetậlAtHebrew nummerDeelB;
private final Gê̄ldGetậlHebrew nummerDeelC; private final Gê̄ldGetậlAtHebrew nummerDeelC;
private final double totalDecimalValue; private final double totalDecimalValue;
private static final Character LEFT_TO_RIGHT_MARK = 0x200E; private static final Character LEFT_TO_RIGHT_MARK = 0x200E;
private static final Character RIGHT_TO_LEFT_MARK = 0x200F; private static final Character RIGHT_TO_LEFT_MARK = 0x200F;
public Gê̄ldGetậl(V024Teger teger) { public Gê̄ldGetậl(V024Teger teger) {
this( this(
new Gê̄ldGetậlHebrew(teger.getTytePart(T04PartQuad.PART_1)), new Gê̄ldGetậlAtHebrew(teger.getTytePart(T04PartQuad.PART_1)),
new Gê̄ldGetậlHebrew(teger.getTytePart(T04PartQuad.PART_2)), new Gê̄ldGetậlAtHebrew(teger.getTytePart(T04PartQuad.PART_2)),
new Gê̄ldGetậlHebrew(teger.getTytePart(T04PartQuad.PART_3)), new Gê̄ldGetậlAtHebrew(teger.getTytePart(T04PartQuad.PART_3)),
new Gê̄ldGetậlHebrew(teger.getTytePart(T04PartQuad.PART_4)) new Gê̄ldGetậlAtHebrew(teger.getTytePart(T04PartQuad.PART_4))
); );
} }
public Gê̄ldGetậl(Gê̄ldGetậlHebrew nummerAlphabet, Gê̄ldGetậlHebrew nummerDeelA, Gê̄ldGetậlHebrew nummerDeelB, Gê̄ldGetậlHebrew nummerDeelC) { public Gê̄ldGetậl(Gê̄ldGetậlAtHebrew nummerAlphabet, Gê̄ldGetậlAtHebrew nummerDeelA, Gê̄ldGetậlAtHebrew nummerDeelB, Gê̄ldGetậlAtHebrew nummerDeelC) {
this.nummerAlphabet = nummerAlphabet; this.nummerAlphabet = nummerAlphabet;
this.nummerDeelA = nummerDeelA; this.nummerDeelA = nummerDeelA;
this.nummerDeelB = nummerDeelB; this.nummerDeelB = nummerDeelB;
@ -48,9 +48,9 @@ public class Gê̄ldGetậl {
if (money.length() > 8) { // RL + 4 chars + 3 vowels if (money.length() > 8) { // RL + 4 chars + 3 vowels
throw new IllegalArgumentException("Money length should not exceed 8 codepoints"); throw new IllegalArgumentException("Money length should not exceed 8 codepoints");
} }
List<Gê̄ldGetậlHebrew> result = new ArrayList<>(); List<Gê̄ldGetậlAtHebrew> result = new ArrayList<>();
Gê̄ldGetậlHebrew geldDigit = null; Gê̄ldGetậlAtHebrew geldDigit = null;
for (int i=0;i<money.length();i++) { for (int i=0;i<money.length();i++) {
char codePoint = (char) money.codePointAt(i); char codePoint = (char) money.codePointAt(i);
if (LEFT_TO_RIGHT_MARK.equals(codePoint)) { if (LEFT_TO_RIGHT_MARK.equals(codePoint)) {
@ -60,8 +60,8 @@ public class Gê̄ldGetậl {
continue; continue;
} }
if (geldDigit != null) { if (geldDigit != null) {
Gê̄ldGetậlHebrewVowel vowel = Gê̄ldGetậlHebrewVowel.valueOfCharacter(codePoint); Gê̄ldGetậlAtHebrewVowel vowel = Gê̄ldGetậlAtHebrewVowel.valueOfCharacter(codePoint);
if (!Gê̄ldGetậlHebrewVowel.NONE.equals(vowel)) { if (!Gê̄ldGetậlAtHebrewVowel.NONE.equals(vowel)) {
geldDigit.setVowel(vowel); geldDigit.setVowel(vowel);
result.add(geldDigit); result.add(geldDigit);
geldDigit = null; geldDigit = null;
@ -70,11 +70,11 @@ public class Gê̄ldGetậl {
result.add(geldDigit); result.add(geldDigit);
} }
} }
Gê̄ldGetậlHebrewLetter letter = Gê̄ldGetậlHebrewLetter.valueOfCharacter(codePoint); Gê̄ldGetậlAtHebrewLetter letter = Gê̄ldGetậlAtHebrewLetter.valueOfCharacter(codePoint);
if (Gê̄ldGetậlHebrewLetter.NONE.equals(letter)) { if (Gê̄ldGetậlAtHebrewLetter.NONE.equals(letter)) {
throw new IllegalArgumentException("Unknown fraction codepoint: 0x"+Integer.toHexString(codePoint)); throw new IllegalArgumentException("Unknown fraction codepoint: 0x"+Integer.toHexString(codePoint));
} }
geldDigit = new Gê̄ldGetậlHebrew(letter); geldDigit = new Gê̄ldGetậlAtHebrew(letter);
} }
if (geldDigit != null) { if (geldDigit != null) {
result.add(geldDigit); result.add(geldDigit);
@ -83,24 +83,24 @@ public class Gê̄ldGetậl {
if (result.isEmpty()) { if (result.isEmpty()) {
throw new IllegalArgumentException("No hebrew money found"); throw new IllegalArgumentException("No hebrew money found");
} }
Gê̄ldGetậlHebrew full = result.get(0); Gê̄ldGetậlAtHebrew full = result.get(0);
Gê̄ldGetậlHebrew deelA = null; Gê̄ldGetậlAtHebrew deelA = null;
Gê̄ldGetậlHebrew deelB = null; Gê̄ldGetậlAtHebrew deelB = null;
Gê̄ldGetậlHebrew deelC = null; Gê̄ldGetậlAtHebrew deelC = null;
if (result.size() > 1) { if (result.size() > 1) {
deelA = result.get(1); deelA = result.get(1);
} else { } else {
deelA = new Gê̄ldGetậlHebrew(); deelA = new Gê̄ldGetậlAtHebrew();
} }
if (result.size() > 2) { if (result.size() > 2) {
deelB = result.get(2); deelB = result.get(2);
} else { } else {
deelB = new Gê̄ldGetậlHebrew(); deelB = new Gê̄ldGetậlAtHebrew();
} }
if (result.size() > 3) { if (result.size() > 3) {
deelC = result.get(3); deelC = result.get(3);
} else { } else {
deelC = new Gê̄ldGetậlHebrew(); deelC = new Gê̄ldGetậlAtHebrew();
} }
this.nummerAlphabet = full; this.nummerAlphabet = full;
this.nummerDeelA = deelA; this.nummerDeelA = deelA;
@ -111,35 +111,35 @@ public class Gê̄ldGetậl {
private double calculateDecimalValue() { private double calculateDecimalValue() {
boolean hasFourDigits = boolean hasFourDigits =
!Gê̄ldGetậlHebrewLetter.NONE.equals(nummerDeelA.getLetter()) && !Gê̄ldGetậlAtHebrewLetter.NONE.equals(nummerDeelA.getLetter()) &&
!Gê̄ldGetậlHebrewLetter.NONE.equals(nummerDeelB.getLetter()) && !Gê̄ldGetậlAtHebrewLetter.NONE.equals(nummerDeelB.getLetter()) &&
!Gê̄ldGetậlHebrewLetter.NONE.equals(nummerDeelC.getLetter()); !Gê̄ldGetậlAtHebrewLetter.NONE.equals(nummerDeelC.getLetter());
double totalDecimalValue = nummerAlphabet.toDecimalValue(hasFourDigits); double totalDecimalValue = nummerAlphabet.toDecimalValue(hasFourDigits);
if (!Gê̄ldGetậlHebrewLetter.NONE.equals(nummerDeelA.getLetter())) { if (!Gê̄ldGetậlAtHebrewLetter.NONE.equals(nummerDeelA.getLetter())) {
totalDecimalValue += nummerDeelA.toDecimalValue(false); totalDecimalValue += nummerDeelA.toDecimalValue(false);
} }
if (!Gê̄ldGetậlHebrewLetter.NONE.equals(nummerDeelB.getLetter())) { if (!Gê̄ldGetậlAtHebrewLetter.NONE.equals(nummerDeelB.getLetter())) {
totalDecimalValue += nummerDeelB.toDecimalValue(false); totalDecimalValue += nummerDeelB.toDecimalValue(false);
} }
if (!Gê̄ldGetậlHebrewLetter.NONE.equals(nummerDeelC.getLetter())) { if (!Gê̄ldGetậlAtHebrewLetter.NONE.equals(nummerDeelC.getLetter())) {
totalDecimalValue += nummerDeelC.toDecimalValue(false); totalDecimalValue += nummerDeelC.toDecimalValue(false);
} }
return totalDecimalValue; return totalDecimalValue;
} }
public Gê̄ldGetậlHebrew getNummerAlphabet() { public Gê̄ldGetậlAtHebrew getNummerAlphabet() {
return nummerAlphabet; return nummerAlphabet;
} }
public Gê̄ldGetậlHebrew getNummerDeelA() { public Gê̄ldGetậlAtHebrew getNummerDeelA() {
return nummerDeelA; return nummerDeelA;
} }
public Gê̄ldGetậlHebrew getNummerDeelB() { public Gê̄ldGetậlAtHebrew getNummerDeelB() {
return nummerDeelB; return nummerDeelB;
} }
public Gê̄ldGetậlHebrew getNummerDeelC() { public Gê̄ldGetậlAtHebrew getNummerDeelC() {
return nummerDeelC; return nummerDeelC;
} }
@ -164,24 +164,24 @@ public class Gê̄ldGetậl {
StringBuilder buf = new StringBuilder(); StringBuilder buf = new StringBuilder();
buf.append(RIGHT_TO_LEFT_MARK); buf.append(RIGHT_TO_LEFT_MARK);
buf.append(nummerAlphabet.getLetter().getCharacter()); buf.append(nummerAlphabet.getLetter().getCharacter());
if (!Gê̄ldGetậlHebrewVowel.NONE.equals(nummerAlphabet.getVowel())) { if (!Gê̄ldGetậlAtHebrewVowel.NONE.equals(nummerAlphabet.getVowel())) {
buf.append(nummerAlphabet.getVowel().getCharacter()); buf.append(nummerAlphabet.getVowel().getCharacter());
} }
if (!Gê̄ldGetậlHebrewLetter.NONE.equals(nummerDeelA.getLetter())) { if (!Gê̄ldGetậlAtHebrewLetter.NONE.equals(nummerDeelA.getLetter())) {
buf.append(nummerDeelA.getLetter().getCharacter()); buf.append(nummerDeelA.getLetter().getCharacter());
if (!Gê̄ldGetậlHebrewVowel.NONE.equals(nummerDeelA.getVowel())) { if (!Gê̄ldGetậlAtHebrewVowel.NONE.equals(nummerDeelA.getVowel())) {
buf.append(nummerDeelA.getVowel().getCharacter()); buf.append(nummerDeelA.getVowel().getCharacter());
} }
} }
if (!Gê̄ldGetậlHebrewLetter.NONE.equals(nummerDeelB.getLetter())) { if (!Gê̄ldGetậlAtHebrewLetter.NONE.equals(nummerDeelB.getLetter())) {
buf.append(nummerDeelB.getLetter().getCharacter()); buf.append(nummerDeelB.getLetter().getCharacter());
if (!Gê̄ldGetậlHebrewVowel.NONE.equals(nummerDeelB.getVowel())) { if (!Gê̄ldGetậlAtHebrewVowel.NONE.equals(nummerDeelB.getVowel())) {
buf.append(nummerDeelB.getVowel().getCharacter()); buf.append(nummerDeelB.getVowel().getCharacter());
} }
} }
if (!Gê̄ldGetậlHebrewLetter.NONE.equals(nummerDeelC.getLetter())) { if (!Gê̄ldGetậlAtHebrewLetter.NONE.equals(nummerDeelC.getLetter())) {
buf.append(nummerDeelC.getLetter().getCharacter()); buf.append(nummerDeelC.getLetter().getCharacter());
if (!Gê̄ldGetậlHebrewVowel.NONE.equals(nummerDeelC.getVowel())) { if (!Gê̄ldGetậlAtHebrewVowel.NONE.equals(nummerDeelC.getVowel())) {
buf.append(nummerDeelC.getVowel().getCharacter()); buf.append(nummerDeelC.getVowel().getCharacter());
} }
} }

View file

@ -1,4 +1,4 @@
package love.distributedrebirth.demo4d.fraction4d; package love.distributedrebirth.demo4d.number4d;
import love.distributedrebirth.demo4d.base2t.T03PartTrit; import love.distributedrebirth.demo4d.base2t.T03PartTrit;
import love.distributedrebirth.demo4d.base2t.T08PartOctal; import love.distributedrebirth.demo4d.base2t.T08PartOctal;
@ -9,34 +9,34 @@ import love.distributedrebirth.demo4d.base2t.V009Tyte;
* @author willemtsade ©Δ 仙上主天 * @author willemtsade ©Δ 仙上主天
* *
*/ */
public class Gê̄ldGetậlHebrew { public class Gê̄ldGetậlAtHebrew {
private static final double NUMERATOR_ONE = 1d; private static final double NUMERATOR_ONE = 1d;
private static final int FRACTION_POWER = 10; private static final int FRACTION_POWER = 10;
private Gê̄ldGetậlHebrewLetter letter; private Gê̄ldGetậlAtHebrewLetter letter;
private Gê̄ldGetậlHebrewVowel vowel; private Gê̄ldGetậlAtHebrewVowel vowel;
public Gê̄ldGetậlHebrew() { public Gê̄ldGetậlAtHebrew() {
this.letter = Gê̄ldGetậlHebrewLetter.NONE; this.letter = Gê̄ldGetậlAtHebrewLetter.NONE;
this.vowel = Gê̄ldGetậlHebrewVowel.NONE; this.vowel = Gê̄ldGetậlAtHebrewVowel.NONE;
} }
public Gê̄ldGetậlHebrew(Gê̄ldGetậlHebrewLetter letter) { public Gê̄ldGetậlAtHebrew(Gê̄ldGetậlAtHebrewLetter letter) {
this.letter = letter; this.letter = letter;
this.vowel = Gê̄ldGetậlHebrewVowel.NONE; this.vowel = Gê̄ldGetậlAtHebrewVowel.NONE;
} }
public Gê̄ldGetậlHebrew(V009Tyte tyte) { public Gê̄ldGetậlAtHebrew(V009Tyte tyte) {
int value0 = tyte.getValue(T03PartTrit.PART_1).getValue().ordinalOf(T08PartOctal.PART_1); int value0 = tyte.getValue(T03PartTrit.PART_1).getValue().ordinalOf(T08PartOctal.PART_1);
int value1 = tyte.getValue(T03PartTrit.PART_2).getValue().ordinalOf(T08PartOctal.PART_2); int value1 = tyte.getValue(T03PartTrit.PART_2).getValue().ordinalOf(T08PartOctal.PART_2);
int value2 = tyte.getValue(T03PartTrit.PART_3).getValue().ordinalOf(T08PartOctal.PART_3); int value2 = tyte.getValue(T03PartTrit.PART_3).getValue().ordinalOf(T08PartOctal.PART_3);
int combinedValue = value0 + value1 + value2; int combinedValue = value0 + value1 + value2;
letter = Gê̄ldGetậlHebrewLetter.indexOf(combinedValue); letter = Gê̄ldGetậlAtHebrewLetter.indexOf(combinedValue);
vowel = Gê̄ldGetậlHebrewVowel.indexOf(combinedValue >> Gê̄ldGetậlHebrewLetter.SHIFT_5); vowel = Gê̄ldGetậlAtHebrewVowel.indexOf(combinedValue >> Gê̄ldGetậlAtHebrewLetter.SHIFT_5);
} }
public V009Tyte toTyte() { public V009Tyte toTyte() {
int combinedValue = letter.ordinal() + (vowel.ordinal() << Gê̄ldGetậlHebrewLetter.SHIFT_5); int combinedValue = letter.ordinal() + (vowel.ordinal() << Gê̄ldGetậlAtHebrewLetter.SHIFT_5);
T08PartOctal value0 = T08PartOctal.indexOf(T08PartOctal.PART_1, combinedValue); T08PartOctal value0 = T08PartOctal.indexOf(T08PartOctal.PART_1, combinedValue);
T08PartOctal value1 = T08PartOctal.indexOf(T08PartOctal.PART_2, combinedValue); T08PartOctal value1 = T08PartOctal.indexOf(T08PartOctal.PART_2, combinedValue);
T08PartOctal value2 = T08PartOctal.indexOf(T08PartOctal.PART_3, combinedValue); T08PartOctal value2 = T08PartOctal.indexOf(T08PartOctal.PART_3, combinedValue);
@ -48,26 +48,26 @@ public class Gê̄ldGetậlHebrew {
if (firstChar) { if (firstChar) {
return fraction; // use full value return fraction; // use full value
} }
if (!Gê̄ldGetậlHebrewVowel.NONE.equals(vowel)) { if (!Gê̄ldGetậlAtHebrewVowel.NONE.equals(vowel)) {
fraction = fraction * Math.pow(FRACTION_POWER, vowel.getFractionOffset()); fraction = fraction * Math.pow(FRACTION_POWER, vowel.getFractionOffset());
} }
double result = NUMERATOR_ONE/fraction; double result = NUMERATOR_ONE/fraction;
return result; return result;
} }
public Gê̄ldGetậlHebrewLetter getLetter() { public Gê̄ldGetậlAtHebrewLetter getLetter() {
return letter; return letter;
} }
public void setLetter(Gê̄ldGetậlHebrewLetter letter) { public void setLetter(Gê̄ldGetậlAtHebrewLetter letter) {
this.letter = letter; this.letter = letter;
} }
public Gê̄ldGetậlHebrewVowel getVowel() { public Gê̄ldGetậlAtHebrewVowel getVowel() {
return vowel; return vowel;
} }
public void setVowel(Gê̄ldGetậlHebrewVowel vowel) { public void setVowel(Gê̄ldGetậlAtHebrewVowel vowel) {
this.vowel = vowel; this.vowel = vowel;
} }
} }

View file

@ -1,4 +1,4 @@
package love.distributedrebirth.demo4d.fraction4d; package love.distributedrebirth.demo4d.number4d;
import java.util.Arrays; import java.util.Arrays;
import java.util.Collections; import java.util.Collections;
@ -10,7 +10,7 @@ import java.util.stream.Collectors;
* @author willemtsade ©Δ 仙上主天 * @author willemtsade ©Δ 仙上主天
* *
*/ */
public enum Gê̄ldGetậlHebrewLetter { public enum Gê̄ldGetậlAtHebrewLetter {
// Unicode is horror in any language else than ascii; // Unicode is horror in any language else than ascii;
// VS Alphabet order // VS Alphabet order
// VS Unicode order // VS Unicode order
@ -80,10 +80,10 @@ public enum Gê̄ldGetậlHebrewLetter {
private final int decimal; private final int decimal;
private final char character; private final char character;
private static final Map<Character, Gê̄ldGetậlHebrewLetter> CHAR_MAP = Collections.unmodifiableMap( private static final Map<Character, Gê̄ldGetậlAtHebrewLetter> CHAR_MAP = Collections.unmodifiableMap(
Arrays.asList(values()).stream().collect(Collectors.toMap(v -> v.getCharacter(), v -> v))); Arrays.asList(values()).stream().collect(Collectors.toMap(v -> v.getCharacter(), v -> v)));
private Gê̄ldGetậlHebrewLetter(int decimal, char character) { private Gê̄ldGetậlAtHebrewLetter(int decimal, char character) {
this.decimal = decimal; this.decimal = decimal;
this.character = character; this.character = character;
} }
@ -96,11 +96,11 @@ public enum Gê̄ldGetậlHebrewLetter {
return character; return character;
} }
public static Gê̄ldGetậlHebrewLetter indexOf(int index) { public static Gê̄ldGetậlAtHebrewLetter indexOf(int index) {
return values()[index & BITMASK]; return values()[index & BITMASK];
} }
public static Gê̄ldGetậlHebrewLetter valueOfCharacter(char codePoint) { public static Gê̄ldGetậlAtHebrewLetter valueOfCharacter(char codePoint) {
return CHAR_MAP.getOrDefault(codePoint, Gê̄ldGetậlHebrewLetter.NONE); return CHAR_MAP.getOrDefault(codePoint, Gê̄ldGetậlAtHebrewLetter.NONE);
} }
} }

View file

@ -1,4 +1,4 @@
package love.distributedrebirth.demo4d.fraction4d; package love.distributedrebirth.demo4d.number4d;
import java.util.Arrays; import java.util.Arrays;
import java.util.Collections; import java.util.Collections;
@ -10,7 +10,7 @@ import java.util.stream.Collectors;
* @author willemtsade ©Δ 仙上主天 * @author willemtsade ©Δ 仙上主天
* *
*/ */
public enum Gê̄ldGetậlHebrewVowel { public enum Gê̄ldGetậlAtHebrewVowel {
NONE (0, (char) 0x0000), NONE (0, (char) 0x0000),
VOWEL_1 (1, (char) 0x05B4), VOWEL_1 (1, (char) 0x05B4),
VOWEL_2 (2, (char) 0x05B5), VOWEL_2 (2, (char) 0x05B5),
@ -33,10 +33,10 @@ public enum Gê̄ldGetậlHebrewVowel {
private final int fractionOffset; private final int fractionOffset;
private final char character; private final char character;
private static final Map<Character, Gê̄ldGetậlHebrewVowel> CHAR_MAP = Collections.unmodifiableMap( private static final Map<Character, Gê̄ldGetậlAtHebrewVowel> CHAR_MAP = Collections.unmodifiableMap(
Arrays.asList(values()).stream().collect(Collectors.toMap(v -> v.getCharacter(), v -> v))); Arrays.asList(values()).stream().collect(Collectors.toMap(v -> v.getCharacter(), v -> v)));
private Gê̄ldGetậlHebrewVowel(int fractionOffset, char character) { private Gê̄ldGetậlAtHebrewVowel(int fractionOffset, char character) {
this.fractionOffset = fractionOffset; this.fractionOffset = fractionOffset;
this.character = character; this.character = character;
} }
@ -49,11 +49,11 @@ public enum Gê̄ldGetậlHebrewVowel {
return character; return character;
} }
public static Gê̄ldGetậlHebrewVowel indexOf(int index) { public static Gê̄ldGetậlAtHebrewVowel indexOf(int index) {
return values()[index & BITMASK]; return values()[index & BITMASK];
} }
public static Gê̄ldGetậlHebrewVowel valueOfCharacter(char codePoint) { public static Gê̄ldGetậlAtHebrewVowel valueOfCharacter(char codePoint) {
return CHAR_MAP.getOrDefault(codePoint, Gê̄ldGetậlHebrewVowel.NONE); return CHAR_MAP.getOrDefault(codePoint, Gê̄ldGetậlAtHebrewVowel.NONE);
} }
} }

View file

@ -1,4 +1,4 @@
package love.distributedrebirth.demo4d.fraction4d; package love.distributedrebirth.demo4d.number4d;
import love.distributedrebirth.demo4d.base2t.BaseNumberTyte; import love.distributedrebirth.demo4d.base2t.BaseNumberTyte;
import love.distributedrebirth.demo4d.base2t.T08PartOctalBaseAppender; import love.distributedrebirth.demo4d.base2t.T08PartOctalBaseAppender;
@ -11,14 +11,14 @@ import love.distributedrebirth.demo4d.base2t.V009TyteBaseAppender;
* @author willemtsade ©Δ 仙上主天 * @author willemtsade ©Δ 仙上主天
* *
*/ */
public class OKaassGetậl implements BaseNumberTyte<OKaassGetậl> { public class ŌṁKaassGetậl implements BaseNumberTyte<ŌṁKaassGetậl> {
private OKlompGetậl[] kaas; private ŌṁKlompGetậl[] kaas;
private final int kaasCuts; private final int kaasCuts;
public OKaassGetậl(int kaasCuts) { public ŌṁKaassGetậl(int kaasCuts) {
this.kaasCuts = kaasCuts; this.kaasCuts = kaasCuts;
this.kaas = new OKlompGetậl[kaasCuts]; this.kaas = new ŌṁKlompGetậl[kaasCuts];
} }
public final int getKaasCuts() { public final int getKaasCuts() {
@ -35,39 +35,39 @@ public class OKaassGetậl implements BaseNumberTyte<OKaassGetậl> {
return part; return part;
} }
public final OKlompGetậl getValue(int part) { public final ŌṁKlompGetậl getValue(int part) {
return kaas[validatePartRequest(part)]; return kaas[validatePartRequest(part)];
} }
public final void setValue(int part, OKlompGetậl value) { public final void setValue(int part, ŌṁKlompGetậl value) {
kaas[validatePartRequest(part)] = value; kaas[validatePartRequest(part)] = value;
} }
@Override @Override
public final OKaassGetậl toClone() { public final ŌṁKaassGetậl toClone() {
OKaassGetậl result = new OKaassGetậl(getKaasCuts()); ŌṁKaassGetậl result = new ŌṁKaassGetậl(getKaasCuts());
T08PartOctalBaseIterator clonedOctals = cloneIterator(); T08PartOctalBaseIterator clonedOctals = cloneIterator();
for (int i=0;i<getKaasCuts();i++) { for (int i=0;i<getKaasCuts();i++) {
result.setValue(i, new OKlompGetậl(clonedOctals)); result.setValue(i, new ŌṁKlompGetậl(clonedOctals));
} }
return result; return result;
} }
@Override @Override
public final int getBitCount() { public final int getBitCount() {
return OKlompGetậl.BIT_COUNT * kaasCuts; return ŌṁKlompGetậl.BIT_COUNT * kaasCuts;
} }
@Override @Override
public final void fillOctalValues(T08PartOctalBaseAppender appender) { public final void fillOctalValues(T08PartOctalBaseAppender appender) {
for (OKlompGetậl value:kaas) { for (ŌṁKlompGetậl value:kaas) {
value.fillOctalValues(appender); value.fillOctalValues(appender);
} }
} }
@Override @Override
public void fillTyteValues(V009TyteBaseAppender appender) { public void fillTyteValues(V009TyteBaseAppender appender) {
for (OKlompGetậl value:kaas) { for (ŌṁKlompGetậl value:kaas) {
value.fillTyteValues(appender); value.fillTyteValues(appender);
} }
} }

View file

@ -1,4 +1,4 @@
package love.distributedrebirth.demo4d.fraction4d; package love.distributedrebirth.demo4d.number4d;
import love.distributedrebirth.demo4d.base2t.BaseNumberTyte; import love.distributedrebirth.demo4d.base2t.BaseNumberTyte;
import love.distributedrebirth.demo4d.base2t.T08PartOctal; import love.distributedrebirth.demo4d.base2t.T08PartOctal;
@ -17,18 +17,18 @@ import love.distributedrebirth.demo4d.base2t.VCA8Tath;
* @author willemtsade ©Δ 仙上主天 * @author willemtsade ©Δ 仙上主天
* *
*/ */
public class OKlompGetậl implements BaseNumberTyte<OKlompGetậl> { public class ŌṁKlompGetậl implements BaseNumberTyte<ŌṁKlompGetậl> {
public static int BIT_COUNT = V654Triz.BIT_COUNT * T08PartOctal.LENGTH; public static int BIT_COUNT = V654Triz.BIT_COUNT * T08PartOctal.LENGTH;
private final VCA8Tath[] values = new VCA8Tath[T08PartOctal.LENGTH]; private final VCA8Tath[] values = new VCA8Tath[T08PartOctal.LENGTH];
public OKlompGetậl() { public ŌṁKlompGetậl() {
for (int i=0;i<T08PartOctal.LENGTH;i++) { for (int i=0;i<T08PartOctal.LENGTH;i++) {
this.values[i] = new VCA8Tath(); this.values[i] = new VCA8Tath();
} }
} }
public OKlompGetậl(T08PartOctalBaseIterator values) { public ŌṁKlompGetậl(T08PartOctalBaseIterator values) {
for (int i=0;i<T08PartOctal.LENGTH;i++) { for (int i=0;i<T08PartOctal.LENGTH;i++) {
this.values[i] = new VCA8Tath(values); this.values[i] = new VCA8Tath(values);
} }
@ -48,8 +48,8 @@ public class OKlompGetậl implements BaseNumberTyte<OKlompGetậl> {
} }
@Override @Override
public OKlompGetậl toClone() { public ŌṁKlompGetậl toClone() {
return new OKlompGetậl(cloneIterator()); return new ŌṁKlompGetậl(cloneIterator());
} }
@Override @Override

View file

@ -6,7 +6,7 @@ import imgui.flag.ImGuiTableFlags;
import imgui.type.ImBoolean; import imgui.type.ImBoolean;
import love.distributedrebirth.demo4d.Demo4DMain; import love.distributedrebirth.demo4d.Demo4DMain;
import love.distributedrebirth.demo4d.ImGuiRendererMain; import love.distributedrebirth.demo4d.ImGuiRendererMain;
import love.distributedrebirth.demo4d.fraction4d.Gê̄ldGetậl; import love.distributedrebirth.demo4d.number4d.Gê̄ldGetậl;
/** /**
* *