Repository created to store tasks which I am solving for classes.
Implementation of C(reate)R(etrive)U(update)D(elete) operations. Data is stored in MySQL database using JDBC. Project created as MVP – Minumum Viable Product, as starting task for laboratories.
Program combines all types of polymorphisms:
- Subtyping / inclusion polymorphism
- Ad hoc polymorphism
- Coercion
- Overloading
- Parametric polymorphism
The task was to use reflection mechanism to create instances of generic objects and array of ganeric objects. It was also necessary to implement colne method for any generic type.
The task was to test optimization techniques from C# in Java:
- using arrays instead of collections
- using variables with small range instead of long range values
Task is implemented witch use of two designs patterns:
- Prototype
- Decorator
Task was to use java8 stream() with:
- filter()
- map()
- max/min
- collect()
Simple transcription form short forms to SQL taska, as described in BNF. There were used Exception Handling as saving logs, alternative functions, lists of choice.
Using Visitor pattern on AST tree to show data like XLM file.
Analysing metrics to find code smells, improve code and check metrics changes.
Garage traffic implementation using threads for vehicles.