Class SmartRandom

  • All Implemented Interfaces:
    Serializable

    public class SmartRandom
    extends Random
    A random that tracks if its been initialized properly, and throws an exception if it hasn't.
    See Also:
    Serialized Form
    • Method Detail

      • next

        protected int next​(int bits)
        Overrides:
        next in class Random