All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class is.logi.crypto.random.OldRandomSpinner

java.lang.Object
   |
   +----java.util.Random
           |
           +----is.logi.crypto.random.OldRandomSpinner

public class OldRandomSpinner
extends Random
This class uses the scheduler to generate random numbers. It counts the number of times a loop is repeated before a thread has slept for a specified number of milliseconds. The two lowest order bits of this number are then used.

The helper class which does the actual number generation is by Henry Strickland (strix@versant.com) and Greg Noel (greg@qualcomm.com). It is based on similar C code by Matt Blaze, Jack Lacy, and Don Mitchell.

Author:
Logi Ragnarsson (logir@hi.is)

Constructor Index

 o OldRandomSpinner()

Constructors

 o OldRandomSpinner
 public OldRandomSpinner()

All Packages  Class Hierarchy  This Package  Previous  Next  Index