Interface GKRandom

All Superinterfaces:
NSObjectProtocol, ObjCProtocol
All Known Implementing Classes:
GKARC4RandomSource, GKGaussianDistribution, GKLinearCongruentialRandomSource, GKMersenneTwisterRandomSource, GKRandomDistribution, GKRandomSource, GKShuffledDistribution

public interface GKRandom
extends NSObjectProtocol
  • Method Summary

    Modifier and Type Method Description
    boolean nextBool()  
    long nextInt()  
    long nextInt​(long upperBound)  
    float nextUniform()  
  • Method Details

    • nextInt

      long nextInt()
    • nextInt

      long nextInt​(long upperBound)
    • nextUniform

      float nextUniform()
    • nextBool

      boolean nextBool()