Class GKRandomSource

    • Constructor Detail

      • GKRandomSource

        public GKRandomSource()
      • GKRandomSource

        protected GKRandomSource​(NSObject.Handle h,
                                 long handle)
      • GKRandomSource

        public GKRandomSource​(NSCoder decoder)
    • Method Detail

      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • init

        protected long init​(NSCoder decoder)
      • nextInt

        public long nextInt()
        Specified by:
        nextInt in interface GKRandom
      • nextInt

        public long nextInt​(long upperBound)
        Specified by:
        nextInt in interface GKRandom
      • nextBool

        public boolean nextBool()
        Specified by:
        nextBool in interface GKRandom