Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
trh010
cs311_final_project
Commits
6da347cf
Commit
6da347cf
authored
Apr 15, 2014
by
trh010
Browse files
Changed name adjacencyNode.java to Vertex.java
parent
dce26bc0
Changes
2
Hide whitespace changes
Inline
Side-by-side
CS311_final_project/src/main/AdjacencyList.java
View file @
6da347cf
...
...
@@ -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
)
{
...
...
CS311_final_project/src/main/
AdjacencyNode
.java
→
CS311_final_project/src/main/
Vertex
.java
View file @
6da347cf
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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment