I\'m trying to create an android application which will generate random series of values (integer numbers in this case) in a given range (but NOT equal betw
int low = ...;
int high = ...;
List choices = new LinkedList();
for (int i = low; i <= high; i++) {
choices.add(i);
}
Collections.shuffle(choices);
int[] choices = new int[] {
choices.get(0),
choices.get(1),
choices.get(2),
choices.get(3),
choices.get(4)
};