Skip to content

imayeshakhatoon/Java-Collections-Shirt-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Java-Collections-Shirt-Project

This is a Java console-based project that manages a collection of shirts using Collections Framework.
Each shirt contains: brand, color, price, and size.
The project supports adding shirts, displaying them, filtering, sorting, and counting based on different criteria.

Features

  • Add shirts to the list
  • Display all shirts
  • Get shirts by brand
  • Get shirts by brand + size
  • Sort shirts by price (Low → High)
  • Get all available brands
  • Count shirts of a particular brand
  • Count shirts of all brands

Technologies Used

  • Java
  • Collections Framework (List, Set, Map)
  • Comparator & Sorting

How to Run

  1. Open the project in Eclipse / IntelliJ / VS Code
  2. Run the User.java class
  3. Follow the menu instructions in the console

⭐ Built as a learning project to practice Java Collections and problem-solving.

About

Java Project using ArrayList, Set, Map and Comparator on Shirt objects. Includes filtering, sorting and counting operations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages