mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 10:58:42 +00:00
docs: page object and parameter object diagrams
This commit is contained in:
@@ -40,6 +40,14 @@ wiki.c2.com says
|
||||
|
||||
> Replace the LongParameterList with a ParameterObject; an object or structure with data members representing the arguments to be passed in.
|
||||
|
||||
Mind map
|
||||
|
||||

|
||||
|
||||
Flowchart
|
||||
|
||||

|
||||
|
||||
## Programmatic Example of Parameter Object Pattern in Java
|
||||
|
||||
The Parameter Object design pattern is a way to group multiple parameters into a single object. This simplifies method signatures and enhances code maintainability enabling Java developers to streamline complex method calls, focusing on cleaner and more maintainable Java code.
|
||||
|
||||
Reference in New Issue
Block a user