package com.andela.library;

public class Library {

    public Library(){
        
    }

}

@@ -26,68 +26,2267 @@
 y;%0A%0A
-public class Library %7B%0A%0A    public Library()%7B%0A        %0A    %7D%0A
+import com.andela.library.model.Book;%0Aimport com.andela.library.model.Member;%0Aimport com.andela.library.queue.BookQueue;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.Collection;%0Aimport java.util.Iterator;%0Aimport java.util.PriorityQueue;%0A%0Apublic class Library extends Organization%3CBook, Member%3E %7B%0A%0A    BookQueue bookQueue;%0A%0A    public Library()%7B%0A        super();%0A        bookQueue = new BookQueue();%0A    %7D%0A%0A    public void addBookRequest(Book book, Member member)%7B%0A        if (isItemRegistered(book) && isMemberRegistered(member))%0A            bookQueue.addItemQueue(book, member);%0A    %7D%0A%0A    public void addBookRequest(Book book, Collection%3C? extends Member%3E members)%7B%0A        for (Member member : members)%7B%0A            addBookRequest(book, member);%0A        %7D%0A    %7D%0A%0A    public void addAllBookRequests(Collection%3C? extends Book%3E books, Member member) %7B%0A        for (Book book : books)%7B%0A            addBookRequest(book, member);%0A        %7D%0A    %7D%0A%0A    public void addAllBookRequests(Collection%3C? extends Book%3E books, Collection%3C? extends Member%3E members) %7B%0A        for (Book book : books)%7B%0A            addBookRequest(book, members);%0A        %7D%0A    %7D%0A%0A    public PriorityQueue%3CMember%3E getBorrowedBook(Book book)%7B%0A        return bookQueue.getItemQueue(book);%0A    %7D%0A%0A    public ArrayList%3CPriorityQueue%3CMember%3E%3E getAllBorrowedBooks(Collection%3CBook%3E books)%7B%0A        return bookQueue.getAllItemQueue(books);%0A    %7D%0A%0A    public int sizeOfBorrowedBooks() %7B%0A        return bookQueue.itemQueueSize();%0A    %7D%0A%0A    public boolean isBorrowedBookEmpty() %7B%0A        return bookQueue.itemQueueSize() == 0;%0A    %7D%0A%0A    public boolean borrowedBookContains(Book book) %7B%0A        return this.bookQueue.itemQueueContains(book);%0A    %7D%0A%0A    public Iterator%3CMember%3E borrowedBookIterator(Book book) %7B%0A        return bookQueue.iterator(book);%0A    %7D%0A%0A    public Object%5B%5D borrowedBookToArray(Book book) %7B%0A        return bookQueue.itemQueueToArray(book);%0A    %7D%0A%0A    public void removeBorrowedBook(Book book) %7B%0A        bookQueue.removeItemQueue(book);%0A    %7D%0A%0A    public void removeAllBorrowedBook(Collection%3C? extends Book%3E books) %7B%0A        for (Book book : books)%7B%0A            removeBorrowedBook(book);%0A        %7D%0A    %7D%0A%0A    public void clearBookRequest() %7B%0A        bookQueue.clearItemQueue();%0A    %7D
 %0A%7D%0A

Complete and pass LibraryTest class [Finishes #110294434]