mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 16:58:47 +00:00
Comments for observer example.
This commit is contained in:
@@ -3,6 +3,12 @@ package com.iluwatar;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* Weather can be observed by implementing WeatherObserver
|
||||
* interface and registering as listener.
|
||||
*
|
||||
*/
|
||||
public class Weather {
|
||||
|
||||
private WeatherType currentWeather;
|
||||
|
||||
Reference in New Issue
Block a user