Update README.md

This commit is contained in:
Petrutiu Mihai
2016-07-18 17:30:03 +03:00
committed by GitHub
parent 7f6b83edab
commit 376035e0b8

View File

@@ -285,7 +285,8 @@ Sequence diagram:
### e. Flavors ### e. Flavors
* Classical memento: Save each time the entire state * Classical memento: Save each time the entire state
* Iterative memento: Save the changes that occured from the previous state(delta), instead of saving the entire state again, (e.g. Git) * Iterative memento: Save the changes that occured from the previous state(delta), instead of saving the entire state again
* Compressed memento: You could store the objects compressed, generally you would use delta encoding (like git) to store the files. see more about this in comments in code
### f. Examples ### f. Examples
* Employee example1: Starting class: Employee.EmployeeExample * Employee example1: Starting class: Employee.EmployeeExample