This commit is contained in:
Moritz 'Morty' Strübe 2015-10-15 09:54:06 +02:00
parent 6b29e4b30d
commit 6f86e0bd92

View file

@ -36,9 +36,9 @@ import java.util.Random;
* This ensures that the functions of the random number generator are * This ensures that the functions of the random number generator are
* only called by the the thread initializing a simulation or the * only called by the the thread initializing a simulation or the
* simulation thread itself. * simulation thread itself.
* Rationale: By allowing another thread to use the random number * Rationale: By allowing another thread to use the random number
* generator concurrency is intruduced, thus it can not be guaranteed * generator concurrency is introduced, thus it can not be guaranteed
* that simulations are reproduceable. * that simulations are reproducible.
* *
*/ */
public class SafeRandom extends Random { public class SafeRandom extends Random {