aboutsummaryrefslogtreecommitdiff
path: root/src/com.example.portfolio3/com/example/portfolio3/AdjListGraph.java
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2025-04-27 20:32:01 +0200
committerJonas Smedegaard <dr@jones.dk>2025-04-27 20:32:01 +0200
commitf9c00672695c1bd1d148d7eaf4a50e820faf7f3f (patch)
treea85d098c1b7039a7c53e4e52dfe8a1744e1cb23e /src/com.example.portfolio3/com/example/portfolio3/AdjListGraph.java
parent5fdfc0c9b1f1ed084cb084aed19be56a03698730 (diff)
fix imports and avoid wildcard import
Diffstat (limited to 'src/com.example.portfolio3/com/example/portfolio3/AdjListGraph.java')
-rw-r--r--src/com.example.portfolio3/com/example/portfolio3/AdjListGraph.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/com.example.portfolio3/com/example/portfolio3/AdjListGraph.java b/src/com.example.portfolio3/com/example/portfolio3/AdjListGraph.java
index a677d3e..babaaaa 100644
--- a/src/com.example.portfolio3/com/example/portfolio3/AdjListGraph.java
+++ b/src/com.example.portfolio3/com/example/portfolio3/AdjListGraph.java
@@ -2,7 +2,11 @@ package com.example.portfolio3;
// origin: <https://moodle.ruc.dk/course/section.php?id=211877>
-import java.util.*;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.Map;
+import java.util.Set;
/// Adjecency List Graph - A map from vertices to set of outedges from the vertex
public class AdjListGraph extends AbstractGraph {