mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-12 22:14:41 +00:00
docs: diagrams for callback, circuit breaker, client session, collecting parameter, colletion pipeline, combinator, command, commander, component, composite entity, composite view, composite, context object, converter, crtp, currying
This commit is contained in:
1 parent
d5a46be3c5
commit
0509fabe8e
31 files changed
+60
-1
No files matched your search
@@ -32,6 +32,10 @@ In plain words
|
||||
|
||||
> The Converter Pattern simplifies mapping instances of one class to instances of another class, ensuring consistent and clean data transformation.
|
||||
|
||||
Sequence diagram
|
||||
|
||||

|
||||
|
||||
## Programmatic Example of Converter Pattern in Java
|
||||
|
||||
In applications, it's common for the database layer to have entities that need mapping to DTOs (Data Transfer Objects) for business logic. This mapping often involves many classes, necessitating a generic solution.
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 99 KiB |
Reference in new issue
Block a user