This class is a container that holds coins. The class has methods for getting and setting the number of coins and the values of the coins, and for getting and setting the colors and head probability for all of the coins. The class also has methods for "tossing" the coins and for computing the number of heads. An individual coin can be obtained so that its properties can be set. This object is used, for example, in the binomial coin experiment
The text area below gives the code for this object, so that you can browse the constructors, methods, and properties of the object. Of course, this source file is part of devices.zip, which contains all source and resource files for the objects in the devices package.