public static int nextInt(int n){
  Random random=getRandom();
  int value=random.nextInt(n);
  if (!_isTest)   _freeRandomList.free(random);
  return value;
}

public static int nextInt ( int n ) { Random random = getRandom ( ) ; int value = random . nextInt ( n ) ; if ( ! _isTest ) _freeRandomList . free ( random ) ; return value ; }
returns the next random int .
