question: public short itemAt ( int pos ) { if ( pos < 0 || pos > state . length ) { throw new IndexOutOfBoundsException ( ) ; } for ( ; iter <= pos ; ++ iter ) { int r = random . nextInt ( state . length - iter ) + iter ; short tmp = state [ r ] ; state [ r ] = state [ iter ] ; state [ iter ] = tmp ; } return state [ pos ] ; }
target:  Returns permutation element at a given position Throws