diff options
author | Jonas Smedegaard <dr@jones.dk> | 2025-04-21 11:27:58 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2025-04-21 13:58:38 +0200 |
commit | 015142523902d387a9755c0c113433c818ddcbfe (patch) | |
tree | 62136bee312a5dd62ee79b87407ca90a8e9ae1c9 /com/example/portfolio3/AdjListGraph.java | |
parent | 67ff2ddc41b9b97b64d2ffde6d1674203be22d07 (diff) |
make some classes public, to permit reuse
Diffstat (limited to 'com/example/portfolio3/AdjListGraph.java')
-rw-r--r-- | com/example/portfolio3/AdjListGraph.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/com/example/portfolio3/AdjListGraph.java b/com/example/portfolio3/AdjListGraph.java index 416f646..a677d3e 100644 --- a/com/example/portfolio3/AdjListGraph.java +++ b/com/example/portfolio3/AdjListGraph.java @@ -5,10 +5,10 @@ package com.example.portfolio3; import java.util.*; /// Adjecency List Graph - A map from vertices to set of outedges from the vertex -class AdjListGraph extends AbstractGraph { +public class AdjListGraph extends AbstractGraph { /// foo - AdjListGraph() {} + public AdjListGraph() {} /// foo private Map<Vertex,Set<Edge>> outEdge= new HashMap<>(); |