Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Writing code in java and javafx Storing a user file and a book file Displaying user information Books purchased When you log in View a

image text in transcribedWriting code in java and javafx

Storing a user file and a book file Displaying user information Books purchased When you log in View a book purchased by users

library management system is a simple application to he built using the Balanced Binary Search Tree (Tree Map) in Java. The program will provide some basic book management tasks like, insertion, deletion, sorting regarding specific book information, and searching for books matching specific query. Additionally, the program should have a list of people, each of whom may be interested in one or more books, so there's a mapping between the two entities in this simple program: User \& Book. This project offers you the opportunity to gain valuable hands-on experience. You'll try to, efficiently, practice all the basic operations and algorithms we have discussed along the term. Java Classes 1. Tree Map A Red-Black (balanced BST) tree based NavigableMap implementation. The map is sorted according to the natural ordering of its keys, or by a Comparator provided at map creation time, depending on which constructor is used. This will insure log(n) time complexity for most of the operations. You can see this class and how to use it here 2. HashMap This data structure to be used for mapping each user to his list of books. also, each user with its personal data (i.e., its Object). You can see this class and how to use it here 3. Book This class contains all the required information for a book, you can follow this ADT

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Application Development And Administration

Authors: Michael V. Mannino

4th Edition

0615231047, 978-0615231044

More Books

Students also viewed these Databases questions