Added example of generic observer

This commit is contained in:
Jon Ingi Sveinbjornsson
2014-11-11 23:15:13 +00:00
parent c231964227
commit cb40f1cdbd
7 changed files with 125 additions and 0 deletions
@@ -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);
}