docs: updates to several patterns

This commit is contained in:
Ilkka Seppälä committed 2024-05-28 19:46:39 +03:00
1 parent 4652842c94
commit 584e949714
70 files changed
+347 -479

No files matched your search

+2
View File
@@ -40,7 +40,9 @@ In our programmatic example, we demonstrate the implementation of an event aggre
public interface EventObserver {
void onEvent(Event e);
}
```
```java
public abstract class EventEmitter {
private final Map<Event, List<EventObserver>> observerLists;