Commit 6da347cf authored by trh010's avatar trh010
Browse files

Changed name adjacencyNode.java to Vertex.java

parent dce26bc0
......@@ -4,10 +4,10 @@ import java.util.ArrayList;
public class AdjacencyList {
private ArrayList<ArrayList<AdjacencyNode>> adjList;
private ArrayList<ArrayList<Vertex>> adjList;
public AdjacencyList() {
adjList = new ArrayList<ArrayList<AdjacencyNode>>();
adjList = new ArrayList<ArrayList<Vertex>>();
}
public void addNode(String newWord) {
......
package main;
public class AdjacencyNode {
public class Vertex {
private String word;
private int handle;
public AdjacencyNode(String word, int handle) {
public Vertex(String word, int handle) {
this.word = word;
this.handle = handle;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment