Constructor Random(long seed)
Member of: java.util.Random
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 rand = new Random(271828 * 31415); // for reproducibility!
2 this(runnables, new Random(1234));
3 __random = new Random(System.currentTimeMillis());
4 victimRNG = new Random(System.identityHashCode(this));
5 final long rand = (new Random(System.currentTimeMillis())).nextLong();
6 Random rand = new Random(1);
7 java.util.Random vRandom = new java.util.Random( System.currentTimeMillis() ) ;
8 Random r = new Random(System.currentTimeMillis());
9 random = new Random(System.currentTimeMillis());
10 Random rand = new Random(System.currentTimeMillis());
11 new Random ( RANDOM_SEED ),
12 Random gen = new Random(1251971);
13 Random r = new Random(count * 17 + 113);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.