https://kotlinlang.org logo
j

Joakim Fast

03/01/2018, 4:22 PM
Hmm, im adding the 2nd list values to the first list. Values are <Pair<Int,Int>. I clear the 2nd list as i added the values then i loop again. I cant have more than 1x pair from the 2nd list to the first for the whole duration of my loop, am i even able to optain it through this method? My inner loop controls the randomizing of the values until they meet a certain condition and the outer loop goes until the first list is full.