Index
A B G I L P R S T
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addBook(Book) - Method in class Starter.Library
-
Book object is added to catalog
B
- Book - Class in Starter
-
Write a description of class Book here.
- Book(String, String, int) - Constructor for class Starter.Book
-
Constructs a Book object
- borrowBook(String) - Method in class Starter.Library
-
Prints to console whether book is already rented, if it is not in the catalog, or if it has been rented successfully.
G
- getAddress() - Method in class Starter.Library
-
Get the address of this Library
- getAuthor() - Method in class Starter.Book
-
Returns the author of this Book
- getTitle() - Method in class Starter.Book
-
Returns the title of this Book
- getYear() - Method in class Starter.Book
-
Returns the year this Book was published.
I
- isBorrowed() - Method in class Starter.Book
-
Returns true if this Book is currently rented.
L
- Library - Class in Starter
-
Write a description of class Library here.
- Library(String) - Constructor for class Starter.Library
-
Constructs a new Library object with given address.
P
- printAvailableBooks() - Method in class Starter.Library
-
Prints to console whether no books are in the catalog or prints the list of books (and says if they are currently rented).
R
- rentBook() - Method in class Starter.Book
-
This Book is marked as rented.
- returnBook() - Method in class Starter.Book
-
This Book is set as not rented.
- returnBook(String, int) - Method in class Starter.Library
-
Book with title is marked as returned and the fine amount is given, which is FINE * daysLate
S
- Starter - package Starter
T
- toString() - Method in class Starter.Book
-
Returns the String representation of this Book.
- toString() - Method in class Starter.Library
-
Returns the String representation of this Library.
All Classes All Packages