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();
V toClone();
default V toClone() {
return toClone(iteratorOctalsByClone());
}
V toClone(BaseIteratorOctal values);
void fillOctalsByClone(BaseAppenderOctal appender);

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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