Package com.spun.util

Class MockRandom

java.lang.Object
java.util.Random
com.spun.util.MockRandom
All Implemented Interfaces:
Serializable

public class MockRandom
extends Random
See Also:
Serialized Form
  • Constructor Details

    • MockRandom

      public MockRandom​(int[] returnValue)
  • Method Details

    • next

      protected int next​(int arg0)
      Overrides:
      next in class Random
    • nextInt

      public int nextInt()
      Overrides:
      nextInt in class Random
    • nextInt

      public int nextInt​(int arg0)
      Overrides:
      nextInt in class Random