Uses of Class
org.apache.commons.rng.simple.internal.SeedUtils.UnsignedByteProvider
Packages that use SeedUtils.UnsignedByteProvider
-
Uses of SeedUtils.UnsignedByteProvider in org.apache.commons.rng.simple.internal
Methods in org.apache.commons.rng.simple.internal with parameters of type SeedUtils.UnsignedByteProviderModifier and TypeMethodDescriptionprivate static int
SeedUtils.createUpperBitsHexPermutation
(SeedUtils.UnsignedByteProvider provider) Creates aint
containing a permutation of 8 hex digits chosen from 16.private static int
SeedUtils.nextUnsignedByteInRange
(SeedUtils.UnsignedByteProvider provider, int threshold, int n) Get the next unsigned byte in the range[0,n)
rejecting any over-represented sample value using the pre-computed modulus.