moved each day to their specific folder
This commit is contained in:
parent
9f6b734836
commit
3427e53698
|
@ -1,4 +1,4 @@
|
||||||
package sugui.aux;
|
package sugui.day07;
|
||||||
|
|
||||||
public record Card(String label) {
|
public record Card(String label) {
|
||||||
}
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
package sugui.aux;
|
package sugui.day07;
|
||||||
|
|
||||||
import java.util.Comparator;
|
import java.util.Comparator;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package sugui.aux;
|
package sugui.day07;
|
||||||
|
|
||||||
import java.util.Comparator;
|
import java.util.Comparator;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package sugui;
|
package sugui.day07;
|
||||||
|
|
||||||
import java.io.BufferedReader;
|
import java.io.BufferedReader;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
@ -9,11 +9,6 @@ import java.nio.file.Paths;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.stream.Collectors;
|
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 class Day07 {
|
||||||
|
|
||||||
public static Path inputPath = Paths.get("resources/input07.txt");
|
public static Path inputPath = Paths.get("resources/input07.txt");
|
|
@ -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) {
|
public record Hand(Card c1, Card c2, Card c3, Card c4, Card c5, int bid) {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package sugui.aux;
|
package sugui.day07;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Comparator;
|
import java.util.Comparator;
|
||||||
|
@ -7,7 +7,7 @@ import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.stream.Stream;
|
import java.util.stream.Stream;
|
||||||
|
|
||||||
import sugui.aux.Hand.HandType;
|
import sugui.day07.Hand.HandType;
|
||||||
|
|
||||||
public class HandComparator implements Comparator<Hand> {
|
public class HandComparator implements Comparator<Hand> {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package sugui.aux;
|
package sugui.day07;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Comparator;
|
import java.util.Comparator;
|
||||||
|
@ -7,7 +7,7 @@ import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.stream.Stream;
|
import java.util.stream.Stream;
|
||||||
|
|
||||||
import sugui.aux.Hand.HandType;
|
import sugui.day07.Hand.HandType;
|
||||||
|
|
||||||
public class HandWithJokerComparator implements Comparator<Hand> {
|
public class HandWithJokerComparator implements Comparator<Hand> {
|
||||||
|
|
Loading…
Reference in New Issue