public void set(int newValue) {
   _value = newValue;
   _listenerRegistry.notifyListeners(_value);
 }