Page 1 of 1

In this assignment you will be modifying several classes that will be given to you. In addition, you will perform an exp

Posted: Thu Jul 14, 2022 2:12 pm
by answerhappygod
In this assignment you will be modifying several classes thatwill be given to you.
In addition, you will perform an experiment to run threedifferent sorts and collect the amount of time it takes for eachone to sort lists of varying lengths. Using this data, you willcompare the performance of the sorts.
This is a multi-part project. For best results, implementthe parts in the order given below.
Part 1. Sorter
Part 2. Library Class
Library
- state: String
- branch: String
- city: String
- zip: String
- county: String
- int squareFeet: int
- int hoursOpen: int
- int weeksOpen: int
+ Library(state: String, branch: String, city: String, zip:String, county: String, squareFeet: int, hoursOpen: int, weeksOpen:int)
+ getState(): String
+ getBranch(): String
+ getCity(): String
+ getZip(): String
+ getCounty(): String
+ getSquareFeet(): int
+ getHoursOpen(): int
+ getWeeksOpen(): int
+ setState(state: String): void
+ setBranch(branch: String):void
+ setCity(city: String):void
+ setZip(zip: String):void
+ setCounty(count: : String):void
+ setSquareFeet(sqfeet: int): void
+ setHoursOpen(hrsOpen: int): void
+ setWeeksOpen(weeksOpen: int): void
+ equals(Object obj): boolean
+ compareTo(Library): int
+ toString(): String
Part 3. MySorter Class
Part 4. ReadFromFile Class