package class9_3_FunctionalExample_Library_start;// Dr. Yoder. MSOE. 02 December 2016 import java.util.ArrayList; import java.util.LinkedList; public class LibraryDriver { public static void main(String[] args) { ArrayList books; books = new ArrayList<>(); books.add(new Book("Don Quixote","Cervantes")); books.add(new Book("Les Misérables","Hugo")); books.add(new Book("Monster Inc","Pixar")); // not really a book books.add(0, new Book("The Little Match Girl","Anderson")); books.add(0, new Book("The Lord of the Rings","Tolkien")); Library library = new Library(); library.addBooks(books); Book found = library.findByAuthor("Pixar"); System.out.println("found = " + found); found = library.findByAuthor("Tolkien"); System.out.println("found = " + found); } }