Added jmarket project
This commit is contained in:
parent
d1412b6a02
commit
3a45050fa6
3
.idea/workspace.xml
generated
3
.idea/workspace.xml
generated
@ -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
1
jmarket-09-10
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 24e7f12667ab03948f09c71612c893fdc52993cf
|
||||
@ -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) {
|
||||
|
||||
6
list/src/main/java/de/vivi/list/list/ArrayByteList.java
Normal file
6
list/src/main/java/de/vivi/list/list/ArrayByteList.java
Normal file
@ -0,0 +1,6 @@
|
||||
package de.vivi.list.list;
|
||||
|
||||
public class ArrayByteList implements ByteList {
|
||||
|
||||
private byte[] values;
|
||||
}
|
||||
6
list/src/main/java/de/vivi/list/list/ByteList.java
Normal file
6
list/src/main/java/de/vivi/list/list/ByteList.java
Normal file
@ -0,0 +1,6 @@
|
||||
package de.vivi.list.list;
|
||||
|
||||
public interface ByteList {
|
||||
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user