Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2XB3FinalProject
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christopher Schankula
2XB3FinalProject
Commits
f246c7f3
Commit
f246c7f3
authored
7 years ago
by
Christopher Schankula
Browse files
Options
Downloads
Patches
Plain Diff
a few comments explaining the ArrayList
parent
b1ba04af
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/biotree/FileProcessor.java
+2
-2
2 additions, 2 deletions
src/biotree/FileProcessor.java
with
2 additions
and
2 deletions
src/biotree/FileProcessor.java
+
2
−
2
View file @
f246c7f3
...
...
@@ -21,7 +21,7 @@ import org.json.simple.parser.ParseException;
*/
public
class
FileProcessor
{
private
static
String
path
=
"src/occurrence.csv"
;
private
static
ArrayList
<
Record
>
al
=
new
ArrayList
<
Record
>(
1000
);
private
static
ArrayList
<
Record
>
al
=
new
ArrayList
<
Record
>(
1000
);
//temporary storage for records
/**
* Gets the path string
...
...
@@ -69,7 +69,7 @@ public class FileProcessor {
//initialize the storage of records
DataStore
.
init
(
al
.
toArray
(
new
Record
[
al
.
size
()]));
al
=
null
;
al
=
null
;
//free temporary memory storage of Record objects now that they're in the KDTree.
s
.
close
();
//Testing ONLY
br
.
close
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment