subject

Library Project: Library. java In the project, you will develop four classes called Book, Reader, Shelf, and Library. These classes will be used to store, manipulate, and analyze information about the objects stored in a library.
This details the creation of the Library. java class. The UML is listed below.
All the fields have getters and setters.
It is also important to note that the class has neither a hashCode() method nor an equals() method.
Field Details 3
Constant Fields 3
Members 3
String name 3
Static int libraryCard 3
List readers 3
HashMap shelves 3
HashMap books 3
Method Details 4
init(String filename) 4
Library00.csv 5
initBooks(int bookCount, Scanner scan) 6
initShelves(int shelfCount, Scanner scan) 6
initReader(int readerCount, Scanner scan) 7
addbook(Book newBook) 7
returnBook(Reader reader, Book book) 8
returnBook() 8
addBookToShelf(Book book, Shelf shelf) 8
listBooks() 8
checkoutBook(Reader reader, Book book) 9
getBookByISBN(String isbn) 9
listShelves(boolean showbooks) 9
addShelf(String shelfSubject) 10
addShelf(Shelf shelf) 10
getShelf(Integer shelfNumber) 10
getShelf(String subject) 10
listReaders() 10
listReaders(boolean showBooks) 11
getReaderByCard(int cardNumber) 11
addReader(Reader reader) 11
removeReader(Reader reader) 12
convertInt(String recordCountString, Code code) 12
convertDate(String date, Code errorCode) 13
getLibraryCardNumber() 13
errorCode(int codeNumber) 13
UML Diagram of Library. java (Link to full size image) 14
Field Details
Constant Fields
LENDING_LIMIT
This is the maximum number of books someone can check out at a time. Initially set to 5.
Members
String name
The name of the library
Static int libraryCard
The current max library card number
List readers
A list of readers registered to the library
HashMap shelves
A HashMap containing the subject (String) of the shelf and the Shelf object
HashMap books
A HashMap that contains the Book objects registered to the library and the count of those books (Integer)

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:00
Which best describes the condition under which the unicode output is the same as plain text?
Answers: 3
question
Computers and Technology, 22.06.2019 10:30
You are almost finished updating a web site. as part of the update, you have converted all pages from html 4.0 to html5. the project is currently on schedule. however, your project manager has been asked by the marketing team manager to justify a day of time spent validating the site's html5 pages. the marketing team manager does not have technical knowledge of the internet or the web. which is the most appropriate explanation to provide to the marketing team manager?
Answers: 1
question
Computers and Technology, 23.06.2019 04:31
This graph compares the cost of room and board at educational institutions in texas.
Answers: 1
question
Computers and Technology, 23.06.2019 06:30
Which option correctly describes a dbms application? a. software used to manage databases b. software used to organize files and folders c. software used to develop specialized images d. software used to create effective presentations
Answers: 1
You know the right answer?
Library Project: Library. java In the project, you will develop four classes called Book, Reader, S...
Questions
question
Mathematics, 30.11.2021 08:50
question
English, 30.11.2021 08:50
Questions on the website: 13722367