mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-16 04:58:46 +00:00
Added example of generic observer
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package com.iluwatar.generic;
|
||||
|
||||
public interface Observer<S extends Observable<S, O, A>, O extends Observer<S, O, A>, A> {
|
||||
public void update(S subject, A argument);
|
||||
}
|
||||
Reference in New Issue
Block a user