Java 7: ThreadLocalRandom generating the same random numbers

前端 未结 3 1234
眼角桃花
眼角桃花 2020-12-31 05:38

I\'m trying out Java 7\'s ThreadLocalRandom and see that it is generating exactly the same random numbers across multiple threads.

Here is my code, in which I creat

3条回答
提交回复
热议问题