docs: property, prototype, proxy diagrams

This commit is contained in:
Ilkka Seppälä committed 2025-04-09 21:34:01 +03:00
1 parent 3abaa83710
commit 23af67c755
6 files changed
+12

No files matched your search

+4
View File
@@ -31,6 +31,10 @@ In plain words
> Define and manage a dynamic set of properties for an object, allowing customization without altering its structure.
Sequence diagram
![Property sequence diagram](./etc/property-sequence-diagram.png)
## Programmatic Example of Property Pattern in Java
The Property design pattern, also known as Prototype inheritance, is a pattern that allows objects to be created from other objects, forming object hierarchies. This pattern is particularly useful when you want to create a new object that is a slight variation of an existing object.
Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB