@Override
    public void doNotify() {
    Iterator<WeatherObserver > it= weatherObservers.iterator () ;
    while(it.hasNext ()){
    WeatherObserver weatherObserver = it. next () ;
    weatherObserver.doUpdate(temperature);
    }
    }