Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

CDC 1.1.2

Uses of Class
java.util.Random

Packages that use Random
java.math Provides classes for performing arbitrary-precision integer arithmetic (BigInteger) and arbitrary-precision decimal arithmetic (BigDecimal). 
java.util Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). 
 

Uses of Random in java.math
 

Constructors in java.math with parameters of type Random
BigInteger(int numBits, Random rnd)
          Constructs a randomly generated BigInteger, uniformly distributed over the range 0 to (2numBits - 1), inclusive.
BigInteger(int bitLength, int certainty, Random rnd)
          Constructs a randomly generated positive BigInteger that is probably prime, with the specified bitLength.
 

Uses of Random in java.util
 

Methods in java.util with parameters of type Random
static void Collections.shuffle(List list, Random rnd)
          Randomly permute the specified list using the specified source of randomness.
 


CDC 1.1.2

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 218 specification.