This project is a Java Generics Library Platform designed to provide reusable and type-safe generic data structures and utilities. It aims to simplify the development of Java applications by offering a robust library of generic classes and methods.
Before you begin, ensure you have the following:
- Java Development Kit (JDK) version 8 or higher installed.
- An IDE (e.g., IntelliJ IDEA, Eclipse, Visual Studio Code) for development.
- Clone the repository:
git clone https://github.com/yourusername/A-Java-Generics-Library-Platform.git- Navigate to the project directory:
cd A-Java-Generics-Library-Platform- Build the project using your preferred IDE or a build tool like Maven or Gradle.
- After the program has started, you will be prompted, to enter any of these four commands: add, remove, view, exit
a. The 'add' command will prompt you for details on the book or movie you want to add into the library database. b. The 'remove' command will prompt you for the unique ID of the library item that you wish to remove from the database. c. 'view' lets you view the list of items in the library. d. 'exit' will exit the program.
- Upon choosing to add an item, the program will ask for the name of the item, it's author, and a unique ID for the item in case there are similar duplicate items like it.
Once the repository is downloaded, you will want to ensure that these files are already present:
.
├── Catalog.java
│
├── LibraryItem.java
│
├── Main.java
|
└── Testing.java
Feel free to contribute! To contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Make your changes.
- Commit your changes (
git commit -m 'Add new feature'). - Push to the branch (
git push origin feature-branch). - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.