Interface Prng

All Known Implementing Classes:
AddRedundancy.SimplePrng

public interface Prng
  • Method Summary

    Modifier and Type
    Method
    Description
    byte
    Returns the next random byte of the initialized Prng.
    void
    Resets the prng to the last specified seed.
  • Method Details

    • nextByte

      byte nextByte()

      Returns the next random byte of the initialized Prng.

      Returns:
      the requested byte
    • reset

      void reset()

      Resets the prng to the last specified seed.