Use headings instead of bold text in index.md #238

This commit is contained in:
Jeroen Meulemeester
2016-01-03 21:14:30 +01:00
parent b6beffec2e
commit 3d642cdad7
66 changed files with 373 additions and 233 deletions

View File

@ -10,15 +10,17 @@ tags:
- Idiom
---
**Intent:** Double Dispatch pattern is a way to create maintainable dynamic
## Intent
Double Dispatch pattern is a way to create maintainable dynamic
behavior based on receiver and parameter types.
![alt text](./etc/double-dispatch.png "Double Dispatch")
**Applicability:** Use the Double Dispatch pattern when
## 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:**
## Real world examples
* [ObjectOutputStream](https://docs.oracle.com/javase/8/docs/api/java/io/ObjectOutputStream.html)