| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This project was developed for the SLIIT Object-Oriented Programming (OOP) module to demonstrate the use of Java Collections Framework and Generics.
It includes two mini applications: BookApp (PriorityQueue) and InventoryApp (HashMap).
This project showcases how to:
Implements a library management system using a PriorityQueue.
Implements a simple inventory system using a HashMap.
Helper class defining the product structure with:
Used as the value object in the inventory HashMap.
Clone the Repository
git clone https://github.com/<your-username>/Java-Collections-Framework-Examples.git
cd Java-Collections-Framework-Examples
🧠 Concepts Demonstrated
| Concept | Description |
| ----------------- | ----------------------------------------- |
| **PriorityQueue** | For ordered book title management |
| **HashMap** | For efficient key-value product inventory |
| **Generics** | For compile-time type safety |
| **Encapsulation** | Through the Tool (Product) class |
| **Polymorphism** | Used via overridden `toString()` methods |
| Back | FazBrowse Home | New Git URL |