Modifier and Type | Method and Description |
---|---|
CrimeRecord |
CrimeRecordListNode.getData() |
CrimeRecord |
CrimeRecordList.next() |
static CrimeRecord |
CrimeRecord.parseLine(java.lang.String line)
pre: line contains comma separated values of crime data - as shown by
each line in the file.
|
Modifier and Type | Method and Description |
---|---|
void |
CrimeRecordList.add(CrimeRecord cr)
Add a crime record to the end of the list.
|
CrimeRecordList |
BSTTree.bruteForceSearch(CrimeRecord n,
double distance) |
static double |
CrimeRecord.distanceBetween(CrimeRecord a,
CrimeRecord b)
pre: two crime records contain valid State Plane coordinate data
|
void |
BSTTree.inOrderSearch(BSTTreeNode t,
CrimeRecord n,
CrimeRecordList resultList,
double distance) |
void |
CrimeRecordListNode.setData(CrimeRecord data) |
Constructor and Description |
---|
CrimeRecordListNode(CrimeRecord data,
CrimeRecordListNode next)
Constructor tow create a single node
|