moved each day to their specific folder

This commit is contained in:
Sugui 2023-12-07 12:09:13 +01:00
parent 9f6b734836
commit 3427e53698
13 changed files with 9 additions and 14 deletions

View File

@ -1,4 +1,4 @@
package sugui.aux;
package sugui.day07;
public record Card(String label) {
}

View File

@ -1,4 +1,4 @@
package sugui.aux;
package sugui.day07;
import java.util.Comparator;

View File

@ -1,4 +1,4 @@
package sugui.aux;
package sugui.day07;
import java.util.Comparator;

View File

@ -1,4 +1,4 @@
package sugui;
package sugui.day07;
import java.io.BufferedReader;
import java.io.IOException;
@ -9,11 +9,6 @@ import java.nio.file.Paths;
import java.util.List;
import java.util.stream.Collectors;
import sugui.aux.Card;
import sugui.aux.Hand;
import sugui.aux.HandComparator;
import sugui.aux.HandWithJokerComparator;
public class Day07 {
public static Path inputPath = Paths.get("resources/input07.txt");

View File

@ -1,4 +1,4 @@
package sugui.aux;
package sugui.day07;
public record Hand(Card c1, Card c2, Card c3, Card c4, Card c5, int bid) {

View File

@ -1,4 +1,4 @@
package sugui.aux;
package sugui.day07;
import java.util.ArrayList;
import java.util.Comparator;
@ -7,7 +7,7 @@ import java.util.List;
import java.util.Map;
import java.util.stream.Stream;
import sugui.aux.Hand.HandType;
import sugui.day07.Hand.HandType;
public class HandComparator implements Comparator<Hand> {

View File

@ -1,4 +1,4 @@
package sugui.aux;
package sugui.day07;
import java.util.ArrayList;
import java.util.Comparator;
@ -7,7 +7,7 @@ import java.util.List;
import java.util.Map;
import java.util.stream.Stream;
import sugui.aux.Hand.HandType;
import sugui.day07.Hand.HandType;
public class HandWithJokerComparator implements Comparator<Hand> {