Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/404wolf/csds233-assignment-5
CWRU CSDS233 Assignment 5
https://github.com/404wolf/csds233-assignment-5
Last synced: 7 days ago
JSON representation
CWRU CSDS233 Assignment 5
- Host: GitHub
- URL: https://github.com/404wolf/csds233-assignment-5
- Owner: 404Wolf
- License: mit
- Created: 2023-11-26T20:36:06.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2023-11-26T20:39:07.000Z (12 months ago)
- Last Synced: 2023-11-26T21:29:46.671Z (12 months ago)
- Language: Java
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# CSDS 233 Assignment 5
## Wolf Mermelstein# Design Notes
* I changed `runSimulation` to be a static method that automatically instantiates the `CaseCashSystem`. This ensures that upon each simulation a fresh instance of `CaseCashSystem` is used for the simulation.
* I've decided to make `Student` a public subclass of `CaseCashSystem`, but with a private constructor. It is proper practice to not expose instances of private classes outside of those classes, so making the entire `Student` class private is unideal. By making its constructor private you must use the `CaseCashSystem` superclass to create instances of `Student`s.
* I created a separate `org.sort` package and tests where I implemented quicksort and mergesort. Both quicksort and mergesort implement a sort interface I made, which is a class with a single static public method that sorts `List`s in-place.