return a copy of the RandomSampler object
return a copy of the RandomSampler object
take a random sample
take a random sample
Whether to sample the next item or not.
Whether to sample the next item or not. Return how many times the next item will be sampled. Return 0 if it is not sampled.
Set random seed.
Set random seed.
:: DeveloperApi :: A sampler for sampling with replacement, based on values drawn from Poisson distribution.
item type