public int number(int min, int max) {
		if (min > max)
			throw new IllegalArgumentException();
		int value = rng.nextInt(max - min + 1);
		value += min;
		return value;
	}
public int number(int min, int max) {
		if (min > max)
			throw new IllegalArgumentException();
		int value = rng.nextInt(max - min + 1);
		value += min;
		return value;
	}
public int number ( int min , int max ) { if ( min > max ) throw new IllegalArgumentException ( ) ; int value = rng . nextInt ( max - min + 1 ) ; value += min ; return value ; }
Return an integer in the (inclusive) range [min, max].

@param min
@param max
@return
Return an integer in the ( inclusive ) range [ min max ] .