You have recently been thinking of going into business. It has always been your dream to own a parking lot in the city. You recently went and bought a very large underground facility and are almost ready for opening day!

Design a program that models a parking lot.

You should have the relevant data structures (more than one perhaps depending if they park their car or an attendant does, etc.). You can use collections, but you must also create your own generic class and create your own data structure.

Make sure to put in data. You will also need to analyze the cars coming into your lot using lambdas and streams to sift out interesting and relevant information.

You should be able to do things like sort data (you should write your own sorting methods, use comparators and iterators).

This should be a real world design, so think of all the possibilities and how you would deal with them.

at least 10 objects should be implemented and run in main.

Iterator
HashMap
List
VehicleStayComparator
Sorter

ParkingLot
Lot
Vehicle
Ticket
Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.