Module org.kink_lang.kink
Class RngVal<T extends Random>
java.lang.Object
org.kink_lang.kink.HostResultCore
org.kink_lang.kink.Val
org.kink_lang.kink.internal.mod.random.RngVal<T>
- Type Parameters:
T
- the type of RNG implementation.
- All Implemented Interfaces:
HostResult
- Direct Known Subclasses:
PrngVal
Random number generator val.
-
Field Summary
-
Method Summary
Methods inherited from class org.kink_lang.kink.Val
getVar, getVarSymHandleSet, hasVar, identity, makeHostResultCore, setVar
-
Method Details
-
of
Makes a random number generator val.- Parameters:
vm
- the vm.random
- the RNG.typeTag
- the type tag such as "csrng".- Returns:
- a random number generator val.
-