public class RandomService extends Object
| Constructor and Description |
|---|
RandomService()
Uses a default shared random.
|
RandomService(Random random) |
public RandomService()
public RandomService(Random random)
random - If null is passed in, a default Random is assignedpublic int nextInt(int n)
public long nextLong()
public long nextLong(long n)
public double nextDouble()
public Boolean nextBoolean()
Copyright © 2016. All Rights Reserved.