question: protected Integer adjustIntegerValue ( Integer origValue , Integer minValue , Integer maxValue ) { Integer resultValue = origValue ; if ( resultValue . compareTo ( minValue ) < 0 ) { resultValue = minValue ; } if ( resultValue . compareTo ( maxValue ) > 0 ) { resultValue = maxValue ; } return resultValue ; }
target:  Adjusts an Integer value according to the specified range of values.