General note: all methods are described with comments other than Constructers, getters and replicated methods (in Article class). the main class includes code that outputs all the main requiered functionallities
General notes:
The project includes 7 Java Classes (Library, Article, Book, Customer, Validation, MetaValidation and Main) that solve the tasks given in task sheet 1.
- the source code can be found under: library/src/main/java/org/example/ , it follows the Maven Standart project layout.
- all methods functionalities are described with comments, apart from Constructers, getters and replicated methods.
- The main class includes code that directly outputs all the main requiered functionallities in the tasksheet
The rest of the Readme are References and other Difficulties and possible improvements (for presentation).
References:
- Java Documentation Oracle
...
...
@@ -9,7 +21,6 @@ References:
- YouTube (mainly Coding with John)
- Stack overflow.
First thoughts
- I need some kind of memory and that couldn’t only be provided with objects
o Arraylist
...
...
@@ -26,7 +37,8 @@ Most liked books: first I implemented a method that returns the most liked book
Difficulties: Repetition in writing same methods for articles and books and for read and likes
Is there more efficient implementation to avoid duplicated methods?