JPP: Also renamed tape studio methods to have equal prefix like others
This commit is contained in:
parent
13abc47e5e
commit
61dbed85df
10 changed files with 17 additions and 17 deletions
|
|
@ -93,7 +93,7 @@ public enum T008ᖟ implements Terminator𓄯<T008ᖟ>, LegoᐧBrickᐧTapeᐧRe
|
|||
}
|
||||
|
||||
@Override
|
||||
public void legoᐧtuneᐧrecord(final JediTempleBase8Offering appender) {
|
||||
public void brickᐧtapeᐧrecordᐧtune(final JediTempleBase8Offering appender) {
|
||||
appender.addᵂʳ(this);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -139,7 +139,7 @@ public enum T064ᖟ implements Terminator𓄯<T064ᖟ>, LegoᐧBrickᐧTapeᐧRe
|
|||
}
|
||||
|
||||
@Override
|
||||
public void legoᐧtuneᐧrecord(final JediTempleBase8Offering appender) {
|
||||
public void brickᐧtapeᐧrecordᐧtune(final JediTempleBase8Offering appender) {
|
||||
appender.addᵂʳ(clampᐧoctalᐧtuneᐧby2());
|
||||
appender.addᵂʳ(clampᐧoctalᐧtuneᐧby2ᐧmod());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -592,7 +592,7 @@ public enum T512ᖟ implements Terminator𓄯<T512ᖟ>, LegoᐧBrickᐧTapeᐧRe
|
|||
}
|
||||
|
||||
@Override
|
||||
public void legoᐧtuneᐧrecord(final JediTempleBase8Offering appender) {
|
||||
public void brickᐧtapeᐧrecordᐧtune(final JediTempleBase8Offering appender) {
|
||||
appender.addᵂʳ(clampᐧoctalᐧtuneᐧby3(T003ᖟ.PART_1));
|
||||
appender.addᵂʳ(clampᐧoctalᐧtuneᐧby3(T003ᖟ.PART_2));
|
||||
appender.addᵂʳ(clampᐧoctalᐧtuneᐧby3(T003ᖟ.PART_3));
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ public abstract class LegoBrickMould抽<T extends LegoᐧBrickᐧTapeᐧRecorder
|
|||
}
|
||||
|
||||
@Override
|
||||
public final void legoᐧtuneᐧrecord(JediTempleBase8Offering appender) {
|
||||
legoᐧcomposeᐧᗅᗷᗷᗅ(v -> v.legoᐧtuneᐧrecord(appender));
|
||||
public final void brickᐧtapeᐧrecordᐧtune(JediTempleBase8Offering appender) {
|
||||
legoᐧcomposeᐧᗅᗷᗷᗅ(v -> v.brickᐧtapeᐧrecordᐧtune(appender));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ public enum LegoBrickNiblet {
|
|||
}
|
||||
|
||||
default int brickᐧtapeᐧlengthᐧχ3() {
|
||||
return gearᐧnoise().brickᐧtapeᐧlength();
|
||||
return brickᐧtapeᐧgear().brickᐧtapeᐧlength();
|
||||
}
|
||||
}
|
||||
public interface LegoᐧBrickᐧNibletᐧχ3<V extends LegoᐧBrickᐧNibletᐧχ3<V>> extends LegoᐧBrickᐧTapeᐧReplicatorᐧχ3<V> {
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ public enum LegoBrickTapeStudio {
|
|||
@FunctionalInterface
|
||||
protected interface LegoᐧBrickᐧTapeᐧGearᐧNoise<V> extends ᒢObject {
|
||||
|
||||
V gearᐧnoise();
|
||||
V brickᐧtapeᐧgear();
|
||||
}
|
||||
|
||||
protected interface LegoᐧBrickᐧTapeᐧDrive<V, T extends LegoᐧBrickᐧTapeᐧGearᐧNoise<V>> {
|
||||
|
|
@ -53,11 +53,11 @@ public enum LegoBrickTapeStudio {
|
|||
|
||||
int brickᐧtapeᐧlength();
|
||||
|
||||
void legoᐧtuneᐧrecord(JediTempleBase8Offering appender);
|
||||
void brickᐧtapeᐧrecordᐧtune(JediTempleBase8Offering appender);
|
||||
|
||||
default JediTempleBase8Iterator brickᐧtapeᐧrecordᐧχ3() {
|
||||
List<T008ᖟ> octals = new ArrayList<>(brickᐧtapeᐧlength());
|
||||
legoᐧtuneᐧrecord(JediTempleBase8Offering.wrapᴼᶠ(octals));
|
||||
brickᐧtapeᐧrecordᐧtune(JediTempleBase8Offering.wrapᴼᶠ(octals));
|
||||
return JediTempleBase8Iterator.wrapᴼᶠ(octals.iterator());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ public enum LegoGearByteNative {
|
|||
protected interface LegoᐧGearᐧByteᐧNativeᐧχ72ᐧNoise<V extends LegoᐧGearᐧByteᐧNativeᐧχ72<V>> extends LegoᐧBrickᐧTapeᐧGearᐧNoise<V> {
|
||||
|
||||
default List<V> gearsᐧbuildᐧbricksᐧfromᐧbyteᐧstream(InputStream input) throws IOException {
|
||||
int brickTapeLengthBytes = gearᐧnoise().brickᐧtapeᐧlength() * 3 / 8; // todo V extends .... X3
|
||||
int brickTapeLengthBytes = brickᐧtapeᐧgear().brickᐧtapeᐧlength() * 3 / 8; // todo V extends .... X3
|
||||
List<T008ᖟ> octals = new ArrayList<>();
|
||||
byte[] data = new byte[brickTapeLengthBytes];
|
||||
int readDataSize = 0; // per 9 bytes we have 24 octals for one V072Tong number
|
||||
|
|
@ -97,10 +97,10 @@ public enum LegoGearByteNative {
|
|||
// TODO: add error on misalignment
|
||||
List<V> result = new ArrayList<>();
|
||||
JediTempleBase8Iterator i3 = JediTempleBase8Iterator.wrapᴼᶠ(octals.iterator());
|
||||
int octalCount = gearᐧnoise().brickᐧtapeᐧlength();
|
||||
int octalCount = brickᐧtapeᐧgear().brickᐧtapeᐧlength();
|
||||
int octalTypeSize = octals.size() / octalCount;
|
||||
for (int i=0;i<octalTypeSize;i++) {
|
||||
result.add(gearᐧnoise().brickᐧtapeᐧsynthesize(i3));
|
||||
result.add(brickᐧtapeᐧgear().brickᐧtapeᐧsynthesize(i3));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -60,10 +60,10 @@ public enum LegoGearStringBinarySnake {
|
|||
// TODO: add error on misalignment
|
||||
List<V> result = new ArrayList<>();
|
||||
JediTempleBase8Iterator i3 = JediTempleBase8Iterator.wrapᴼᶠ(octals.iterator());
|
||||
int octalCount = gearᐧnoise().brickᐧtapeᐧlength();
|
||||
int octalCount = brickᐧtapeᐧgear().brickᐧtapeᐧlength();
|
||||
int octalTypeSize = octals.size() / octalCount;
|
||||
for (int i=0;i<octalTypeSize;i++) {
|
||||
result.add(gearᐧnoise().brickᐧtapeᐧsynthesize(i3));
|
||||
result.add(brickᐧtapeᐧgear().brickᐧtapeᐧsynthesize(i3));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -69,10 +69,10 @@ public enum LegoGearStringHinarī {
|
|||
// TODO: add error on misalignment
|
||||
List<V> result = new ArrayList<>();
|
||||
JediTempleBase8Iterator i3 = JediTempleBase8Iterator.wrapᴼᶠ(octals.iterator());
|
||||
int octalCount = gearᐧnoise().brickᐧtapeᐧlength();
|
||||
int octalCount = brickᐧtapeᐧgear().brickᐧtapeᐧlength();
|
||||
int octalTypeSize = octals.size() / octalCount;
|
||||
for (int i=0;i<octalTypeSize;i++) {
|
||||
result.add(gearᐧnoise().brickᐧtapeᐧsynthesize(i3));
|
||||
result.add(brickᐧtapeᐧgear().brickᐧtapeᐧsynthesize(i3));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ public class V018TordTest {
|
|||
tord.legoᐧtuneᐧᗅᗷᗷᗅ(T006ᖟ.PART_4, T008ᖟ.PART_2);
|
||||
tord.legoᐧtuneᐧᗅᗷᗷᗅ(T006ᖟ.PART_5, T008ᖟ.PART_8);
|
||||
tord.legoᐧtuneᐧᗅᗷᗷᗅ(T006ᖟ.PART_6, T008ᖟ.PART_8); // last is LSB
|
||||
tord.legoᐧtuneᐧrecord(new JediTempleBase8Offering() {
|
||||
tord.brickᐧtapeᐧrecordᐧtune(new JediTempleBase8Offering() {
|
||||
|
||||
@Override
|
||||
public boolean addᵂʳ(T008ᖟ value) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue