the code
public boolean print (User u, Book b) {
Job newJob = new Job (ps, u.get_name());
books = new Hashtable(100);
public Book getBook(User u, String title) {
System.out.println("REQUEST TO GET BOOK " + title);
if(books.containsKey(title)) {
Book b = (Book)books.get(title);
System.out.println("getBook: Found it:" + b);
if (b.get_borrower() == null) {
public User(String n) { name = n; }
public boolean getBook (String title) {
Book aBook = theLibrary.getBook(this, title);
thePrinter.print(this,aBook);
public Book(String t, String a, String i, PostScript p) {
public User get_borrower() {return borrower;}
public void set_borrower(User u) {borrower = u;}
public PostScript get_ps() { return ps; }