[android-developers] Re: java.util.Random caching?

2010-04-19 Thread Tim
On Apr 19, 10:49 pm, Ivan Greene ivant...@gmail.com wrote: code Random randomizer = new Random(System.currentTimeMillis()); int hw; hw = randomizer.nextInt(95-15+1)+15; /code Presumably you don't create a newly seeded Random for each new random number... right? -- You received this

[android-developers] Re: java.util.Random caching?

2010-04-19 Thread Ivan Greene
Presumably you don't create a newly seeded Random for each new random number... right? no I don't On Apr 19, 5:28 pm, Tim tdh...@gmail.com wrote: On Apr 19, 10:49 pm, Ivan Greene ivant...@gmail.com wrote: code Random randomizer = new Random(System.currentTimeMillis()); int hw; hw =

[android-developers] Re: java.util.Random caching?

2010-04-19 Thread Ivan Greene
I'm starting to think that this is the fault of the Rokon engine. It might be doing something weird. On Apr 19, 7:55 pm, Ivan Greene ivant...@gmail.com wrote: Presumably you don't create a newly seeded Random for each new random number... right? no I don't On Apr 19, 5:28 pm, Tim