From cb9ff240ea6e00c09d60480557fb4eb6c3b2280e Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Mon, 16 Dec 2024 21:19:35 +0000 Subject: [PATCH] refactor --- .../uni_marburg/powersort/{benchmark => }/Educational.java | 5 ++++- .../de/uni_marburg/powersort/benchmark/DummyComparable1.java | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) rename app/src/main/java/de/uni_marburg/powersort/{benchmark => }/Educational.java (92%) diff --git a/app/src/main/java/de/uni_marburg/powersort/benchmark/Educational.java b/app/src/main/java/de/uni_marburg/powersort/Educational.java similarity index 92% rename from app/src/main/java/de/uni_marburg/powersort/benchmark/Educational.java rename to app/src/main/java/de/uni_marburg/powersort/Educational.java index 22c13b2..35bb456 100644 --- a/app/src/main/java/de/uni_marburg/powersort/benchmark/Educational.java +++ b/app/src/main/java/de/uni_marburg/powersort/Educational.java @@ -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; diff --git a/app/src/main/java/de/uni_marburg/powersort/benchmark/DummyComparable1.java b/app/src/main/java/de/uni_marburg/powersort/benchmark/DummyComparable1.java index 7cea94b..a404bbe 100644 --- a/app/src/main/java/de/uni_marburg/powersort/benchmark/DummyComparable1.java +++ b/app/src/main/java/de/uni_marburg/powersort/benchmark/DummyComparable1.java @@ -3,7 +3,7 @@ package de.uni_marburg.powersort.benchmark; /** * A class for tiny, comparable objects. */ -record DummyComparable1(int id) implements Comparable { +public record DummyComparable1(int id) implements Comparable { @Override public int compareTo(DummyComparable1 other) { return id - other.id;