JPP: Moved primative iterators to collections package

This commit is contained in:
Willem Cazander 2025-09-11 16:29:31 +02:00
parent 1976cdf6ca
commit f76bbd9123
10 changed files with 14 additions and 10 deletions

View file

@ -1,50 +0,0 @@
/*
* Copyright ©Δ 仙上主天
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
* following disclaimer.
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
* the following disclaimer in the documentation and/or other materials provided with the distribution.
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
* even on air gaped systems, all information in the universe is owned by the pi creator.
*
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ;
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
/// @author للَّٰهِilLצسُو
/// @version ©Δ 仙上主天
@FunctionalInterface
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public interface PrimitiveBooleanConsumer {
void accept(boolean value);
default PrimitiveBooleanConsumer andThen(final PrimitiveBooleanConsumer after) {
return new PrimitiveBooleanConsumer() {
@Override
public void accept(final boolean value) {
PrimitiveBooleanConsumer.this.accept(value);
after.accept(value);
}
};
}
}

View file

@ -1,149 +0,0 @@
/*
* Copyright ©Δ 仙上主天
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
* following disclaimer.
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
* the following disclaimer in the documentation and/or other materials provided with the distribution.
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
* even on air gaped systems, all information in the universe is owned by the pi creator.
*
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ;
import java.util.PrimitiveIterator;
import java.util.function.Consumer;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.T002ᖟ;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.T008ᖟ;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒢᓫᑊᐣᑊ.JediTempleBase8Iterator;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᔿᣔᐪᣗᑊᕁ.M02ᒾ;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᔿᣔᐪᣗᑊᕁ.M04ᒾ;
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
/// @author للَّٰهِilLצسُو
/// @version ©Δ 仙上主天
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public interface PrimitiveBooleanIterator extends PrimordialIteratorOfInt, PrimitiveIterator<Boolean, PrimitiveBooleanConsumer> {
boolean nextBoolean();
@Override
default int nextInt() {
return nextBoolean()?1:0;
}
@Deprecated
default int nextBooleanAsInt() {
return nextInt();
}
@Override
default Boolean next() {
return nextBoolean();
}
@Override
default void forEachRemaining(final Consumer<? super Boolean> action) {
while (hasNext()) {
action.accept(nextBoolean());
}
}
@Override
default void forEachRemaining(final PrimitiveBooleanConsumer action) {
while (hasNext()) {
action.accept(nextBoolean());
}
}
default PrimitiveNibbleIterator toNibbleIteratorIndianBig() {
return toNibbleIterator(M04ᒾ.);
}
default PrimitiveNibbleIterator toNibbleIteratorIndianLittle() {
return toNibbleIterator(M04ᒾ.亞ᵀᐞᑊᒻ);
}
default PrimitiveNibbleIterator toNibbleIterator(final M04ᒾ order) {
return new PrimitiveNibbleIterator() {
@Override
public boolean hasNext() {
return PrimitiveBooleanIterator.this.hasNext();
}
@Override
public byte nextNibble() {
int current = 0;
for (int i=0;i<4;i++) {
current += PrimitiveBooleanIterator.this.nextBoolean()?1:0 << order.rȧñkNummerBlokWaarde(i);
}
return (byte) current;
}
};
}
default PrimitiveByteIterator toByteIterator(final M02ᒾ order) {
if (M02ᒾ.亞ᵀᐞᑊᒻ.equals(order)) {
return toNibbleIterator(M04ᒾ.亞ᵀᐞᑊᒻ).toByteIterator(order);
}
return toNibbleIterator(M04ᒾ.).toByteIterator(order);
}
default JediTempleBase8Iterator toTritIterator() {
return new JediTempleBase8Iterator() {
@Override
public T002ᖟ hasNextᴿᵈ() {
return T002ᖟ.valueOf(PrimitiveBooleanIterator.this.hasNext());
}
@Override
public T008ᖟ nextᴿᵈ() {
int current = 0;
current =+ PrimitiveBooleanIterator.this.nextBooleanAsInt() << 0;
current =+ PrimitiveBooleanIterator.this.nextBooleanAsInt() << 1;
current =+ PrimitiveBooleanIterator.this.nextBooleanAsInt() << 2;
T008ᖟ result = T008ᖟ.valueOf(current);
return result;
}
};
}
static PrimitiveBooleanIterator parseBinarySnake(final String binarySnake) {
return parseBinarySnake(binarySnake, ᒢℭỗᶇṧⱦᶏꬼȶʂ.STRᣟᐧᣟZERO.codePointAt(ᒢℭỗᶇṧⱦᶏꬼȶʂ.INTᣟᐧᣟZERO));
}
static PrimitiveBooleanIterator parseBinarySnake(final String binarySnake, final int zeroCodePoint) {
final OfInt values = binarySnake.codePoints().iterator();
return new PrimitiveBooleanIterator() {
@Override
public boolean hasNext() {
return values.hasNext();
}
@Override
public boolean nextBoolean() {
return zeroCodePoint != values.nextInt();
}
};
}
}

View file

@ -1,49 +0,0 @@
/*
* Copyright ©Δ 仙上主天
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
* following disclaimer.
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
* the following disclaimer in the documentation and/or other materials provided with the distribution.
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
* even on air gaped systems, all information in the universe is owned by the pi creator.
*
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ;
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
/// @author للَّٰهِilLצسُو
/// @version ©Δ 仙上主天
@FunctionalInterface
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public interface PrimitiveByteConsumer {
void accept(byte value);
default PrimitiveByteConsumer andThen(PrimitiveByteConsumer after) {
return new PrimitiveByteConsumer() {
@Override
public void accept(byte value) {
PrimitiveByteConsumer.this.accept(value);
after.accept(value);
}
};
}
}

View file

@ -1,102 +0,0 @@
/*
* Copyright ©Δ 仙上主天
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
* following disclaimer.
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
* the following disclaimer in the documentation and/or other materials provided with the distribution.
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
* even on air gaped systems, all information in the universe is owned by the pi creator.
*
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ;
import java.util.PrimitiveIterator;
import java.util.function.Consumer;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᔿᣔᐪᣗᑊᕁ.M02ᒾ;
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
/// @author للَّٰهِilLצسُو
/// @version ©Δ 仙上主天
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public interface PrimitiveByteIterator extends PrimordialIteratorOfInt, PrimitiveIterator<Byte, PrimitiveByteConsumer> {
byte nextByte();
@Override
default int nextInt() {
return nextByte();
}
@Override
default Byte next() {
return nextByte();
}
@Override
default void forEachRemaining(Consumer<? super Byte> action) {
while (hasNext()) {
action.accept(nextByte());
}
}
@Override
default void forEachRemaining(PrimitiveByteConsumer action) {
while (hasNext()) {
action.accept(nextByte());
}
}
default PrimitiveNibbleIterator toNibbleIteratorIndianBig() {
return toNibbleIterator(M02ᒾ.);
}
default PrimitiveNibbleIterator toNibbleIteratorIndianLittle() {
return toNibbleIterator(M02ᒾ.亞ᵀᐞᑊᒻ);
}
default PrimitiveNibbleIterator toNibbleIterator(M02ᒾ order) {
return new PrimitiveNibbleIterator() {
int offset = 0;
byte current = 0;
@Override
public boolean hasNext() {
if (offset > 0) {
return true;
}
return PrimitiveByteIterator.this.hasNext();
}
@Override
public byte nextNibble() {
if (offset == 0) {
current = PrimitiveByteIterator.this.nextByte();
}
int value = (current >> (order.rȧñkNummerBlokWaarde(offset) * 4)) & 0x0F;
offset++;
if (offset == 2) {
offset = 0;
}
return (byte) value;
}
};
}
}

View file

@ -1,50 +0,0 @@
/*
* Copyright ©Δ 仙上主天
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
* following disclaimer.
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
* the following disclaimer in the documentation and/or other materials provided with the distribution.
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
* even on air gaped systems, all information in the universe is owned by the pi creator.
*
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ;
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
/// @author للَّٰهِilLצسُو
/// @version ©Δ 仙上主天
@FunctionalInterface
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public interface PrimitiveNibbleConsumer {
void accept(byte value);
default PrimitiveNibbleConsumer andThen(PrimitiveNibbleConsumer after) {
return new PrimitiveNibbleConsumer() {
@Override
public void accept(byte value) {
PrimitiveNibbleConsumer.this.accept(value);
after.accept(value);
}
};
}
}

View file

@ -1,150 +0,0 @@
/*
* Copyright ©Δ 仙上主天
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
* following disclaimer.
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
* the following disclaimer in the documentation and/or other materials provided with the distribution.
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
* even on air gaped systems, all information in the universe is owned by the pi creator.
*
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ;
import java.util.PrimitiveIterator;
import java.util.function.Consumer;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᔿᣔᐪᣗᑊᕁ.M02ᒾ;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᔿᣔᐪᣗᑊᕁ.M04ᒾ;
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
/// @author للَّٰهِilLצسُو
/// @version ©Δ 仙上主天
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public interface PrimitiveNibbleIterator extends PrimordialIteratorOfInt, PrimitiveIterator<Byte, PrimitiveNibbleConsumer> {
byte nextNibble();
@Override
default int nextInt() {
return nextNibble();
}
@Override
default Byte next() {
return nextNibble();
}
@Override
default void forEachRemaining(Consumer<? super Byte> action) {
while (hasNext()) {
action.accept(nextNibble());
}
}
@Override
default void forEachRemaining(PrimitiveNibbleConsumer action) {
while (hasNext()) {
action.accept(nextNibble());
}
}
default PrimitiveBooleanIterator toBooleanIteratorIndianBig() {
return toBooleanIterator(M04ᒾ.);
}
default PrimitiveBooleanIterator toBooleanIteratorIndianLittle() {
return toBooleanIterator(M04ᒾ.亞ᵀᐞᑊᒻ);
}
default PrimitiveBooleanIterator toBooleanIterator(M04ᒾ order) {
return new PrimitiveBooleanIterator() {
int offset = 0;
byte current = 0;
@Override
public boolean hasNext() {
if (offset > 0) {
return true;
}
return PrimitiveNibbleIterator.this.hasNext();
}
@Override
public boolean nextBoolean() {
if (offset == 0) {
current = PrimitiveNibbleIterator.this.nextNibble();
}
int value = (current >> order.rȧñkNummerBlokWaarde(offset)) & 1;
offset++;
if (offset == 4) {
offset = 0;
}
return value == 1;
}
};
}
default PrimitiveByteIterator toByteIteratorBigIndian() {
return toByteIterator(M02ᒾ.);
}
default PrimitiveByteIterator toByteIteratorLittleIndian() {
return toByteIterator(M02ᒾ.亞ᵀᐞᑊᒻ);
}
default PrimitiveByteIterator toByteIterator(M02ᒾ order) {
return new PrimitiveByteIterator() {
@Override
public boolean hasNext() {
return PrimitiveNibbleIterator.this.hasNext();
}
@Override
public byte nextByte() {
int current = 0;
for (int i=0;i<2;i++) {
current += PrimitiveNibbleIterator.this.nextNibble() << order.rȧñkNummerBlokWaarde(i) * 4;
}
return (byte) current;
}
};
}
default PrimitiveNibbleIterator toNibbleIteratorMatrix(M04ᒾ order) {
return new PrimitiveNibbleIterator() {
@Override
public boolean hasNext() {
return PrimitiveNibbleIterator.this.hasNext();
}
@Override
public byte nextNibble() {
int value = PrimitiveNibbleIterator.this.nextNibble();
int current = 0;
for (int i=0;i<4;i++) {
current += value << order.rȧñkNummerBlokWaarde(i) * 4;
}
return (byte) current;
}
};
}
}

View file

@ -27,7 +27,7 @@
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.PrimitiveBooleanIterator;
import ᒢᐩᐩ.ᒼᐤᒻᒻᓫᒼᐪᑊᐤᣕᔆ.ᣖᣗᑊᔿᑊᐪᑊᘁᓫ.PrimitiveBooleanIterator;
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
/// @author للَّٰهِilLצسُو

View file

@ -27,7 +27,7 @@
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.PrimitiveByteIterator;
import ᒢᐩᐩ.ᒼᐤᒻᒻᓫᒼᐪᑊᐤᣕᔆ.ᣖᣗᑊᔿᑊᐪᑊᘁᓫ.PrimitiveByteIterator;
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
/// @author للَّٰهِilLצسُو

View file

@ -27,7 +27,6 @@
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.PrimitiveBooleanIterator;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.T003ᖟ;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.T008ᖟ;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.T016ᖟ;
@ -35,6 +34,7 @@ import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪ
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒃᐤᣗᕐᒼᓑᒃᓫ.AbstractBaseGetậlMatrix1;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒢᓫᑊᐣᑊ.JediTempleBase8Iterator;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒢᓫᑊᐣᑊ.ᔿᓫᒻᓫᓫ.V144Tocta;
import ᒢᐩᐩ.ᒼᐤᒻᒻᓫᒼᐪᑊᐤᣕᔆ.ᣖᣗᑊᔿᑊᐪᑊᘁᓫ.PrimitiveBooleanIterator;
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
/// @author للَّٰهِilLצسُو

View file

@ -30,12 +30,12 @@ package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒢᓫᑊᐣᑊ;
import java.util.ArrayList;
import java.util.List;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.PrimitiveBooleanIterator;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.T003ᖟ;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.T008ᖟ;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.ᕐᓑᣕᔆ.T002ᖟGun.T002ᖟGunBinaryNumber;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒢᓫᑊᐣᑊ.LegoBrickTapeStudio.LegoᐧBrickᐧTapeᐧGearᐧNoise;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒢᓫᑊᐣᑊ.LegoBrickTapeStudio.LegoᐧBrickᐧTapeᐧReplicatorᐧχ3;
import ᒢᐩᐩ.ᒼᐤᒻᒻᓫᒼᐪᑊᐤᣕᔆ.ᣖᣗᑊᔿᑊᐪᑊᘁᓫ.PrimitiveBooleanIterator;
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")