List of usage examples for org.apache.commons.math3.random BitsStreamGenerator nextInt
public int nextInt()
From source file:cc.redberry.core.performance.StableSort.java
public static int[] nextArray(int length, BitsStreamGenerator bsg) { int[] a = new int[length]; for (int i = 0; i < length; ++i) a[i] = bsg.nextInt(); return a;// w ww. j av a 2s . c o m }