[2760] in java-interest

home help back first fref pref prev next nref lref last post

Re: Math.srandom()

daemon@ATHENA.MIT.EDU (Arthur van Hoff)
Thu Oct 12 19:56:57 1995

Date: Thu, 12 Oct 1995 14:32:30 -0700
From: Arthur.Vanhoff@Eng.Sun.COM (Arthur van Hoff)
To: suresh@thomtech.com
Cc: java-interest@java.Eng.Sun.COM


Hi Suresh,

> Is this an omission?  The Math class does not have the srandom
> method (to seed the random number generator) in pre-beta.

There is now a java.util.Random class that lets you do that.
It lets multiple threads each have their own random number
sequence.

Have fun,

	Arthur van Hoff
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post