mirror of
https://gitlab.uni-marburg.de/langbeid/powersort.git
synced 2025-01-21 19:50:35 +01:00
refactor
This commit is contained in:
parent
43dfcd987e
commit
cb9ff240ea
@ -1,4 +1,7 @@
|
||||
package de.uni_marburg.powersort.benchmark;
|
||||
package de.uni_marburg.powersort;
|
||||
|
||||
import de.uni_marburg.powersort.benchmark.DummyComparable1;
|
||||
import de.uni_marburg.powersort.benchmark.NaturalOrder;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
@ -3,7 +3,7 @@ package de.uni_marburg.powersort.benchmark;
|
||||
/**
|
||||
* A class for tiny, comparable objects.
|
||||
*/
|
||||
record DummyComparable1(int id) implements Comparable<DummyComparable1> {
|
||||
public record DummyComparable1(int id) implements Comparable<DummyComparable1> {
|
||||
@Override
|
||||
public int compareTo(DummyComparable1 other) {
|
||||
return id - other.id;
|
||||
|
Loading…
x
Reference in New Issue
Block a user