question: public int nextInt ( int min , int max ) { if ( min >= max ) { throw new IllegalArgumentException ( String . format ( "bad range: [%d, %d)" , min , max ) ) ; } int range = max - min ; int ret = nextInt ( ) ; ret = Math . abs ( ret ) % range ; return ret + min ; }
target:  Returns the next random number in the sequence, bounded by the given bounds.