The DB
and DBTable
classes remain the same, and we added an abstract class DBStorage
to the project. The DB
class inherits DBStorage
, which works as a concrete class, and we created a DBDecorator
inheriting the DBStorage
as a root class of decorators. DBDecorator
also have an instance field of DBStorage
, which stores the DB
, and DBDecorator
delegates its methods. ConsoleLoggingDBDecorator
and FileLoggingDBDecorator
works properly to record in console or file.
forked from lalxyy/DPSA-Lab-2
-
Notifications
You must be signed in to change notification settings - Fork 0
Extremezhazha/DPSA-Lab-2
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
DPSA Lab 2 Submission
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Java 100.0%