mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 04:59:24 +00:00
fbb12b53ba
I did the job and splitted up the readme, hopefully everything was splitted correctly...
606 B
606 B
layout, title, folder, categories, tags
| layout | title | folder | categories | tags |
|---|---|---|---|---|
| pattern | Double Dispatch | double-dispatch | pattern_cat | pattern_tag |
Intent: Double Dispatch pattern is a way to create maintainable dynamic behavior based on receiver and parameter types.
Applicability: Use the Double Dispatch pattern when
- the dynamic behavior is not defined only based on receiving object's type but also on the receiving method's parameter type.
Real world examples:
