mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-03 04:54:39 +00:00
docs: updates to several patterns
This commit is contained in:
1 parent
4652842c94
commit
584e949714
70 files changed
+347
-479
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user