From 61fd71f69e080790da722e0e03b71ecd7c2538a2 Mon Sep 17 00:00:00 2001 From: bculkin2442 Date: Tue, 10 May 2016 16:02:45 -0400 Subject: General update --- BJC-Utils2/src/main/java/bjc/utils/graph/Graph.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'BJC-Utils2/src/main/java/bjc/utils/graph/Graph.java') diff --git a/BJC-Utils2/src/main/java/bjc/utils/graph/Graph.java b/BJC-Utils2/src/main/java/bjc/utils/graph/Graph.java index 0574325..798d20d 100644 --- a/BJC-Utils2/src/main/java/bjc/utils/graph/Graph.java +++ b/BJC-Utils2/src/main/java/bjc/utils/graph/Graph.java @@ -13,8 +13,8 @@ import java.util.function.BiPredicate; import bjc.utils.data.IHolder; import bjc.utils.data.Identity; import bjc.utils.funcdata.FunctionalMap; -import bjc.utils.funcdata.IFunctionalList; -import bjc.utils.funcdata.IFunctionalMap; +import bjc.utils.funcdata.IList; +import bjc.utils.funcdata.IMap; /** * A directed weighted graph, where the vertices have some arbitrary label @@ -49,7 +49,7 @@ public class Graph { /** * The backing representation of the graph */ - private final IFunctionalMap> backingGraph; + private final IMap> backingGraph; /** * Create a new graph @@ -135,7 +135,7 @@ public class Graph { * The vertex to use as a source * @return All of the edges with the specified vertex as a source */ - public IFunctionalMap getEdges(T source) { + public IMap getEdges(T source) { // Can't find edges for a null source if (source == null) { throw new NullPointerException("The source cannot be null."); @@ -230,7 +230,7 @@ public class Graph { * * @return A unmodifiable set of all the vertices in the graph. */ - public IFunctionalList getVertices() { + public IList getVertices() { return backingGraph.keyList(); } -- cgit v1.2.3