Android Utililty Methods ArrayList Random

List of utility methods to do ArrayList Random

Description

The list of methods to do ArrayList Random are organized into topic(s).

Method

voidpermute(Random random, ArrayList array)
permute
for (int i = 0; i < array.size(); i++) {
    int j = i + random.nextInt(array.size() - i);
    Object tmp = array.get(i);
    array.set(i, array.get(j));
    array.set(j, tmp);
Stringget_a_random_testData(ArrayList mTestData)
gerandotest Data
return random(mTestData);