コード例 #1
0
 public void renew(BorrowedBook book)
 {
     book.setDaysToKeep(book.getDaysToKeep() + RENEWAL);
 }
コード例 #2
0
        public BorrowedBook borrow(string bookTitle)
        {
            BorrowedBook book = new BorrowedBook(bookTitle);

            return(book);
        }
コード例 #3
0
 public void borrowBook()
 {
     book = borrow.borrow(bookTitle);
 }
コード例 #4
0
 public void returnIt(BorrowedBook book)
 {
     book = null;
 }