Package org.robovm.apple.gameplaykit
Class GKLinearCongruentialRandomSource
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.gameplaykit.GKRandomSource
-
- org.robovm.apple.gameplaykit.GKLinearCongruentialRandomSource
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,GKRandom
,org.robovm.objc.ObjCProtocol
public class GKLinearCongruentialRandomSource extends GKRandomSource
- Since:
- Available in iOS 9.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GKLinearCongruentialRandomSource.GKLinearCongruentialRandomSourcePtr
-
Nested classes/interfaces inherited from class org.robovm.apple.gameplaykit.GKRandomSource
GKRandomSource.GKRandomSourcePtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description GKLinearCongruentialRandomSource()
GKLinearCongruentialRandomSource(long seed)
GKLinearCongruentialRandomSource(NSCoder decoder)
protected
GKLinearCongruentialRandomSource(NSObject.Handle h, long handle)
protected
GKLinearCongruentialRandomSource(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getSeed()
protected long
init(long seed)
void
setSeed(long v)
-
Methods inherited from class org.robovm.apple.gameplaykit.GKRandomSource
encode, getSharedRandom, init, nextBool, nextInt, nextInt, nextUniform, shuffleArray, supportsSecureCoding
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
GKLinearCongruentialRandomSource
public GKLinearCongruentialRandomSource()
-
GKLinearCongruentialRandomSource
protected GKLinearCongruentialRandomSource(NSObject.Handle h, long handle)
-
GKLinearCongruentialRandomSource
protected GKLinearCongruentialRandomSource(NSObject.SkipInit skipInit)
-
GKLinearCongruentialRandomSource
public GKLinearCongruentialRandomSource(long seed)
-
GKLinearCongruentialRandomSource
public GKLinearCongruentialRandomSource(NSCoder decoder)
-
-