public long randomLongRange(long min, long max) {

		if (max <= min)
			return min;

		long width = max - min;
		return (long) (rng.nextDouble() * width) + min;
	}
public long randomLongRange(long min, long max) {

		if (max <= min)
			return min;

		long width = max - min;
		return (long) (rng.nextDouble() * width) + min;
	}
public long randomLongRange ( long min , long max ) { if ( max <= min ) return min ; long width = max - min ; return ( long ) ( rng . nextDouble ( ) * width ) + min ; }
Return a long in the (inclusive) range [min, max].
Return a long in the ( inclusive ) range [ min max ] .