title: Java - Generate Random Integers efficiently
body: <p>I have a list of arrays (array size 5), each array contains integer numbers from 1 to 17 where each integer appears only once in each array. For example the first array in my list is (1, 4, 2, 15, 13), the second array in my list is (2, 5, 9, 13, 7) and so on.</p>
  
  <p>I want to generate a random array and this array should not be equal to one in my list. To be more precise, I do not want to have an array (2, 5, 9, 13, 7) as it is already in my list (the second in my list, see above). Is there any efficient way to solve this? Many thanks.</p>