https://github.com/lorem-ipsumm/bst-assignment
This is an assignment for my CSC 202 class where we had to create a Binary Search Tree to find restaurants from a google docs file
https://github.com/lorem-ipsumm/bst-assignment
Last synced: 8 months ago
JSON representation
This is an assignment for my CSC 202 class where we had to create a Binary Search Tree to find restaurants from a google docs file
- Host: GitHub
- URL: https://github.com/lorem-ipsumm/bst-assignment
- Owner: lorem-ipsumm
- Created: 2017-07-17T23:14:27.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-19T02:21:52.000Z (almost 9 years ago)
- Last Synced: 2025-07-02T09:46:50.122Z (12 months ago)
- Language: Java
- Size: 182 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BST-Assignment
This is an assignment for my CSC 202 class where we had to create a Binary Search Tree to find restaurants from a google docs file
To get the data directly from the google doc sheet, I use a google script that turns the sheet data into a readable JSON format.
From there I was able to parse the data and make it indexable. For example:
```
Restaurants restuarant = new Restaurants();
//The parameter for all the functions is the ID of the restaurant
//I am using ID 24 in this case
System.out.println(restaurant.getName(24)); //returns Fuji Sushi
System.out.println(restaurant.getZipCode(24)); //returns 63052
System.out.println(restuarant.getPhoneNumber(24)); //returns 6364648889
```
Full gist explanation here: https://gist.github.com/SolarFloss/eb97baab105fed817c469fa086616339
## Main Window

## When you click on a list item
