/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package lab2stuff; import java.util.ArrayList; /** * * @author jcmt */ public class Library { ArrayList contents = new ArrayList(); // IMplement list of patrons // Implement list of employees public boolean CheckOutABook(String in) { for (Book b: contents) { if (b.getiSBN().equals(in)) { b.setCheckedOut(true); //create the due date //b.setDueDate(); return true; } } return false; } /* public boolean AddBook(Book nuBook) { System.out.printf("New book is %s\n",nuBook); return true; } */ }