net.sourceforge.basher.internal
Interface Randomizer

All Known Implementing Classes:
RandomRandomizer

public interface Randomizer

Version:
1.0
Author:
Johan Lindquist

Method Summary
 int getRandomInt(int range)
          Provides a random integer in the range 0 (inclusive) to range (exclusive).
 

Method Detail

getRandomInt

int getRandomInt(int range)
Provides a random integer in the range 0 (inclusive) to range (exclusive).

Parameters:
range - The top range of the integer to return (exclusive).
Returns:
An integer within the specified range.


Copyright © 2006-2010 Basher Team. All Rights Reserved.