Ticks & Random Movement

Funny enough, Googling for different Java classes by name gives different Java releases' Javadocs for the #1 slot. For example:

“java Math” => Java 6
“java Math class” => Java 1.4.2 (!)
“java Proxy” => 1.4.2
“java ArrayList” => 5
“java XmlReader” => 1.4.2
“java Cipher” => 1.4.2
“java ArrayList” => 5

It’s surprising how often 1.4.2’s documentation is the #1 result, with Java 6, or even 5, being the #2 suggestion. Especially considering Java 5’s been out for over 7 years now.

Yeh and this wont end any time soon since most people don’t care and just click on the first link.

Don’t know if you are looking for random numbers inside of a range or not, but this is a great bit on that.

-Nathan

For math.random() javadoc is indentic with 1.4.2 and 7. I checked this but copied wrong link.