private List < SimpleItem > generateUnsortedList ( ) { ArrayList < SimpleItem > result = new ArrayList <> ( 26 ) ; for ( int i = 0 ; i < 26 ; i ++ ) { result . add ( makeItem ( i ) ) ; } Collections . shuffle ( result ) ; return result ; }
Generates a simple list consisting of the letters of the alphabet unordered on purpose .