Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
trh010
cs311_final_project
Commits
866d4940
Commit
866d4940
authored
Apr 15, 2014
by
trh010
Browse files
added adjacencylist class
parent
e8503694
Changes
3
Hide whitespace changes
Inline
Side-by-side
CS311_final_project/src/main/AdjacencyList.java
0 → 100644
View file @
866d4940
package
main
;
public
class
AdjacencyList
{
}
CS311_final_project/src/main/Main.java
View file @
866d4940
package
main
;
import
java.io.File
;
import
java.io.FileNotFoundException
;
import
java.util.Scanner
;
public
class
Main
{
public
static
void
main
(
String
[]
args
){
//reads args[0] for input file path
File
file
=
new
File
(
args
[
0
]);
try
{
Scanner
in
=
new
Scanner
(
file
);
}
catch
(
FileNotFoundException
e
)
{
System
.
err
.
println
(
"Error in opening the file: "
+
args
[
0
]
+
". Please check the file path."
);
}
}
}
CS311_final_project/src/test/Test.java
View file @
866d4940
package
test
;
public
class
Test
{
public
static
void
main
(
String
[]
args
){
}
}
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