Made types clone copieble

This commit is contained in:
Willem Cazander 2022-04-11 20:17:32 +02:00
parent 89e95cfe54
commit b561d2eac6
14 changed files with 30 additions and 26 deletions

View file

@ -16,7 +16,11 @@ public interface BaseNumber<V extends BaseNumber<V>> {
int BãßBitCount(); int BãßBitCount();
V toClone(); default V toClone() {
return toClone(iteratorOctalsByClone());
}
V toClone(BaseIteratorOctal values);
void fillOctalsByClone(BaseAppenderOctal appender); void fillOctalsByClone(BaseAppenderOctal appender);

View file

@ -43,8 +43,8 @@ public final class V006Tixte implements BaseNumber<V006Tixte> {
} }
@Override @Override
public V006Tixte toClone() { public V006Tixte toClone(BaseIteratorOctal values) {
return new V006Tixte(iteratorOctalsByClone()); return new V006Tixte(values);
} }
@Override @Override

View file

@ -59,8 +59,8 @@ public final class V009Tyte implements BaseNumberTyte<V009Tyte> {
} }
@Override @Override
public V009Tyte toClone() { public V009Tyte toClone(BaseIteratorOctal values) {
return new V009Tyte(iteratorOctalsByClone()); return new V009Tyte(values);
} }
@Override @Override

View file

@ -70,8 +70,8 @@ public final class V018Tord implements BaseNumberTyte<V018Tord> {
} }
@Override @Override
public V018Tord toClone() { public V018Tord toClone(BaseIteratorOctal values) {
return new V018Tord(iteratorOctalsByClone()); return new V018Tord(values);
} }
@Override @Override

View file

@ -49,8 +49,8 @@ public final class V027Temvig implements BaseNumberTyte<V027Temvig> {
} }
@Override @Override
public V027Temvig toClone() { public V027Temvig toClone(BaseIteratorOctal values) {
return new V027Temvig(iteratorOctalsByClone()); return new V027Temvig(values);
} }
@Override @Override

View file

@ -71,8 +71,8 @@ public final class V036Teger implements BaseNumberTyte<V036Teger> {
} }
@Override @Override
public V036Teger toClone() { public V036Teger toClone(BaseIteratorOctal values) {
return new V036Teger(iteratorOctalsByClone()); return new V036Teger(values);
} }
@Override @Override

View file

@ -41,8 +41,8 @@ public final class V042Traw implements BaseNumber<V042Traw> {
} }
@Override @Override
public V042Traw toClone() { public V042Traw toClone(BaseIteratorOctal values) {
return new V042Traw(iteratorOctalsByClone()); return new V042Traw(values);
} }
@Override @Override

View file

@ -62,8 +62,8 @@ public final class V072Tong implements BaseNumberTyte<V072Tong> {
} }
@Override @Override
public V072Tong toClone() { public V072Tong toClone(BaseIteratorOctal values) {
return new V072Tong(iteratorOctalsByClone()); return new V072Tong(values);
} }
@Override @Override

View file

@ -78,8 +78,8 @@ public final class V144Tocta implements BaseNumberTyte<V144Tocta> {
} }
@Override @Override
public V144Tocta toClone() { public V144Tocta toClone(BaseIteratorOctal values) {
return new V144Tocta(iteratorOctalsByClone()); return new V144Tocta(values);
} }
@Override @Override

View file

@ -42,8 +42,8 @@ public class V0x000348ˣᴸ implements BaseNumberˣᴸ<V0x000348ˣᴸ> {
} }
@Override @Override
public V0x000348ˣᴸ toClone() { public V0x000348ˣᴸ toClone(BaseIteratorOctal values) {
return new V0x000348ˣᴸ(iteratorOctalsByClone()); return new V0x000348ˣᴸ(values);
} }
@Override @Override

View file

@ -43,8 +43,8 @@ public class V0x000654ˣᴸ implements BaseNumberTyteˣᴸ<V0x000654ˣᴸ> {
} }
@Override @Override
public V0x000654ˣᴸ toClone() { public V0x000654ˣᴸ toClone(BaseIteratorOctal values) {
return new V0x000654ˣᴸ(iteratorOctalsByClone()); return new V0x000654ˣᴸ(values);
} }
@Override @Override

View file

@ -43,8 +43,8 @@ public class V0x000CA8ˣᴸ implements BaseNumberTyteˣᴸ<V0x000CA8ˣᴸ> {
} }
@Override @Override
public V0x000CA8ˣᴸ toClone() { public V0x000CA8ˣᴸ toClone(BaseIteratorOctal values) {
return new V0x000CA8ˣᴸ(iteratorOctalsByClone()); return new V0x000CA8ˣᴸ(values);
} }
@Override @Override

View file

@ -41,8 +41,8 @@ public class V0x0013B0ˣᴸ implements BaseNumberˣᴸ<V0x0013B0ˣᴸ> {
} }
@Override @Override
public V0x0013B0ˣᴸ toClone() { public V0x0013B0ˣᴸ toClone(BaseIteratorOctal values) {
return new V0x0013B0ˣᴸ(iteratorOctalsByClone()); return new V0x0013B0ˣᴸ(values);
} }
@Override @Override

View file

@ -27,7 +27,7 @@ public class ImCharacter {
float yOff = p0.y + 19f; float yOff = p0.y + 19f;
float yFlip = -1f; float yFlip = -1f;
float scale = 0.0199f; float scale = 0.0199f;
if (drawChar.getyMax() > 800) { if (drawChar.getyMax() > 900) {
scale = 0.0100f; scale = 0.0100f;
} }
ImGlyphPathCommand first = null; ImGlyphPathCommand first = null;