A Core Java application that demonstrates quantity comparison, unit conversion, and arithmetic operations across different measurement units. The project evolves through 13 incremental use cases, with each implementation maintained in a separate Git branch.
This project applies Object-Oriented Programming (OOP) principles to build a flexible Quantity Measurement System capable of comparing, converting, and performing arithmetic on different measurement units such as length, weight, and volume.
| Branch | Description |
|---|---|
| UC1-Feet_Measure_Equality | Compare measurements in feet |
| UC2-Feet_Inches_Measure | Support feet and inches |
| UC3-Generic_Quantity | Generic quantity comparison |
| UC4-Extended_Support | Support additional measurement units |
| UC5-Unit_to_Unit | Convert between measurement units |
| UC6-Addition | Add compatible quantities |
| UC7-Addition_Unit_Spec | Perform addition with unit specification |
| UC8-Refactoring_Unit | Refactor conversion logic |
| UC9-Weight_Measure | Add weight measurement support |
| UC10-Generic_Quantity | Generic handling of multiple quantities |
| UC11-Volume_Measure | Add volume measurement support |
| UC12-Sub_Div | Support sub-division unit conversion |
| UC13-Central_Logic | Centralized measurement logic (Main Branch) |
- Clone the repository:
bash git clone https://github.com/yourusername/quantity-measurement-app.git - Navigate to the project:
bash cd quantity-measurement-app - Run the application: Compile and run the Java application using your preferred IDE (IntelliJ IDEA, Eclipse, or VS Code) or the Java command line tools.