public final void setMinNumber ( final int minNumber ) { Condition . INSTANCE . ensureSmaller ( minNumber , getMaxNumber ( ) , "The minimum number must be less than the maximum number" ) ; this . minNumber = minNumber ; setNumber ( Math . max ( getNumber ( ) , minNumber ) ) ; }
Sets the minimum number the preference allows to choose .