Added jmarket project

This commit is contained in:
Paul H 2025-03-17 15:54:46 +01:00
parent d1412b6a02
commit 3a45050fa6
5 changed files with 23 additions and 8 deletions

3
.idea/workspace.xml generated
View File

@ -5,8 +5,7 @@
</component>
<component name="ChangeListManager">
<list default="true" id="395d95f7-d752-4ca0-b261-78679f611e7e" name="Changes" comment="">
<change beforePath="$PROJECT_DIR$/.idea/vcs.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/list/src/main/java/de/vivi/list/Main.java" beforeDir="false" afterPath="$PROJECT_DIR$/list/src/main/java/de/vivi/list/Main.java" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />

1
jmarket-09-10 Submodule

@ -0,0 +1 @@
Subproject commit 24e7f12667ab03948f09c71612c893fdc52993cf

View File

@ -1,19 +1,22 @@
package de.vivi.list;
import de.vivi.list.list.ArrayByteList;
import de.vivi.list.list.ByteList;
public class Main {
public static void main(String[] args) {
ByteList array = new ArrayByteList();
ByteList linked = new LinkedByteList();
ByteList combined = new CombinedByteList(16);
// ByteList linked = new LinkedByteList();
// ByteList combined = new CombinedByteList(16);
testList(array);
testList(linked);
testList(combined);
// testList(linked);
// testList(combined);
testSort(array);
testSort(linked);
testSort(combined);
// testSort(linked);
// testSort(combined);
}
private static void testList(ByteList list) {

View File

@ -0,0 +1,6 @@
package de.vivi.list.list;
public class ArrayByteList implements ByteList {
private byte[] values;
}

View File

@ -0,0 +1,6 @@
package de.vivi.list.list;
public interface ByteList {
}