public void showDetailsOfMovie(Library movies) {
   ArrayList<LibraryItem> coll = movies.ListAvailableBooks();
   System.out.format("%-25s%35s%35s%35s\n", "Name", "Director", "Years", "Rating");
   console.display(
       "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -");
   for (LibraryItem movie : coll) {
     System.out.println(movie);
   }
 }
 public void showDetailsOfBook(Library collection) {
   ArrayList<LibraryItem> coll = collection.ListAvailableBooks();
   console.format("%-25s%25s%55s\n", "Name", "Author", "Years");
   console.display(
       "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -");
   for (LibraryItem book : coll) {
     System.out.println(book);
   }
 }