Class java.math.PsudeoRandomStream
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.math.PsudeoRandomStream

java.math.RandomStream
   |
   +----java.math.PsudeoRandomStream

public class PsudeoRandomStream
extends RandomStream
class that generates random bytes using s psudeo randon number generator.

Copyright (C) 1995, 1996 Systemics Ltd (http://www.systemics.com/) All rights reserved.


Variable Index

 o buf
 o len
 o prng
 o ptr

Constructor Index

 o PsudeoRandomStream(byte[])

Method Index

 o nextBuffer()
 o nextByte()
 o seed(byte[])

Variables

 o prng
  protected PRNG prng
 o buf
  protected byte buf[]
 o ptr
  protected int ptr
 o len
  protected int len

Constructors

 o PsudeoRandomStream
  public PsudeoRandomStream(byte seed0[])

Methods

 o seed
  protected void seed(byte seed0[])
Overrides:
seed in class RandomStream
 o nextBuffer
  protected void nextBuffer()
 o nextByte
  protected final synchronized byte nextByte()
Overrides:
nextByte in class RandomStream

All Packages  Class Hierarchy  This Package  Previous  Next  Index