Add all 23 GoF design pattern implementations
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
package observer;
|
||||
|
||||
/** Observer interface — all subscribers implement this */
|
||||
public interface StockObserver {
|
||||
void onPriceChanged(String ticker, double oldPrice, double newPrice);
|
||||
}
|
||||
Reference in New Issue
Block a user