docs: private int getValueAccordingBoundaries(final int value) {
  
  		// check boundaries
  		final int newValue;
  		if (value < 0) {
  			newValue = 0;
  		}
  		else if (value > getMaxValue()) {
  			newValue = getMaxValue();
  		}
  		else {
  			newValue = value;
  		}
  		return newValue;
  
  	}