We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0b4906 commit bf70142Copy full SHA for bf70142
1 file changed
src/libraryservice.java
@@ -0,0 +1,22 @@
1
+package com.javabooks;
2
+
3
+import java.util.List;
4
5
+public interface LibraryService {
6
7
+ void addBook(Book book);
8
9
+ void removeBook(String isbn);
10
11
+ List<Book> listBooks();
12
13
+ List<Book> searchByTitle(String title);
14
15
+ List<Book> searchByAuthor(String author);
16
17
+ Book findByIsbn(String isbn);
18
19
+ void borrowBook(String isbn);
20
21
+ void returnBook(String isbn);
22
+}
0 commit comments