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, 21.06.2019 23:30
Acomputer is a multipurpose device that accepts input, processes data, stores data, and produces output, all according to a series of stored . the processing unit of most modern computers is a(n) . the instructions that tell a computer how to carry out a task are referred to as computer , which are distributed as software. computers run three main types of software: software, system software, and development tools. an example of system software is a computer system, which is essentially the master controller for all the activities that a digital device performs. digital devices are constructed using tiny electronic components that represent data bits as electrical signals. the system unit houses the system board, which contains several circuits made from semiconducting materials. computers come in three popular form factors: component, , and slate. many of today's digital devices operate on battery power supplied by ion batteries. battery life and lifespan can be extended by following good battery management practices.
Answers: 3
question
Computers and Technology, 22.06.2019 16:30
Technician a says that a dry sump system uses no oil storage sump under the engine. technician b says that a wet sump system uses no oil storage sump under the engine. who is correct?
Answers: 3
question
Computers and Technology, 23.06.2019 11:00
What are the possible consequences of computer hacking? what is computer piracy? describe some examples. what are the effects of computer piracy? what are the possible consequences of computer piracy? what is intentional virus setting? describe some examples. what are the effects of intentional virus setting? what are the possible consequences of intentional virus setting? what is invasion of privacy? describe some examples. what are the effects of invasion of privacy? what are the possible consequences of invasion of privacy? what is an acceptable use policy and what is the purpose of the acceptable use policy what is intellectual property and how can you use it?
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. what does it indicate when a website displays https instead of http? a. the website is secure. b. there is no secure sockets layer. c. the secure sockets layer is hidden. d. the website is not secure.
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, 18.11.2020 20:10
question
Mathematics, 18.11.2020 20:10
Questions on the website: 13722361